.ih-guides {
  --ih-guides-navy: #2c3661;
  --ih-guides-orange: #e36c2d;
  --ih-guides-cream: #f7f3ee;
  padding: 56px 0 64px;
  background: #fff;
  color: var(--ih-guides-navy);
  font-family: "Josefin Sans", "Segoe UI", sans-serif;
}

.ih-guides .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.ih-guides-eyebrow {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ih-guides-orange);
}

.ih-guides-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.ih-guides-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ih-guides-navy);
  flex: 1 1 240px;
}

.ih-guides-all {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 700;
  color: var(--ih-guides-orange);
  text-decoration: none;
  white-space: nowrap;
}

.ih-guides-all:hover {
  color: #c4551f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ih-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ih-guides-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
}

.ih-guides-grid--1 {
  grid-template-columns: minmax(0, 1fr);
  max-width: 420px;
}

.ih-guides-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ih-guides-navy);
  box-shadow: 0 4px 18px rgba(44, 54, 97, .08);
  transition: box-shadow .15s, transform .15s;
}

.ih-guides-card:hover {
  color: var(--ih-guides-navy);
  box-shadow: 0 12px 30px rgba(44, 54, 97, .16);
  transform: translateY(-2px);
}

.ih-guides-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #dfe3ec;
}

.ih-guides-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px 20px;
}

.ih-guides-body b {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 960px) {
  .ih-guides-grid,
  .ih-guides-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
}

@media (max-width: 600px) {
  .ih-guides {
    padding: 40px 0 48px;
  }
  .ih-guides-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ih-guides-head {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ih-guides-card {
    transition: none;
  }
  .ih-guides-card:hover {
    transform: none;
  }
}
