/* ── Một ngày với Smartliving ─────────────────────────────────────── */

.mot-ngay-wrap {
  max-width: 860px;
  margin: 40px auto;
  padding: 0 16px 60px;
}

.mot-ngay-hero {
  text-align: center;
  margin-bottom: 56px;
}

.mot-ngay-hero h1 {
  font-size: 1.7rem;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 12px;
}

.mot-ngay-hero p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ── Timeline ───────────────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 100px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 42px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), #90caf9);
  border-radius: 2px;
}

.tl-item {
  position: relative;
  margin-bottom: 56px;
}

.tl-item:last-child {
  margin-bottom: 0;
}

/* Time badge */
.tl-time {
  position: absolute;
  left: -100px;
  top: 0;
  width: 84px;
  text-align: center;
}

.tl-time .tl-clock {
  display: block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Roboto Slab', sans-serif;
  padding: 4px 8px;
  border-radius: 6px 6px 0 0;
  line-height: 1.3;
}

.tl-time .tl-label {
  display: block;
  background: var(--primary-dark);
  color: #fff;
  font-size: .72rem;
  padding: 3px 6px;
  border-radius: 0 0 6px 6px;
  line-height: 1.3;
}

/* Content card */
.tl-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tl-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.tl-block.reverse {
  direction: rtl;
}

.tl-block.reverse > * {
  direction: ltr;
}

.tl-img {
  overflow: hidden;
  max-height: 320px;
}

.tl-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.tl-card:hover .tl-img img {
  transform: scale(1.04);
}

.tl-text {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tl-text h3 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.tl-text ul {
  margin-top: 8px;
  padding-left: 4px;
}

.tl-text ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--text);
  font-size: .95rem;
  line-height: 1.5;
}

.tl-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* Divider between two blocks inside same time slot */
.tl-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* CTA banner */
.mot-ngay-cta {
  margin-top: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  color: #fff;
}

.mot-ngay-cta h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.mot-ngay-cta .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 8px;
  transition: var(--transition);
  font-family: 'Roboto Slab', sans-serif;
}

.mot-ngay-cta .btn-cta:hover {
  background: #e3f2fd;
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  .timeline {
    padding-left: 0;
  }

  .timeline::before {
    left: 16px;
  }

  .tl-item::before {
    left: 10px;
  }

  .tl-time {
    position: static;
    width: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    margin-left: 40px;
  }

  .tl-time .tl-clock,
  .tl-time .tl-label {
    border-radius: 6px;
    display: inline-block;
  }

  .tl-block {
    grid-template-columns: 1fr;
  }

  .tl-block.reverse {
    direction: ltr;
  }

  .tl-img {
    max-height: 200px;
  }

  .mot-ngay-hero h1 {
    font-size: 1.3rem;
  }
}
