/* Base layout for the For patients / For GPs cards (wn-offers-cards JS).
   Colours, glow and button fills come from hb-plain. */
#wn-visit-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100% - 2 * clamp(20px, 5vw, 70px), 1300px);
  margin-inline: auto;
}
#wn-visit-offers article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid transparent;
  color: #13261c;
}
#wn-visit-offers article + article { color: #eaf6ec; }
#wn-visit-offers .audience {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.2;
}
#wn-visit-offers h2 {
  margin: 20px 0 12px;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.08;
  color: inherit;
}
#wn-visit-offers p {
  margin: 0;
  max-width: 52ch;
  font-size: 1.02rem;
  line-height: 1.6;
  opacity: 0.86;
}
#wn-visit-offers .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: auto;
  padding-top: 26px;
}
#wn-visit-offers .actions a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#wn-visit-offers .actions a:first-child { text-decoration: none; display: inline-block; }
#wn-visit-offers article + article .actions a:first-child { background: #d8fa8d; color: #13261c; }
#wn-visit-offers .actions a:focus-visible { outline: 3px solid #d8fa8d; outline-offset: 3px; }
@media (width <= 860px) {
  #wn-visit-offers { grid-template-columns: 1fr; }
}

/* Tighter gap between the cards and "Everything that matters to your health". */
html body #wn-visit-offers { margin-bottom: clamp(16px, 2vw, 24px) !important; }
html body #wn-visit-offers + #hb-features { padding-top: clamp(32px, 4vw, 56px) !important; }
html body #wn-visit-offers + #hb-features .hb-section-intro h2 { margin-top: 0 !important; }
