/* MAIN-M3-HEAD-STYLE: shared section heading, all on white. */
.ap-m3-head{margin:12px 0 32px;color:#172238;background:#fff;font-family:Inter,system-ui,sans-serif}
.ap-m3-head__top{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px 24px}
.ap-m3-head__subtitle{flex:1 1 520px;max-width:720px;margin:0;font-size:18px;line-height:28px;color:#4A5470}
.ap-m3-head__meta,.ap-m3-head__label{font:600 11px/1.5 ui-monospace,"SF Mono",Menlo,monospace;letter-spacing:.1em;text-transform:uppercase;color:#5E667A}
.ap-m3-head__meta{margin:0;white-space:nowrap}
.ap-m3-head__tasks{margin-top:20px}.ap-m3-head__label{display:block;margin-bottom:8px}
.ap-m3-head__quick{margin-top:8px}
.ap-m3-head__chips{display:flex;gap:8px;flex-wrap:wrap}
.ap-m3-head__chips a{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:7px 13px;border:1px solid #DEDFF0;border-radius:999px;background:#fff;color:#172238;text-decoration:none;font-size:14px;line-height:20px;font-weight:600;white-space:nowrap}
.ap-m3-head__chips a:hover{border-color:#4B4FD6;color:#3538A0;text-decoration:none}
.ap-m3-head__chips a:focus-visible{outline:3px solid #4B4FD6;outline-offset:2px}
.ap-m3-head__count{font-weight:400;font-size:12px;color:#5E667A}
@media(max-width:767px){.ap-m3-head__subtitle{flex-basis:100%;font-size:16px;line-height:24px}.ap-m3-head__meta{white-space:normal}.ap-m3-head__chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:3px 2px 6px}.ap-m3-head__chips::-webkit-scrollbar{display:none}.ap-m3-head__chips a{flex:none}}

section.ap-m3-head .ap-m3-head__subtitle{font-size:18px;line-height:28px;color:#4A5470;margin:0}
section.ap-m3-head .ap-m3-head__meta{font:600 11px/1.5 ui-monospace,"SF Mono",Menlo,monospace;margin:0;color:#5E667A}
html body #main-content .container:has(.ap-m3-head)>.content-block__row{margin-top:32px}
@media(max-width:767px){section.ap-m3-head .ap-m3-head__subtitle{font-size:16px;line-height:24px}}

/* Main02:53: metadata is a left-aligned second line below the subtitle. */
section.ap-m3-head .ap-m3-head__top{display:block}
section.ap-m3-head .ap-m3-head__meta{margin:8px 0 0;font-size:12px;line-height:18px;text-align:left}

section.ap-m3-head{margin:4px 0 32px}
html body #main-content .container:has(.ap-m3-head)>.content-block__row{margin-top:0}
.ap-m3-head~.catalog-subcat:not(:has(a)){display:none}

section.ap-m3-head .ap-m3-head__top{padding-top:4px}
section.ap-m3-head .ap-m3-head__quick{padding-bottom:22px}

/* Main03:26 h1-h4: full subtitle, one desktop row with accessible overflow, white price fields. */
section.ap-m3-head .ap-m3-head__subtitle{max-width:none;white-space:normal;overflow:visible;text-overflow:clip;-webkit-line-clamp:unset;line-clamp:unset}
.ap-m3-head__more{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 13px;border:1px solid #DEDFF0;border-radius:999px;background:#fff;color:#172238;font:600 14px/20px Inter,system-ui,sans-serif;white-space:nowrap;cursor:pointer}
.ap-m3-head__more[hidden],.ap-m3-head__chips a[hidden]{display:none}
.ap-m3-head__more:focus-visible{outline:3px solid #4B4FD6;outline-offset:2px}
@media(min-width:1100px){.ap-m3-head__quick[data-ap-m3-collapsible]{display:flex;align-items:flex-start;gap:8px}.ap-m3-head__quick[data-ap-m3-collapsible]>.ap-m3-head__chips{flex:1;min-width:0}.ap-m3-head__more{flex:none}}
html body:has(.ap-m3-head) .catalog-filter .filter-block[data-id="price"] .filter-range__input{background:#fff!important;border:1px solid #DEDFF0!important}
html body:has(.ap-m3-head) .catalog-filter .ap-m3-price-field{background:#fff;border:0}

/* Generic native headings use the same collection gap as server tasks. */
[data-ap-m3-head-hero="native-v1"]>.ap-m3-head__label{margin-top:20px}
