@media (max-width: 736px) {

  /* 1) タイトル直下のカテゴリコンテナを丸ごと隠す（:has 対応ブラウザ） */
  @supports selector(:has(*)) {
    .home article :is(h2,.entry-title) + :is(ul,div,span,nav):has( a[rel~="category"], a[href*="?cat="], a[href*="/category/"], a[href*="/archives/category/"] ),
    .archive article :is(h2,.entry-title) + :is(ul,div,span,nav):has( a[rel~="category"], a[href*="?cat="], a[href*="/category/"], a[href*="/archives/category/"] ),
    .search article :is(h2,.entry-title) + :is(ul,div,span,nav):has( a[rel~="category"], a[href*="?cat="], a[href*="/category/"], a[href*="/archives/category/"] ) {
      display: none !important;
    }
  }

  /* 2) よくあるカテゴリ用クラスを直接潰す */
  .home   :is(.post-categories,.cat-links,.entry-category,.entry-card__cat,.card-category,.entry-card .cat,.keni-card__category),
  .blog   :is(.post-categories,.cat-links,.entry-category,.entry-card__cat,.card-category,.entry-card .cat,.keni-card__category),
  .archive:is(.post-categories,.cat-links,.entry-category,.entry-card__cat,.card-category,.entry-card .cat,.keni-card__category),
  .search :is(.post-categories,.cat-links,.entry-category,.entry-card__cat,.card-category,.entry-card .cat,.keni-card__category) {
    display: none !important;
    background: none !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* 2.5) 疑似要素 */
  .home   :is(.post-categories,.cat-links,.entry-category,.entry-card__cat,.card-category,.entry-card .cat,.keni-card__category)::before,
  .home   :is(.post-categories,.cat-links,.entry-category,.entry-card__cat,.card-category,.entry-card .cat,.keni-card__category)::after,
  .blog   :is(.post-categories,.cat-links,.entry-category,.entry-card__cat,.card-category,.entry-card .cat,.keni-card__category)::before,
  .blog   :is(.post-categories,.cat-links,.entry-category,.entry-card__cat,.card-category,.entry-card .cat,.keni-card__category)::after,
  .archive:is(.post-categories,.cat-links,.entry-category,.entry-card__cat,.card-category,.entry-card .cat,.keni-card__category)::before,
  .archive:is(.post-categories,.cat-links,.entry-category,.entry-card__cat,.card-category,.entry-card .cat,.keni-card__category)::after,
  .search :is(.post-categories,.cat-links,.entry-category,.entry-card__cat,.card-category,.entry-card .cat,.keni-card__category)::before,
  .search :is(.post-categories,.cat-links,.entry-category,.entry-card__cat,.card-category,.entry-card .cat,.keni-card__category)::after {
    content: none !important;
    display: none !important;
  }

  /* 3) フォールバック */
  .home article ul li a[rel~="category"],
  .archive article ul li a[rel~="category"],
  .search article ul li a[rel~="category"],
  .home article ul li a[href*="?cat="],
  .archive article ul li a[href*="?cat="],
  .search article ul li a[href*="?cat="],
  .home article ul li a[href*="/category/"],
  .archive article ul li a[href*="/category/"],
  .search article ul li a[href*="/category/"] {
    display: none !important;
  }

  .home article :is(h2,.entry-title) + :is(ul,div,span,nav),
  .archive article :is(h2,.entry-title) + :is(ul,div,span,nav),
  .search article :is(h2,.entry-title) + :is(ul,div,span,nav) {
    background: none !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    min-height: 0 !important;
  }
}