/* Chronological row-major grid: every pair shares a top and bottom edge. */
body .community-page:not(.community-detail-page) .community-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;grid-auto-rows:auto;gap:20px;align-items:stretch}
body .community-page:not(.community-detail-page) .community-grid>.community-card{display:flex;flex-direction:column;align-self:stretch;height:auto;min-height:0;margin:0;grid-row:auto}
body .community-page:not(.community-detail-page) .community-card>.community-card-link{display:flex;flex:1;flex-direction:column;min-width:0}
body .community-page:not(.community-detail-page) .community-card .community-card-copy{display:flex;flex:1;flex-direction:column}
body .community-page:not(.community-detail-page) .community-card .community-read-more{margin-top:auto;padding-top:14px}
@media(max-width:780px){body .community-page:not(.community-detail-page) .community-grid{grid-template-columns:minmax(0,1fr)}}

/* v20261018tags1: denser mobile discovery with an explicit tag filter. */
body .community-page:not(.community-detail-page) .collection-filters{
  grid-template-columns:minmax(210px,1.8fr) repeat(4,minmax(105px,.72fr)) auto auto;
}

@media(max-width:1050px){
  body .community-page:not(.community-detail-page) .collection-filters{grid-template-columns:repeat(3,minmax(0,1fr))}
  body .community-page:not(.community-detail-page) .collection-filter-field:first-child{grid-column:1/-1}
}

@media(max-width:620px){
  body .community-page:not(.community-detail-page){padding-top:12px!important}
  body .community-page:not(.community-detail-page) .community-hero{gap:14px;margin-bottom:14px;padding:18px;border-radius:16px}
  body .community-page:not(.community-detail-page) .community-hero h1{margin:8px 0;font-size:1.72rem;line-height:1.08}
  body .community-page:not(.community-detail-page) .community-hero p{font-size:.86rem;line-height:1.5}
  body .community-page:not(.community-detail-page) .community-primary-button{min-height:44px;padding:10px 15px}
  body .community-page:not(.community-detail-page) .collection-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:16px;padding:12px;border-radius:13px}
  body .community-page:not(.community-detail-page) .collection-filter-field{gap:5px}
  body .community-page:not(.community-detail-page) .collection-filter-field:first-child{grid-column:1/-1}
  body .community-page:not(.community-detail-page) .collection-filter-field:last-of-type{grid-column:auto}
  body .community-page:not(.community-detail-page) .collection-filter-field>span{font-size:.61rem}
  body .community-page:not(.community-detail-page) .collection-filters :is(input,select),
  body .community-page:not(.community-detail-page) :is(.collection-filter-submit,.collection-filter-reset){height:42px;min-height:42px}
  body .community-page:not(.community-detail-page) .community-section-heading{margin:16px 3px 12px}
}
