.photo-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #202026;
}

.photo-section > .container {
  position: relative;
}

.photo-backdrop {
  position: absolute;
  z-index: -1;
  inset: 0;
  margin: 0;
}

.photo-backdrop img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 47%;
}

.photo-backdrop::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #19191f 0%, #19191ff2 30%, #19191fdb 47%, #19191f5c 72%, #19191f12 100%);
}

.photo-backdrop figcaption {
  position: absolute;
  z-index: 1;
  right: clamp(16px, 4vw, 56px);
  bottom: 16px;
  padding: 4px 8px;
  background: #19191fdb;
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
}

.hero.photo-section .hero-grid {
  display: flex;
  align-items: center;
  min-height: clamp(320px, 32vw, 465px);
}

.photo-section .hero-copy,
.photo-section-copy,
.page-hero.photo-section .page-intro {
  max-width: 34rem;
}

.photo-section-copy p {
  margin-bottom: 24px;
}

.photo-section.page-hero :is(h1, .page-intro, .breadcrumbs, .breadcrumbs a) {
  color: #fff;
}

.photo-section.page-hero .eyebrow {
  color: var(--accent-on-dark);
}

@media (max-width: 800px) {
  .photo-section:is(.hero, .section, .page-hero) {
    padding-top: clamp(205px, 55vw, 355px);
    padding-bottom: 42px;
  }

  .hero.photo-section .hero-grid {
    display: block;
    min-height: 0;
  }

  .photo-backdrop img {
    height: clamp(315px, 75vw, 470px);
    object-position: center 38%;
  }

  .photo-backdrop::after {
    background: linear-gradient(180deg, #19191f12, #19191f46 105px, #19191fd9 195px, #202026 clamp(300px, 66vw, 440px));
  }

  .photo-backdrop figcaption {
    top: 12px;
    bottom: auto;
  }
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.practice-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 3vw, 36px);
  background: var(--paper, #fff);
}

.practice-grid h3 {
  margin: 12px 0;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.2;
}

.practice-grid article > p:not(.section-kicker) {
  margin: 0 0 22px;
}

.practice-grid article > a {
  margin-top: auto;
}

@media (max-width: 800px) {
  .practice-grid {
    grid-template-columns: 1fr;
  }
}
