body, .divi-postid-list {
  font-family: 'Noto Serif TC', serif;
}

.divi-postid-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dpl-item {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
  cursor: pointer;
  transition: box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
}

.dpl-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.dpl-thumbnail {
  width: 30%;
  flex-shrink: 0;
}

.dpl-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

.dpl-content {
  width: 70%;
}

.dpl-title {
  font-size: 32px;
  line-height: 1.5em;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #222;
}

.dpl-meta {
  font-size: 0.9rem;
  color: #999;
  margin: 0.25rem 0;
}

.dpl-excerpt {
  /* desktop default no extra padding */
}

.dpl-excerpt p {
  font-size: 20px;
  color: #333;
  line-height: 1.7;
}

.dpl-readmore {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 8px 16px;
  background-color: #9e9e9e;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.dpl-readmore:hover {
  background-color: #4c89b2;
  color: #fff;
}

.dpl-readmore:active {
  background-color: #336b90;
  color: #e0e0e0;
}

/* Tablet (<= 768px) */
@media (max-width: 768px) {
  .dpl-item {
    flex-direction: column; /* image on top, text below */
  }

  .dpl-thumbnail,
  .dpl-content {
    width: 100%;
  }

  .dpl-title {
    font-size: 28px;
  }

  .dpl-excerpt {
    padding: 0 15px;
    text-align: justify;
  }

  .dpl-excerpt p {
    font-size: 20px;
  }
}

/* Mobile (<= 480px) */
@media (max-width: 480px) {
  .dpl-title {
    font-size: 24px;
  }

  .dpl-excerpt {
    padding: 0 15px;
    text-align: justify;
  }

  .dpl-excerpt p {
    font-size: 18px;
  }
}
