:root {
  --rjc-gd-blue: #061f5c;
  --rjc-gd-blue-deep: #031643;
  --rjc-gd-red: #a3313d;
  --rjc-gd-gold: #c7a86b;
  --rjc-gd-ink: #15213a;
  --rjc-gd-paper: #f4f1ea;
  --rjc-gd-line: rgba(21, 33, 58, .14);
}

.rjc-gd-page,
.rjc-gd-page * {
  box-sizing: border-box;
}

.rjc-gd-page {
  color: var(--rjc-gd-ink);
}

.rjc-gd-shell {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.rjc-gd-back {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--rjc-gd-blue) !important;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.rjc-gd-hero {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(280px, 410px) minmax(0, 1fr);
  min-height: 450px;
  color: #fff;
  background: var(--rjc-gd-blue);
}

.rjc-gd-hero::after {
  position: absolute;
  top: -180px;
  right: -145px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 68px rgba(255, 255, 255, .025);
  content: "";
}

.rjc-gd-hero.is-album {
  display: block;
  min-height: 0;
}

.rjc-gd-portrait {
  position: relative;
  z-index: 1;
  min-height: 450px;
  margin: 0;
  background: #d8dbe3;
}

.rjc-gd-portrait::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 70%, rgba(6, 31, 92, .38));
  content: "";
}

.rjc-gd-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
  object-position: center;
  filter: saturate(.82) contrast(1.03);
}

.rjc-gd-hero__copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 48px 55px;
}

.rjc-gd-hero.is-album .rjc-gd-hero__copy {
  max-width: 950px;
  padding: 58px;
}

.rjc-gd-hero__copy > span,
.rjc-gd-collection__head span {
  display: block;
  color: var(--rjc-gd-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.rjc-gd-hero h1 {
  margin: 8px 0 10px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6.2vw, 80px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.05em;
}

.rjc-gd-role {
  margin: 0 0 18px !important;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 850;
}

.rjc-gd-hero__copy > p:not(.rjc-gd-role) {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 16px;
  line-height: 1.7;
}

.rjc-gd-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.rjc-gd-stats > div {
  display: grid;
  gap: 3px;
  min-width: 138px;
  padding: 18px 22px 0 0;
}

.rjc-gd-stats strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

.rjc-gd-stats span {
  color: rgba(255, 255, 255, .62);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.rjc-gd-filters {
  position: sticky;
  z-index: 20;
  top: 30px;
  display: flex;
  overflow-x: auto;
  align-items: center;
  gap: 7px;
  margin: 20px 0 0;
  padding: 13px 15px;
  border: 1px solid var(--rjc-gd-line);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 13px 35px rgba(6, 31, 92, .08);
  backdrop-filter: blur(12px);
}

.rjc-gd-filters > span {
  margin-right: 7px;
  color: #6b7280;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rjc-gd-filters button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(6, 31, 92, .15);
  border-radius: 0;
  color: var(--rjc-gd-blue);
  background: #fff;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}

.rjc-gd-filters button b {
  display: inline-grid;
  min-width: 21px;
  height: 21px;
  margin-left: 7px;
  place-items: center;
  border-radius: 50%;
  color: inherit;
  background: rgba(6, 31, 92, .08);
  font-size: 9px;
}

.rjc-gd-filters button.is-active {
  color: #fff;
  border-color: var(--rjc-gd-blue);
  background: var(--rjc-gd-blue);
}

.rjc-gd-filters button.is-active b {
  background: rgba(255, 255, 255, .18);
}

.rjc-gd-result {
  margin: 30px 0 0;
  color: #697184;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rjc-gd-result strong {
  color: var(--rjc-gd-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 400;
}

.rjc-gd-index-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) minmax(160px, 1fr) minmax(160px, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--rjc-gd-line);
  background: #f4f6f8;
}

.rjc-gd-index-filters label {
  display: block;
  margin: 0 0 6px;
  color: var(--rjc-gd-blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.rjc-gd-index-filters input,
.rjc-gd-index-filters select {
  width: 100%;
  min-height: 45px;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid rgba(6, 31, 92, .22);
  border-radius: 0;
  color: var(--rjc-gd-blue);
  background: #fff;
  font-size: 12px;
  font-weight: 750;
}

.rjc-gd-index-actions {
  display: flex;
  gap: 6px;
}

.rjc-gd-index-filters.is-auto .rjc-gd-index-actions button {
  display: none;
}

.rjc-gd-index-actions button,
.rjc-gd-index-actions a {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  padding: 9px 13px;
  border: 1px solid var(--rjc-gd-blue);
  color: #fff;
  background: var(--rjc-gd-blue);
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
}

.rjc-gd-index-actions a {
  color: var(--rjc-gd-blue);
  background: transparent;
}

.rjc-gd-collection {
  margin-top: 30px;
}

.rjc-gd-collection[hidden] {
  display: none;
}

.rjc-gd-collection + .rjc-gd-collection {
  margin-top: 68px;
  padding-top: 50px;
  border-top: 1px solid var(--rjc-gd-line);
}

.rjc-gd-collection__head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 20px;
}

.rjc-gd-collection__head h2 {
  margin: 5px 0 0;
  color: var(--rjc-gd-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 49px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}

.rjc-gd-collection__head p {
  margin: 0;
  color: #697184;
  font-size: 12px;
  line-height: 1.45;
  text-align: right;
}

.rjc-gd-collection__head p b {
  display: block;
  color: var(--rjc-gd-blue);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rjc-gd-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rjc-gd-photo {
  overflow: hidden;
  margin: 0;
  background: #f4f6f8;
}

.rjc-gd-photo button {
  aspect-ratio: 4 / 3;
}

.rjc-gd-photo.is-portrait button {
  aspect-ratio: 3 / 4;
}

.rjc-gd-photo.is-featured {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.rjc-gd-photo button {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  cursor: zoom-in;
}

.rjc-gd-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}

.rjc-gd-photo__shade {
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(transparent, rgba(2, 13, 41, .86));
  opacity: .77;
  transition: opacity .3s ease;
}

.rjc-gd-photo figcaption {
  display: grid;
  gap: 5px;
  min-height: 112px;
  padding: 13px 15px 15px;
  text-align: left;
}

.rjc-gd-photo figcaption small {
  color: var(--rjc-gd-red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.rjc-gd-photo figcaption strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--rjc-gd-blue);
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rjc-gd-photo figcaption em {
  display: -webkit-box;
  overflow: hidden;
  color: #667084;
  font-size: 11px;
  font-style: normal;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rjc-gd-photo button > i {
  position: absolute;
  right: 11px;
  bottom: 11px;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  font-style: normal;
}

.rjc-gd-photo button:hover img,
.rjc-gd-photo button:focus-visible img {
  filter: contrast(1.05);
  transform: scale(1.035);
}

.rjc-gd-photo button:hover .rjc-gd-photo__shade,
.rjc-gd-photo button:focus-visible .rjc-gd-photo__shade {
  opacity: 1;
}

.rjc-gd-photo button:focus-visible {
  outline: 4px solid var(--rjc-gd-gold);
  outline-offset: -4px;
}

.rjc-gd-credit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 42px;
  padding: 20px 23px;
  border-left: 5px solid var(--rjc-gd-red);
  background: var(--rjc-gd-paper);
}

.rjc-gd-empty {
  margin: 28px 0 0;
  padding: 18px;
  color: #667084;
  background: #f4f6f8;
}

.rjc-gd-pagination {
  margin-top: 34px;
}

.rjc-gd-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rjc-gd-pagination a,
.rjc-gd-pagination .current {
  display: grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(6, 31, 92, .22);
  color: var(--rjc-gd-blue);
  background: #fff;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.rjc-gd-pagination .current,
.rjc-gd-pagination a:hover,
.rjc-gd-pagination a:focus-visible {
  color: #fff;
  border-color: var(--rjc-gd-blue);
  background: var(--rjc-gd-blue);
}

.rjc-gd-credit > span {
  color: var(--rjc-gd-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 33px;
}

.rjc-gd-credit p {
  margin: 0;
  color: #545d6f;
  font-size: 12px;
  line-height: 1.55;
}

.rjc-gd-lightbox {
  position: fixed;
  z-index: 999999;
  inset: 0;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  place-items: center;
  padding: 28px;
  color: #fff;
  background: rgba(1, 8, 27, .96);
  opacity: 1;
  transition: opacity .2s ease;
}

.rjc-gd-lightbox[aria-hidden="true"] {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.rjc-gd-lightbox figure {
  display: grid;
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 56px);
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
}

.rjc-gd-lightbox figure > div {
  display: grid;
  min-height: 0;
  place-items: center;
}

.rjc-gd-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 115px);
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .45);
}

.rjc-gd-lightbox figcaption {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 12px;
  color: rgba(255, 255, 255, .76);
  font-size: 12px;
}

.rjc-gd-lightbox figcaption b {
  color: var(--rjc-gd-gold);
  white-space: nowrap;
}

.rjc-gd-lightbox button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  font-size: 30px;
  cursor: pointer;
}

.rjc-gd-lightbox button:hover,
.rjc-gd-lightbox button:focus-visible {
  color: var(--rjc-gd-blue);
  background: #fff;
}

.rjc-gd-lightbox__close {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 22px;
}

.rjc-gd-no-scroll {
  overflow: hidden;
}

@media (max-width: 980px) {
  .rjc-gd-index-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rjc-gd-hero {
    grid-template-columns: 310px minmax(0, 1fr);
  }

  .rjc-gd-hero__copy {
    padding: 38px;
  }

  .rjc-gd-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .rjc-gd-shell {
    width: min(100% - 28px, 680px);
    padding-top: 25px;
  }

  .rjc-gd-hero {
    grid-template-columns: 1fr;
  }

  .rjc-gd-portrait,
  .rjc-gd-portrait img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .rjc-gd-portrait::after {
    background: linear-gradient(0deg, rgba(6, 31, 92, .7), transparent 35%);
  }

  .rjc-gd-hero__copy,
  .rjc-gd-hero.is-album .rjc-gd-hero__copy {
    padding: 33px 26px 38px;
  }

  .rjc-gd-hero h1 {
    font-size: 48px;
  }

  .rjc-gd-filters {
    top: 10px;
  }

  .rjc-gd-index-filters {
    grid-template-columns: 1fr;
  }

  .rjc-gd-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .rjc-gd-collection__head {
    display: block;
  }

  .rjc-gd-collection__head p {
    margin-top: 10px;
    text-align: left;
  }

  .rjc-gd-lightbox {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    padding: 15px 5px;
  }

  .rjc-gd-lightbox button {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .rjc-gd-lightbox__close {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 460px) {
  .rjc-gd-hero h1 {
    font-size: 42px;
  }

  .rjc-gd-hero__copy > p:not(.rjc-gd-role) {
    font-size: 14px;
  }

  .rjc-gd-stats > div {
    min-width: 50%;
  }

  .rjc-gd-filters > span {
    display: none;
  }

  .rjc-gd-photo figcaption strong {
    font-size: 12px;
  }

  .rjc-gd-photo figcaption {
    right: 9px;
    bottom: 9px;
    left: 9px;
  }

  .rjc-gd-lightbox figcaption {
    display: grid;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rjc-gd-photo img,
  .rjc-gd-lightbox {
    transition: none;
  }
}
