/* === STYLE01 SECTION === */

.style01-wrapper {
  padding: 0px;
}

.style01-wrapper .style01-slider {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.style01-wrapper .style01-card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 12px;
  width: 100%;
  max-width: 280px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.style01-wrapper .style01-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.style01-wrapper .style01-post-title p {
  font-size: 16px;
  font-weight: 600;
  margin: 10px 0 5px;
  color: #333;
  line-height: 22px;
}

.style01-wrapper .style01-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #666;
}

.style01-wrapper .style01-bookmark {
  font-size: 18px;
  cursor: pointer;
}

/* Desktop: grid */
@media (min-width: 769px) {
  .style01-wrapper .style01-slider {
    flex-wrap: wrap;
    overflow-x: unset;
    justify-content: space-between;
  }

  .style01-wrapper .style01-card {
    max-width: calc(50% - 15px); /* 4 cards in a row with gap */
  }
}

/* Mobile: horizontal scroll */
@media (max-width: 768px) {
  .style01-wrapper .style01-slider {
    flex-wrap: nowrap;
  }

  .style01-wrapper .style01-card {
    min-width: 200px;
    max-width: 230px;
  }

  .style01-wrapper .style01-post-title p {
    font-size: 13px;
  }
}
