.update-home-feed {
  display: grid;
  gap: 16px;
}

/* ------------------------------
   共通カード
------------------------------ */

.update-home-feed__featured,
.update-home-feed__card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.update-home-feed__featured:hover,
.update-home-feed__card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
}

.update-home-feed__featured-link,
.update-home-feed__card-link {
  display: grid;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

/* ------------------------------
   注目カード
------------------------------ */

.update-home-feed__featured-link {
  grid-template-columns: 180px 1fr;
  align-items: stretch;
}

.update-home-feed__featured-thumb {
  width: 180px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f6f4ef;
}

.update-home-feed__featured-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.update-home-feed__featured-body {
  padding: 18px 20px;
  min-width: 0;
}

.update-home-feed__featured-title {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.35;
  color: #222;
}

.update-home-feed__featured-summary {
  margin: 0;
  color: #444;
  line-height: 1.75;
}

/* ------------------------------
   最新4件グリッド
------------------------------ */

.update-home-feed__latest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.update-home-feed__card-link {
  grid-template-columns: 124px 1fr;
  align-items: stretch;
  min-height: 124px;
}

.update-home-feed__card-thumb {
  width: 124px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f6f4ef;
}

.update-home-feed__card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.update-home-feed__card-body {
  padding: 14px 16px;
  min-width: 0;
}

.update-home-feed__card-title {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.4;
  color: #222;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.update-home-feed__card-summary {
  margin: 0;
  color: #444;
  line-height: 1.7;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ------------------------------
   メタ情報
------------------------------ */

.update-home-feed__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  margin-bottom: 8px;
  color: #666;
}

.update-home-feed__badge,
.update-home-feed__kind {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

.update-home-feed__badge {
  background: #f3f4f6;
  font-weight: 700;
}

.update-home-feed__kind {
  background: #f6f4ef;
  color: #5b5247;
}

.update-home-feed__kind.is-blog {
  background: #eef6ff;
  color: #355a82;
}

.update-home-feed__date {
  color: #777;
  white-space: nowrap;
}

/* ------------------------------
   余白の詰めすぎ防止
------------------------------ */

.update-home-feed__featured-title,
.update-home-feed__featured-summary,
.update-home-feed__card-title,
.update-home-feed__card-summary {
  word-break: break-word;
}

/* ------------------------------
   タブレット以下
------------------------------ */

@media (max-width: 960px) {
  .update-home-feed__latest-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------
   スマホ
------------------------------ */

@media (max-width: 640px) {
  .update-home-feed {
    gap: 12px;
  }

  .update-home-feed__featured-link,
  .update-home-feed__card-link {
    grid-template-columns: 1fr;
  }

  .update-home-feed__featured-thumb,
  .update-home-feed__card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .update-home-feed__featured-body {
    padding: 16px;
  }

  .update-home-feed__card-body {
    padding: 14px;
  }

  .update-home-feed__featured-title {
    font-size: 20px;
  }

  .update-home-feed__card-title {
    font-size: 16px;
  }
}