.table-study {
  --studio-red: #b52113;
  width: 100%;
  margin: 0 auto 3rem;
  color: #191817;
  text-align: left;
  background: #f8f6f1;
  overflow-wrap: anywhere;
}

.table-study *,
.table-study *::before,
.table-study *::after {
  box-sizing: border-box;
}

.table-study__opening {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
  padding: clamp(1.4rem, 3.4vw, 3.6rem);
  color: #1b1918;
  background: #f8f6f1;
  border-top: 6px solid #bc2717;
}

.table-study #study-title {
  max-width: 17ch;
  margin: 0 0 1rem;
  color: #161514;
  font: 800 clamp(2.3rem, 4.8vw, 5.15rem)/.99 Arial, sans-serif;
  letter-spacing: -.065em;
  text-transform: none;
}

.table-study__intro {
  max-width: 68ch;
  color: #3f3a36;
  font: 400 1rem/1.53 Arial, sans-serif;
}

.table-study__intro p {
  margin: 0 0 .5rem;
}

.table-study .table-study__enter {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  justify-self: start;
  min-height: 44px;
  padding: .7rem 1rem;
  color: #fff;
  background: #ae2417;
  font: 700 1rem/1.3 Arial, sans-serif;
  text-decoration: none;
}

.table-study .table-study__enter:hover {
  background: #86170f;
}

.table-study__panorama {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #3e1111;
}

.table-study__panorama img {
  display: block;
  width: 100%;
  height: clamp(210px, 36vw, 530px);
  object-fit: cover;
  object-position: 50% 50%;
}

.table-study__panorama figcaption {
  position: absolute;
  bottom: .65rem;
  left: .8rem;
  padding: .34rem .65rem;
  color: white;
  background: #201a19;
  font: 500 .8rem/1.3 Arial, sans-serif;
}

.table-study__panorama figcaption span {
  margin: 0 .25rem;
  color: #ff8b79;
}

.table-study__prints {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: clamp(.5rem, 1.35vw, 1.35rem);
  padding: clamp(.65rem, 1.35vw, 1.35rem) 0 0;
  background: #f8f6f1;
}

.table-study__prints a {
  display: block;
  min-width: 0;
  color: #211a16;
  text-decoration: none;
  border-bottom: 1px solid #ad9f96;
}

.table-study__prints a img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2.1;
  object-fit: cover;
}

.table-study__prints a > span {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .4rem;
  padding: .78rem .55rem;
  font: 700 clamp(.9rem, 1.5vw, 1.22rem)/1.25 Arial, sans-serif;
}

.table-study__prints i {
  color: var(--studio-red);
  font: inherit;
}

.table-study__prints a:hover {
  color: #a32214;
  border-color: currentColor;
}

.table-study a:focus-visible {
  outline: 3px solid #d23228;
  outline-offset: 2px;
}

@media (max-width: 630px) {
  .table-study__opening {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
  .table-study__prints a img {
    aspect-ratio: 1.18;
  }
  .table-study__prints a > span {
    display: block;
    padding: .6rem .15rem;
  }
  .table-study__prints i {
    margin-left: .2rem;
  }
}
