/* Huuguu v81.29 — Blog-only responsive polish. Woo product cards moved to Woo Product Card Engine. */

@media (min-width: 768px) and (max-width: 1024px) {
  body.huuguu-blog-archive-style-list:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card,
  body.blog:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card,
  body.archive:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card,
  body.search:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card {
    display: grid !important;
    grid-template-columns: minmax(170px, 30%) minmax(0, 1fr) !important;
    gap: clamp(18px, 3vw, 30px) !important;
    align-items: start !important;
    padding: clamp(14px, 2vw, 22px) !important;
    text-align: left !important;
  }

  body.huuguu-blog-archive-style-list:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card .post-thumbnail,
  body.blog:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card .post-thumbnail,
  body.archive:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card .post-thumbnail,
  body.search:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card .post-thumbnail {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 220px !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  body.huuguu-blog-archive-style-list:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card .post-thumbnail img,
  body.blog:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card .post-thumbnail img,
  body.archive:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card .post-thumbnail img,
  body.search:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card .post-thumbnail img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 5 !important;
    object-fit: cover !important;
  }
}

@media (max-width: 767px) {
  body.huuguu-blog-archive-style-list:not(.elementor-page) .huuguu-post-grid,
  body.blog:not(.elementor-page) .huuguu-post-grid,
  body.archive:not(.elementor-page) .huuguu-post-grid,
  body.search:not(.elementor-page) .huuguu-post-grid {
    grid-template-columns: 1fr !important;
  }

  body.huuguu-blog-archive-style-list:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card,
  body.blog:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card,
  body.archive:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card,
  body.search:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
    width: 100% !important;
    padding: 14px !important;
    overflow: hidden !important;
    text-align: left !important;
  }

  body.huuguu-blog-archive-style-list:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card .post-thumbnail,
  body.blog:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card .post-thumbnail,
  body.archive:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card .post-thumbnail,
  body.search:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card .post-thumbnail {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  body.huuguu-blog-archive-style-list:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card .post-thumbnail img,
  body.blog:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card .post-thumbnail img,
  body.archive:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card .post-thumbnail img,
  body.search:not(.elementor-page) .huuguu-post-grid > article.hgg-post-card .post-thumbnail img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
  }

  body.blog:not(.elementor-page) .hgg-post-card .hgg-card__body,
  body.archive:not(.elementor-page) .hgg-post-card .hgg-card__body,
  body.search:not(.elementor-page) .hgg-post-card .hgg-card__body {
    padding: 0 !important;
  }

  body.blog:not(.elementor-page) .hgg-post-card .entry-title,
  body.archive:not(.elementor-page) .hgg-post-card .entry-title,
  body.search:not(.elementor-page) .hgg-post-card .entry-title {
    font-size: clamp(1.05rem, 5vw, 1.25rem) !important;
    line-height: 1.18 !important;
    margin: 0 0 6px !important;
  }

  body.blog:not(.elementor-page) .hgg-post-card .entry-summary,
  body.archive:not(.elementor-page) .hgg-post-card .entry-summary,
  body.search:not(.elementor-page) .hgg-post-card .entry-summary {
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  body.blog:not(.elementor-page) .hgg-post-card .hgg-read-more,
  body.archive:not(.elementor-page) .hgg-post-card .hgg-read-more,
  body.search:not(.elementor-page) .hgg-post-card .hgg-read-more {
    align-self: flex-start !important;
    margin-top: 2px !important;
  }
}
