/* Lizenzkarten block — two-tone header + white cards with tick list and image.
   Figma PREISE 1267-23740. Sits on the page background (no own bg), which is
   what makes the white cards read as cards. */
.sun-lc { display: block; }
.sun-lc__inner {
  box-sizing: border-box;
  width: min(1280px, 100% - 48px);
  margin-inline: auto;
  padding-block: 80px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ---- Header — left aligned --------------------------------------------- */
.sun-lc__head {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sun-lc__heading {
  margin: 0;
  font-family: var(--wp--preset--font-family--brand);
  font-size: clamp(32px, 3.75vw, 48px);
  font-weight: 500;
  line-height: 1.1667;                           /* 56/48 */
  letter-spacing: -0.01em;
  color: var(--sun-secondary);                   /* #132140 */
}
.sun-lc__accent { color: var(--sun-primary); }   /* #ff710a */
.sun-lc__subhead {
  margin: 0;
  font-family: var(--wp--preset--font-family--brand);
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  color: var(--sun-bluegrey);                    /* #4f5563 */
}

/* ---- Cards ------------------------------------------------------------- */
.sun-lc__grid {
  display: grid;
  grid-template-columns: repeat(var(--sun-lc-cols, 2), minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.sun-lc__card {
  box-sizing: border-box;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
  background: var(--sun-base);                   /* #ffffff */
  border-radius: var(--sun-radius-card, 4px);
}

.sun-lc__icon {
  display: block;
  height: 32px;
  color: var(--sun-primary);
}
/* Descendant selector beats the global `.sun-icon { width: 1em }` in
   tokens.css, which is enqueued after per-block CSS. */
.sun-lc__icon .sun-lc__icon-svg {
  display: block;
  width: 32px;
  height: 32px;
}

.sun-lc__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sun-lc__title {
  margin: 0;
  font-family: var(--wp--preset--font-family--brand);
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: var(--sun-secondary);
}

/* Tick list — navy copy here, not bluegrey (Figma 1267-23748). */
.sun-lc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sun-lc__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.sun-lc__check {
  flex: 0 0 24px;
  display: block;
  height: 24px;
  color: var(--sun-primary);
}
.sun-lc__check .sun-lc__check-svg {
  display: block;
  width: 24px;
  height: 24px;
}
.sun-lc__item-text {
  font-family: var(--wp--preset--font-family--brand);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--sun-secondary);
}

/* Image — 16:9, pushed to the bottom so uneven lists still line the cards up. */
.sun-lc__media {
  margin-top: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--sun-radius-card, 4px);
}
.sun-lc .sun-lc__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 900px) {
  .sun-lc__inner { padding-block: 56px; gap: 32px; }
  .sun-lc__grid { grid-template-columns: minmax(0, 1fr); }
  .sun-lc__card { padding: 20px; }
  .sun-lc__title { font-size: 20px; line-height: 28px; }
}
