.archive-heading{display:flex;align-items:center;gap:14px;margin:6px 0 24px}.archive-heading__bar{width:6px;height:48px;flex:0 0 auto;border-radius:999px;background:var(--hp-accent)}.archive-heading h1,.archive-heading h2{margin:0;font-size:clamp(1.5rem,3vw,2.2rem);line-height:1.2;font-weight:var(--hp-font-weight-strong);letter-spacing:-.015em}.archive-heading p:last-child{margin:7px 0 0;color:var(--hp-muted)}.archive-heading--compact{margin-top:0}.pattern-card,.pattern-masonry>.hp-ad-shell{display:inline-block;width:100%;margin:0 0 14px;break-inside:avoid;vertical-align:top}.pattern-card{overflow:hidden;border:1px solid var(--hp-line);border-radius:14px;background:var(--hp-surface);box-shadow:0 1px 2px rgba(0,0,0,.035);transition:transform .18s ease,box-shadow .18s ease}.pattern-card:hover{transform:translateY(-2px);box-shadow:var(--hp-shadow)}.pattern-card__link{display:block}.pattern-card__media{min-height:130px;display:grid;place-items:center;overflow:hidden;background:var(--hp-surface-2)}.pattern-card__media img{width:100%;height:auto;display:block}.pattern-card__placeholder{padding:52px 0;font-size:3rem}.pattern-card__body{padding:11px 12px 12px}.pattern-card h2{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.92rem;line-height:1.38;font-weight:var(--hp-font-weight-strong);letter-spacing:.005em}.hp-next-page{display:table;margin:30px auto 0;padding:10px 18px;border-radius:999px;background:var(--hp-surface-2);border:1px solid var(--hp-line)}.hp-next-page a{display:block}.hp-infinite-sentinel{height:1px}@media (max-width: 767px) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))){.pattern-masonry{columns:2 145px}.pattern-card{background:var(--hp-surface);border-color:var(--hp-line)}.pattern-card__media{background:var(--hp-surface-2)}.pattern-card__body{padding:10px}.pattern-card h2{color:#fff;font-size:.96rem;line-height:1.42}.archive-heading h1,.archive-heading h2{color:#fff}}@media (max-width: 767px) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))){.pattern-masonry{column-gap:clamp(10px,3.05vw,14px)}.pattern-card,.pattern-masonry>.hp-ad-shell{margin-bottom:clamp(10px,3.05vw,14px)}}@media (max-width: 1024px) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))){.pattern-card{background:var(--hp-surface);border-color:var(--hp-line)}.pattern-card__media{background:var(--hp-surface-2)}.pattern-card h2{color:#fff}.archive-heading h1,.archive-heading h2{color:#fff}}@media (hover: none) and (pointer: coarse) and (min-width: 768px) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))){.pattern-card{background:var(--hp-surface);border-color:var(--hp-line)}.pattern-card__media{background:var(--hp-surface-2)}.pattern-card h2{color:#fff}.archive-heading h1,.archive-heading h2{color:#fff}}.pattern-card__description{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--hp-text);font-size:.92rem;line-height:1.42;font-weight:var(--hp-font-weight-regular);letter-spacing:.005em}@media (max-width: 1024px) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))), (hover: none) and (pointer: coarse) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))){.pattern-card__description{color:#fff;font-size:.96rem;line-height:1.46;font-weight:var(--hp-font-weight-regular)}}.pattern-masonry{--hp-masonry-gap:14px;--hp-grid-columns:5;columns:initial;column-gap:normal;display:grid;grid-template-columns:repeat(var(--hp-grid-columns),minmax(0,1fr));gap:var(--hp-masonry-gap);align-items:start}.pattern-masonry__col{min-width:0;display:flex;flex-direction:column;gap:var(--hp-masonry-gap)}.pattern-masonry__col>.pattern-card,.pattern-masonry__col>.hp-ad-shell,.pattern-masonry__col>.hp-ad-shell+script{width:100%;margin:0;break-inside:auto}.pattern-masonry>.pattern-card,.pattern-masonry>.hp-ad-shell{margin:0}@media (max-width: 1279px){.pattern-masonry{--hp-grid-columns:4}}@media (max-width: 1024px) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))), (hover: none) and (pointer: coarse) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))){.pattern-masonry{--hp-grid-columns:3;--hp-masonry-gap:12px}}@media (max-width: 639px){.pattern-masonry{--hp-grid-columns:2}}.hp-infinite-more{cursor:pointer;font-weight:var(--hp-font-weight-strong);color:var(--hp-text)}.hp-infinite-more:disabled{opacity:.62;cursor:wait}.hp-infinite-more[hidden]{display:none!important}.pattern-masonry.hp-loading{opacity:1!important;filter:none!important}.pattern-card__media{position:relative}body.home .pattern-card,body.post-type-archive-hp_pattern .pattern-card,body.tax-hp_pattern_category .pattern-card,body.tax-hp_pattern_tag .pattern-card{overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}body.home .pattern-card:hover,body.post-type-archive-hp_pattern .pattern-card:hover,body.tax-hp_pattern_category .pattern-card:hover,body.tax-hp_pattern_tag .pattern-card:hover{box-shadow:none}body.home .pattern-card__media,body.post-type-archive-hp_pattern .pattern-card__media,body.tax-hp_pattern_category .pattern-card__media,body.tax-hp_pattern_tag .pattern-card__media{overflow:hidden;border-radius:14px}body.home .pattern-card__body,body.post-type-archive-hp_pattern .pattern-card__body,body.tax-hp_pattern_category .pattern-card__body,body.tax-hp_pattern_tag .pattern-card__body{padding:9px 2px 2px;border:0;background:transparent}


/* v0.5.96 — the catalog menu already names the active category on touch devices. */
@media (max-width:1024px) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))), (hover:none) and (pointer:coarse) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))){
  body.tax-hp_pattern_category .archive-heading,
  body.tax-hp_pattern_category .subcategory-pills{
    display:none!important;
  }
}

/* v0.5.109 — one desktop-based scale for touch article controls and card
   captions. Stop at desktop size on tablets; reduce together on narrow phones.
   376px is the design content width, after the article's outer/inner insets. */
@media (max-width:1024px) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))), (hover:none) and (pointer:coarse) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))){
  :root{
    --hp-touch-bar-width:calc(100vw - 64px);
    --hp-touch-ui-unit:min(1px,calc(var(--hp-touch-bar-width) / 376));
    --hp-touch-author-time-size:calc(12.48 * var(--hp-touch-ui-unit));
    --hp-touch-article-gap:calc(20 * var(--hp-touch-ui-unit));
  }
  .pattern-card__description{font-size:var(--hp-touch-author-time-size)!important}
}
@media (max-width:767px) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))){
  :root{--hp-touch-bar-width:calc(100vw - (2 * var(--hp-article-edge,10px)) - 32px)}
}

/* v0.5.128 — explicit clipping fixes landscape thumbnails in mobile WebKit. */
.pattern-masonry__col>.hp-virtual-card{display:block;width:100%;flex:none;visibility:hidden;pointer-events:none}

.pattern-card__badge{display:none!important}
@media (max-width:1024px) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))), (hover:none) and (pointer:coarse) and (not ((any-pointer: coarse) and (min-width:640px) and (min-device-width:640px) and (min-device-height:640px))){
  .pattern-card__media{
    border-radius:14px!important;
    overflow:hidden!important;
    isolation:isolate;
  }
  .pattern-card__media img{
    border-radius:inherit!important;
    clip-path:inset(0 round 14px);
  }
}

/* v0.5.129 — let real thumbnails define their own height at every viewport width. */
.pattern-card__media{
  min-height:0!important;
  background:transparent!important;
}
.pattern-card__media img{
  width:100%;
  height:auto;
  display:block;
}
.pattern-card__placeholder{
  min-height:130px;
  display:grid;
  place-items:center;
  padding:52px 0;
  background:var(--hp-surface-2);
}

/* Posts and products share the catalog typography and one gap. */
.pattern-card__description,.pattern-card h2{font-family:var(--hp-font);font-size:var(--hp-card-title-size)!important;font-weight:var(--hp-card-title-weight)!important;line-height:1.42;letter-spacing:.005em;text-transform:none}
.pattern-masonry__col{gap:0}
.pattern-masonry__col>:is(.pattern-card,.hp-product-card,.hp-ad-shell,.hp-virtual-card){flex:none;width:100%;margin:0 0 var(--hp-masonry-gap)}
.pattern-masonry__col>:last-child{margin-bottom:0}
