/* =========================
   CONTENT RELATIONS GRID
   ========================= */

.contentRelations {
  gap: var(--gap-width);
}

/* card */
.contentRelations .item {
  position: relative;
  box-sizing: border-box;

  padding: 1.5rem;
  flex-basis: calc((100% / var(--num-cols)) - (var(--gap-width) * (var(--num-cols) - 1) / var(--num-cols)));
  min-width: calc((100% / var(--num-cols)) - (var(--gap-width) * (var(--num-cols) - 1) / var(--num-cols)));

  border-radius: 0;
  border: 1px solid rgba(var(--logo-color-2-rgb), 0.08);

  background-color: #ffffff;

  /* subtle technical grid */
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2.5rem,
      rgba(var(--logo-color-2-rgb), 0.035) 2.6rem
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2.5rem,
      rgba(var(--logo-color-2-rgb), 0.025) 2.6rem
    );

  box-shadow: 0 0.5rem 1.5rem rgba(var(--shadow-color-rgb), 0.08);

  transition: transform 0.2s ease, box-shadow 0.2s ease;

  overflow: hidden;
}

/* green accent line */
.contentRelations .item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 0.25rem;
  width: 3rem;
  background: var(--logo-color-1);
}

/* hover */
.contentRelations .item:hover {
  transform: translateY(-0.3rem);
  box-shadow: 0 0.8rem 2rem rgba(var(--shadow-color-rgb), 0.08);
}

/* =========================
   IMAGE
   ========================= */

.contentRelations .item .image {
  margin-bottom: 1rem;
}

.contentRelations .item .image img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   TEXT BLOCK
   ========================= */

.contentRelations .item .textblock {
  color: var(--font-color-dark);
}

/* title */
.contentRelations .item .titel {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  color: var(--font-color-dark);
  line-height: 120%;
}

/* text */
.contentRelations .item .text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--font-color-dark);
}