/* lapitekid.ee — teki suurvaade (custom.js kaaslane, 2026-08-27) */
.cards .card { cursor: zoom-in; }

.lapi-lb { position: fixed; inset: 0; z-index: 1000; display: none; flex-direction: column; align-items: center; justify-content: center; background: rgba(24, 16, 6, .9); padding: 16px; }
.lapi-lb.open { display: flex; }
.lapi-lb > img { max-width: min(92vw, 1100px); max-height: 74vh; display: block; border-radius: 8px; box-shadow: 0 8px 40px rgba(0, 0, 0, .5); }
.lapi-lb-bar { display: flex; gap: 16px; align-items: center; margin-top: 14px; color: #fff; font-size: 1.05rem; flex-wrap: wrap; justify-content: center; text-align: center; }
.lapi-lb-close { position: absolute; top: 8px; right: 14px; font-size: 2.4rem; background: none; border: 0; color: #fff; cursor: pointer; line-height: 1; }
.lapi-lb-prev, .lapi-lb-next { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2.6rem; background: rgba(0, 0, 0, .35); border: 0; color: #fff; cursor: pointer; width: 48px; height: 64px; border-radius: 8px; }
.lapi-lb-prev { left: 8px; }
.lapi-lb-next { right: 8px; }
@media (max-width: 600px) {
  .lapi-lb-prev, .lapi-lb-next { width: 40px; height: 52px; font-size: 2rem; }
  .lapi-lb > img { max-height: 64vh; }
}
