/* Tutorial – mobilno 2×2, od ~900px 4 kolone; ikone srednje velike */

.oo-tutorial {
  --oo-tutorial-title: #1b1f23;
  --oo-tutorial-muted: #454b56;

  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(0.75rem, 3vw, 1.5rem);
  box-sizing: border-box;
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #fff;
}

.oo-tutorial__title {
  text-align: center;
  font-weight: 700;
  font-size: clamp(1.875rem, 2.25vw + 1rem, 2.75rem);
  line-height: 1.2;
  color: var(--oo-tutorial-title);
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.02em;
}

.oo-tutorial__grid {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.25rem) clamp(0.75rem, 3vw, 1.25rem);
  align-items: stretch;
  padding: 0;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .oo-tutorial__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1.25rem, 2vw, 2rem);
  }
}

.oo-tutorial__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  height: 100%;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

a.oo-tutorial__step:hover .oo-tutorial__heading,
a.oo-tutorial__step:focus-visible .oo-tutorial__heading {
  text-decoration: underline;
}

a.oo-tutorial__step:focus-visible {
  outline: 2px solid var(--oo-tutorial-title);
  outline-offset: 4px;
}

.oo-tutorial__icon-wrap {
  width: clamp(96px, 24vw, 160px);
  height: clamp(96px, 24vw, 160px);
  margin: 0 0 clamp(0.35rem, 1vw, 0.6rem);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oo-tutorial__icon-img {
  width: 100%;
  height: 100%;
  max-width: 10rem;
  max-height: 10rem;
  object-fit: contain;
  display: block;
}

.oo-tutorial__heading {
  margin: 0 0 clamp(0.65rem, 1.5vw, 0.85rem);
  font-size: clamp(1.445rem, 1.105vw + 1.224rem, 1.785rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--oo-tutorial-title);
  max-width: 22rem;
}

.oo-tutorial__text {
  margin: 0;
  font-size: clamp(1.0625rem, 0.5vw + 0.9rem, 1.1875rem);
  line-height: 1.65;
  color: var(--oo-tutorial-muted);
  width: 100%;
  max-width: 22rem;
  flex-grow: 1;
}

/* Mobilno (<900px): kompaktniji naslov/podnaslov/opis i ikone ~20% manje — desktop bez promjena */
@media (max-width: 899px) {
  .oo-tutorial__title {
    font-size: clamp(1.5rem, 1.9vw + 0.92rem, 2.125rem);
    margin-bottom: clamp(1.25rem, 3.5vw, 2rem);
  }

  .oo-tutorial__heading {
    font-size: clamp(1.0625rem, 0.9vw + 0.98rem, 1.5rem);
  }

  .oo-tutorial__text {
    font-size: clamp(0.8125rem, 0.38vw + 0.66rem, 0.875rem);
    line-height: 1.55;
  }

  .oo-tutorial__icon-wrap {
    width: clamp(76.8px, 19.2vw, 128px);
    height: clamp(76.8px, 19.2vw, 128px);
  }

  .oo-tutorial__icon-img {
    max-width: 8rem;
    max-height: 8rem;
  }
}
