.search-widget {
  display: flex;
  justify-content: flex-end; /* posisikan di kanan */
  padding: 1em;
}

/* Form container */
.search-widget .search-form {
  display: flex;
  align-items: center;
}

/* Input */
.search-widget .search-form input {
  width: 12em; /* ukuran default */
  height: 3em;
  padding: 0.5em 1em;
  border-radius: 1.5em 0 0 1.5em;
  border: 2px solid #e74c3c; /* merah */
  outline: none;
  transition: width 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  background: #fff;
  font-size: 1em;
}

/* Melebar saat fokus */
.search-widget .search-form input:focus {
  width: 20em; /* melebar ke kiri */
  border-color: #c0392b; /* merah lebih gelap saat fokus */
}

/* Tombol */
.search-widget .search-btn {
  width: 3em;
  height: 3em;
  background: #e74c3c; /* merah */
  border: none;
  border-radius: 0 1.5em 1.5em 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

/* Tombol hover / active */
.search-widget .search-btn:hover {
  background: #c0392b;
}

.search-widget .search-btn:active {
  background: #a93226;
}

/* Icon (hanya span tersembunyi, bisa diganti icon SVG) */
.search-widget .search-btn span {
  display: inline-block;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.post-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.post-thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-body {
    padding: 20px;
}

.post-title {
    font-size: 20px;
    font-weight: 600;
    color: #b91c1c; /* merah */
    margin-bottom: 6px;
}

.post-author {
    font-size: 13px;
    color: #6b7280;
}

.post-excerpt {
    font-size: 14px;
    margin-top: 10px;
    color: #374151;
}