.reveal .columns { display:grid; grid-template-columns:1fr 1fr; gap:2rem; }
.reveal code { padding:.08em .2em; }
.reveal table { font-size:.75em; margin: 1rem auto; width: 100%; border-collapse: collapse; }
.reveal th, .reveal td { padding: 0.5rem 1rem; text-align: center; border-bottom: 1px solid #ddd; }
.reveal th { background-color: #f4f6f8; font-weight: bold; }
.reveal kbd { border:1px solid #888; border-radius:4px; padding:.05em .25em; font-family:monospace; font-size:.75em; }

/* Beginner-friendly layouts: one idea can breathe on each slide. */
.reveal .big-idea { font-size: 1.35em; line-height: 1.35; max-width: 850px; margin: 1.4rem auto; }
.reveal .step-list { max-width: 760px; margin: 1rem auto; }
.reveal .step-list li { margin: .65rem 0; }
.reveal .analogy, .reveal .docker-flow { display:flex; align-items:center; justify-content:center; gap:1rem; flex-wrap:wrap; margin:1.5rem auto; }
.reveal .docker-box { min-width:150px; padding:1rem 1.2rem; border:3px solid #2496ed; border-radius:12px; background:#eef7ff; font-weight:700; text-align:center; }
.reveal .docker-box.accent { border-color:#0d8a5b; background:#eaf9f1; }
.reveal .docker-box small { font-weight:400; }

/* VM vs Kontejner Comparison Cards */
.reveal .comp-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
}

.reveal .comp-header {
  font-weight: bold;
  font-size: 1.1em;
  padding: 0.5rem;
  background: #007acc;
  color: white;
  border-radius: 6px;
}

.reveal .comp-vs {
  font-weight: bold;
  font-size: 0.9em;
  color: #e74c3c;
  background: #fadbd8;
  padding: 0.3rem 0.6rem;
  border-radius: 50%;
}

.reveal .comp-row {
  display: contents;
}

.reveal .comp-item-left {
  text-align: right;
  padding: 0.4rem;
  background: #f8f9fa;
  border-radius: 4px;
}

.reveal .comp-item-right {
  text-align: left;
  padding: 0.4rem;
  background: #e8f8f5;
  border-radius: 4px;
}

.reveal .comp-title {
  grid-column: 1 / -1;
  font-weight: bold;
  margin-top: 0.6rem;
  font-size: 0.85em;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Image and Utility Layouts */
.reveal .img-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
  margin-top: 1rem;
}

.reveal .img-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.reveal .slide-img {
  max-height: 380px;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-top: 1rem;
  object-fit: contain;
  background: white;
}

@media (max-width:800px) { 
  .reveal .columns { grid-template-columns:1fr; }
  .reveal .comp-grid { grid-template-columns: 1fr; }
}
