/*
 * Lekcija 3.0 · HOME-P04 · PERSONAL / CURATED COMPLETE
 * Hard editorial rows; no cards, carousel or filler states.
 */

.lk3-home-curated {
  padding: 66px 0 70px;
  background: #fbf8f1;
  border-top: 1px solid rgba(21, 21, 21, .16);
  border-bottom: 1px solid rgba(21, 21, 21, .16);
}

.lk3-home-curated-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .75fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.lk3-home-curated-heading h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 4vw, 62px);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -.05em;
}

.lk3-home-curated-heading p {
  max-width: 560px;
  margin: 0;
  color: var(--lk3-muted);
  font-size: 16px;
  line-height: 1.6;
}

.lk3-home-curated-frame {
  border-top: 2px solid var(--lk3-ink);
  border-bottom: 2px solid var(--lk3-ink);
}

.lk3-home-curated-row {
  position: relative;
  min-height: 112px;
  display: grid;
  grid-template-columns:
    70px
    minmax(0, 1.3fr)
    minmax(250px, .75fr)
    48px;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid rgba(21, 21, 21, .28);
  color: var(--lk3-ink);
  text-decoration: none;
  transition: background .16s ease;
}

.lk3-home-curated-row:last-child {
  border-bottom: 0;
}

.lk3-home-curated-row:hover {
  background: rgba(49, 91, 255, .045);
}

.lk3-home-curated-row:focus-visible {
  outline: 3px solid var(--lk3-cobalt);
  outline-offset: -3px;
}

.lk3-home-curated-number {
  color: var(--lk3-cobalt);
  font-size: 14px;
  font-weight: 800;
}

.lk3-home-curated-intent {
  font-size: clamp(20px, 1.6vw, 28px);
  line-height: 1.18;
  font-weight: 750;
  letter-spacing: -.025em;
}

.lk3-home-curated-start {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lk3-home-curated-start small {
  color: #8c877f;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.lk3-home-curated-row.is-personalized
  .lk3-home-curated-start small {
  color: var(--lk3-cobalt);
}

.lk3-home-curated-start strong {
  font-size: 15px;
  line-height: 1.35;
}

.lk3-home-curated-arrow {
  justify-self: end;
  font-size: 22px;
  font-weight: 700;
  transition: transform .16s ease;
}

.lk3-home-curated-row:hover
  .lk3-home-curated-arrow {
  transform: translateX(4px);
}

@media (max-width: 959px) {
  .lk3-home-curated-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 28px;
  }

  .lk3-home-curated-row {
    min-height: 112px;
    grid-template-columns: 46px 1fr 38px;
    grid-template-areas:
      "number intent arrow"
      ". start arrow";
    gap: 8px 16px;
    padding: 20px 0;
  }

  .lk3-home-curated-number {
    grid-area: number;
  }

  .lk3-home-curated-intent {
    grid-area: intent;
  }

  .lk3-home-curated-start {
    grid-area: start;
  }

  .lk3-home-curated-arrow {
    grid-area: arrow;
    min-width: 38px;
    min-height: 48px;
    display: grid;
    place-items: center end;
  }
}

@media (max-width: 620px) {
  .lk3-home-curated {
    padding: 58px 0 62px;
  }

  .lk3-home-curated-heading h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .lk3-home-curated-heading p {
    font-size: 16px;
  }

  .lk3-home-curated-row {
    grid-template-columns: 36px 1fr 28px;
    gap: 8px 10px;
  }

  .lk3-home-curated-intent {
    font-size: 20px;
  }

  .lk3-home-curated-start strong {
    font-size: 14px;
  }

  .lk3-home-curated-arrow {
    min-width: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lk3-home-curated-row,
  .lk3-home-curated-arrow {
    transition: none;
  }

  .lk3-home-curated-row:hover
    .lk3-home-curated-arrow {
    transform: none;
  }
}

/* Keep Plus row content clear of the inset hover accent without a layout shift. */
[data-lk3-home-audience="plus"] .lk3-home-curated-row {
  box-sizing: border-box;
  padding-inline: 20px;
}
@media (max-width: 620px) {
  [data-lk3-home-audience="plus"] .lk3-home-curated-row {
    padding-inline: 16px;
  }
}
