/* Start Here: Free Resources as a three-step learning path */
.learn-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
}

.learn-intro .path-copy h2 { margin-bottom: 20px; }

.learn-guide {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--route-learn);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--white);
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.6;
}

.learn-guide p { margin: 0; }
.learn-guide p + p { margin-top: 6px; }
.learn-guide strong { color: var(--obsidian); }

.learn-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: clamp(48px, 7vw, 72px) 0 0;
  padding: 0;
  list-style: none;
}

.learn-path::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: var(--route-learn);
}

.learn-step {
  position: relative;
  display: flex;
  min-width: 0;
  padding-top: 38px;
}

.learn-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--plum);
  box-shadow: 0 0 0 4px var(--parchment);
}

.learn-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(26, 23, 33, 0.06);
}

.learn-chip {
  align-self: flex-start;
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--plum);
  background: var(--quartz);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.learn-count {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--smoke);
  font-size: 0.82rem;
  line-height: 1.3;
}

.learn-card h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.2vw, 1.95rem);
  line-height: 1.05;
}

.learn-card > p {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.55;
}

.learn-card > .learn-meta {
  color: var(--smoke);
  font-size: 0.82rem;
}

.learn-card .button {
  width: 100%;
  margin-top: auto;
  justify-content: center;
  text-align: center;
}

.learn-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .learn-intro { grid-template-columns: 1fr; }

  .learn-path {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-left: 34px;
  }

  .learn-path::before {
    top: 0;
    bottom: 0;
    left: 7px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .learn-step { padding-top: 0; }

  .learn-step::before {
    top: 30px;
    left: -34px;
    margin-left: 0;
  }

  .learn-card { padding: 24px; }
}

/* AI recipes page: what the prompts cover */
.recipes-panel .p2p-flow-row strong { min-width: 6.5rem; }
