.internal-products {
  --internal-product-ink: #2f3430;
  --internal-product-muted: #5f6762;
  --internal-product-border: #e1ded4;
  --internal-product-green: #3f6245;
  --internal-product-green-soft: #f1f6f0;
  --internal-product-paper: #fffdf8;
  background: var(--internal-product-paper);
  border: 1px solid var(--internal-product-border);
  border-radius: 8px;
  margin: 1.25rem 0;
  padding: 1rem;
}

.internal-products__heading {
  margin-bottom: 0.85rem;
}

.internal-products__heading p {
  color: var(--internal-product-green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.internal-products__heading h2 {
  color: var(--internal-product-ink);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.internal-products__heading span,
.internal-products__disclosure {
  color: var(--internal-product-muted);
  display: block;
  font-size: 0.86rem;
  line-height: 1.45;
}

.internal-products__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.internal-product-card {
  background: #fff;
  border: 1px solid var(--internal-product-border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  overflow: hidden;
}

.internal-product-card__media {
  align-items: center;
  background: #f8f6ef;
  display: flex;
  justify-content: center;
  min-height: 132px;
  padding: 0.65rem;
  text-decoration: none;
}

.internal-product-card__media img {
  height: 100%;
  max-height: 136px;
  object-fit: contain;
  width: 100%;
}

.internal-product-card__media span {
  color: var(--internal-product-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.internal-product-card__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.8rem;
}

.internal-product-card__meta {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.internal-product-card__meta span {
  background: var(--internal-product-green-soft);
  border-radius: 999px;
  color: var(--internal-product-green);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.24rem 0.48rem;
}

.internal-product-card__meta small {
  color: var(--internal-product-muted);
  font-size: 0.7rem;
  font-weight: 800;
  text-align: right;
}

.internal-product-card h3 {
  color: var(--internal-product-ink);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.internal-product-card p {
  color: var(--internal-product-muted);
  flex: 1;
  font-size: 0.84rem;
  line-height: 1.45;
  margin-bottom: 0.6rem;
}

.internal-product-card__link {
  align-items: center;
  background: var(--internal-product-green);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 800;
  justify-content: center;
  min-height: 36px;
  padding: 0.45rem 0.65rem;
  text-decoration: none;
}

.internal-product-card__link:hover {
  background: #304f36;
  color: #fff;
}

.internal-products__disclosure {
  margin: 0.75rem 0 0;
}

.internal-products--sidebar {
  margin-top: 0;
  width: 100%;
}

.internal-products--sidebar .internal-products__grid {
  grid-template-columns: 1fr;
}

.internal-products--sidebar .internal-product-card {
  grid-template-columns: 86px minmax(0, 1fr);
}

.internal-products--sidebar .internal-product-card__media {
  min-height: 124px;
}

.internal-products--sidebar .internal-products__heading h2 {
  font-size: 1.05rem;
}

.internal-products--compact .internal-products__grid {
  grid-template-columns: 1fr;
}

@media (max-width: 767px) {
  .internal-products {
    margin: 1rem 0;
    padding: 0.85rem;
  }

  .internal-products__grid {
    grid-template-columns: 1fr;
  }

  .internal-product-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .internal-product-card__media {
    min-height: 126px;
  }

  .internal-product-card__body {
    padding: 0.72rem;
  }

  .internal-product-card p {
    display: none;
  }
}
