#main-content.ihgy-seeker-page {
  color: var(--ihgy-brown);
  background: var(--ihgy-cream) !important;
}

.ihgy-seeker-shell {
  width: min(calc(100% - 36px), 1700px);
  margin: 0 auto;
}

.ihgy-seeker-hero {
  padding: clamp(54px, 6vw, 88px) 0 16px;
  text-align: center;
}

.ihgy-seeker-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 14px;
  color: #b57434;
}

.ihgy-seeker-ornament i {
  width: 42px;
  height: 1px;
  background: currentColor;
}

.ihgy-seeker-ornament span {
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1;
}

.ihgy-seeker-hero h1 {
  margin: 0 0 14px;
  color: #30190d;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(68px, 7.2vw, 108px);
  font-weight: 500;
  line-height: 1;
}

.ihgy-seeker-hero p {
  margin: 0;
  color: #34302d;
  font-family: "Raleway", Arial, sans-serif;
  font-size: clamp(20px, 1.75vw, 25px);
  line-height: 1.7;
}

.ihgy-seeker-library {
  padding: 6px 0 clamp(58px, 6vw, 88px);
}

.ihgy-seeker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 28px;
}

.ihgy-seeker-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 49%) minmax(0, 51%);
  min-height: 300px;
  aspect-ratio: auto;
  overflow: hidden !important;
  border: 1px solid rgba(80, 48, 28, .1) !important;
  border-radius: 20px !important;
  background: #f8f5f0 !important;
  box-shadow: 0 16px 42px rgba(63, 42, 29, .13) !important;
  transition: transform .25s ease, box-shadow .25s ease;
}

.ihgy-seeker-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(63, 42, 29, .2) !important;
}

.ihgy-seeker-card figure {
  position: relative;
  min-height: 0;
  height: auto;
  align-self: stretch;
  margin: 0;
  overflow: visible;
  border-radius: 20px;
  background: transparent;
}

.ihgy-seeker-card img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  transition: transform .5s ease;
}

.ihgy-seeker-image-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.ihgy-seeker-card:hover img {
  transform: scale(1.035);
}

.ihgy-seeker-card-badge {
  position: absolute;
  right: -26px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(245, 241, 234, .9);
  border-radius: 50%;
  color: var(--ihgy-cream);
  background: #5a341f;
  box-shadow: 0 7px 18px rgba(49, 27, 14, .22);
  pointer-events: none;
}

.ihgy-seeker-card-badge svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.ihgy-seeker-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 0;
  padding: 30px 34px;
  border-radius: 0 20px 20px 0;
}

.ihgy-seeker-card-content > p {
  order: 2;
  margin: 0 0 12px;
  color: #a16639;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.ihgy-seeker-card h3 {
  order: 1;
  margin: 0 0 7px;
  color: #382115;
  font-family: "Cormorant Garamond", Georgia, serif;
  max-width: 100%;
  font-size: clamp(31px, 2vw, 38px);
  font-weight: 600;
  line-height: 1.08;
  text-wrap: balance;
}

.ihgy-seeker-card-copy {
  order: 3;
  margin-bottom: 18px;
  color: #514b46;
  font-size: 16px;
  line-height: 1.55;
}

.ihgy-seeker-card-copy p {
  margin: 0;
}

.ihgy-seeker-card-content > a {
  order: 4;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: auto;
  min-width: 158px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 9px;
  color: #fff !important;
  background: #1358ad;
  box-shadow: 0 7px 18px rgba(18, 67, 122, .19);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

.ihgy-seeker-card-content > a:hover,
.ihgy-seeker-card-content > a:focus-visible {
  background: #0b447f;
  transform: translateY(-2px);
}

.ihgy-seeker-card-content > a span {
  font-size: 18px;
  font-weight: 400;
  line-height: .7;
}

.ihgy-seeker-note {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 18px;
  min-height: 124px;
  margin-top: 38px;
  padding: 30px 46px;
  border: 1px solid rgba(80, 48, 28, .1);
  border-radius: 19px;
  background: rgba(248, 245, 240, .86);
  box-shadow: 0 10px 28px rgba(54, 37, 27, .09);
  color: #443a34;
}

.ihgy-seeker-note-heart,
.ihgy-seeker-note-dove {
  color: #a77b45;
  font-family: Georgia, serif;
  font-size: 48px;
  line-height: 1;
  text-align: center;
}

.ihgy-seeker-note-dove {
  color: #d2aa7b;
  font-size: 38px;
}

.ihgy-seeker-note strong {
  display: block;
  margin-bottom: 5px;
  color: #33261e;
  font-size: 19px;
}

.ihgy-seeker-note p {
  margin: 0;
  color: #68615c;
  font-size: 17px;
  line-height: 1.65;
}

.ihgy-seeker-note a {
  color: #1358ad !important;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .ihgy-seeker-card {
    grid-template-columns: minmax(0, 48%) minmax(0, 52%);
    min-height: 300px;
    aspect-ratio: auto;
  }

  .ihgy-seeker-card figure {
    min-height: 300px;
  }

  .ihgy-seeker-card-content {
    padding: 30px;
  }

  .ihgy-seeker-card-content > a {
    min-width: 0;
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 860px) {
  .ihgy-seeker-grid {
    grid-template-columns: 1fr;
  }

  .ihgy-seeker-card {
    grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  }
}

@media (max-width: 600px) {
  .ihgy-seeker-shell {
    width: min(calc(100% - 28px), 1420px);
  }

  .ihgy-seeker-hero {
    padding-top: 34px;
  }

  .ihgy-seeker-hero h1 {
    font-size: clamp(24px, 8.5vw, 51px);
    overflow-wrap: anywhere;
  }

  .ihgy-seeker-hero p br {
    display: inline;
  }

  .ihgy-seeker-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ihgy-seeker-card figure {
    min-height: 215px;
    height: clamp(215px, 55vw, 250px);
    max-height: 250px;
    border-radius: 20px 20px 0 0;
  }

  .ihgy-seeker-card img {
    border-radius: 20px;
  }

  .ihgy-seeker-card-badge {
    right: 20px;
    bottom: -26px;
  }

  .ihgy-seeker-card-content {
    min-height: 245px;
    border-radius: 0 0 20px 20px;
  }

  .ihgy-seeker-note {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 20px;
  }

  .ihgy-seeker-note-dove {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ihgy-seeker-card,
  .ihgy-seeker-card img,
  .ihgy-seeker-card-content > a {
    transition: none;
  }
}

/* Keep the complete witness photograph and church-age diagram visible. */
.ihgy-seeker-card:nth-child(3) .ihgy-seeker-image-frame,
.ihgy-seeker-card:nth-child(4) .ihgy-seeker-image-frame {
  background: #f5f1ea;
}
.ihgy-seeker-card:nth-child(3) img,
.ihgy-seeker-card:nth-child(4) img {
  object-fit: contain !important;
  object-position: center;
  transform: none !important;
  background-color: #f5f1ea !important;
}
