/* Product category reading order: summary, products, selection, project details.
   This file is attached only to the seven main category pages. */
body.product-category-page #main .page-heading {padding-bottom:24px;}
body.product-category-page #main :is(.catalog-layout,.family456-catalog) {padding-top:24px;padding-bottom:56px;}
body.product-category-page #main .category-reading-context {padding-block:44px 32px;}
body.product-category-page #main .category-reading-context :is(.photomask-blank-catalog-heading,.photomask-family-intro,.encoder-family-intro) {margin:0;max-width:none;}
body.product-category-page #main .category-reading-context .family-guidance {max-width:80ch;margin:0;}
body.product-category-page #main .category-reading-context .encoder-family-intro {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 36px;}
body.product-category-page #main .category-reading-context .encoder-family-intro h2 {grid-column:1 / -1;margin:0 0 8px;}
body.product-category-page #main .category-reading-context .encoder-family-intro p {margin:0;max-width:none;}
body.product-category-page #main .family456-selection {padding-block:56px;}
body.product-category-page #main .family456-selection > h2 {margin:0;}
body.product-category-page #main .family456-choice-grid {gap:48px 48px;margin-top:32px;}
body.product-category-page #main .family456-choice-grid h3 {min-height:0;}
body.product-category-page #main .feature-catalog-group {scroll-margin-top:130px;}
@media(max-width:800px) {
 body.product-category-page #main .category-reading-context .encoder-family-intro {grid-template-columns:1fr;}
 body.product-category-page #main .family456-choice-grid {column-gap:28px;}
}
@media(max-width:600px) {
 body.product-category-page #main :is(.catalog-layout,.family456-catalog) {padding-top:16px;padding-bottom:36px;}
 body.product-category-page #main .category-reading-context {padding-block:32px 24px;}
 body.product-category-page #main .family456-selection {padding-block:36px;}
 body.product-category-page #main .family456-choice-grid {gap:36px;margin-top:24px;}
}
/* Group names identify the product ranges before the selection diagrams. */
body.product-category-page #main .feature-catalog-scope .catalog-group-heading {display:block;margin:0 0 20px !important;}
/* Share title/description tracks within each product row, including long translations. */
@supports(grid-template-rows:subgrid) {
 body.product-category-page #main .feature-catalog-grid:not(.catalog-count-1) > .feature-catalog-card,
 body.product-category-page #main .feature-catalog-grid:not(.catalog-count-1) > .feature-catalog-card > .feature-catalog-media {
  display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;grid-row:span 3;row-gap:0;align-items:start;
 }
 body.product-category-page #main .feature-catalog-grid:not(.catalog-count-1) .feature-catalog-title {align-self:start;}
 body.product-category-page #main .feature-catalog-grid:not(.catalog-count-1) .product-card-description {align-self:start;}
}
