/* Public discovery and profile readability. Loaded after the existing page styles. */
.seo-guidance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.seo-guidance-grid article{min-width:0}.seo-guidance-grid h3{font-size:20px;line-height:1.3;margin:0 0 12px}.seo-guidance-grid p,.seo-guidance-next{font-size:15px;line-height:1.7;overflow-wrap:anywhere}.seo-guidance-next{max-width:80ch;margin:24px 0 20px}.seo-guidance .btn{min-height:44px;white-space:normal}@media(max-width:760px){.seo-guidance-grid{grid-template-columns:1fr;gap:20px}.seo-guidance-grid h3{font-size:19px}.seo-guidance-grid p{margin-bottom:0}}
.market-hero-reference{z-index:3;padding-top:48px;padding-bottom:42px}
.market-hero-reference h1{font-size:clamp(48px,4.8vw,70px);line-height:1.04}
.market-hero-reference .market-intro{font-size:15px;line-height:1.7}
.market-hero-reference .market-input-label,.market-hero-reference .hero-city{font-size:12px}
.market-hero-reference .market-category-input summary,.market-hero-reference .hero-city select{font-size:15px;min-height:40px}
.market-hero-reference .market-category-input summary [data-category-summary]{font-size:15px}
.market-hero-reference .market-search>.btn{font-size:14px;min-height:50px;padding-inline:18px}
.market-hero-reference .market-help{font-size:13px;min-height:32px;padding-top:4px}
.market-hero-reference .market-promises{font-size:12px}
.market-hero-reference .market-hero-photos{grid-template-rows:200px 200px}
.market-hero-reference .hero-photo-caption small{font-size:10px}
.market-hero-reference .hero-photo-service{font-size:12px}
.market-hero-reference .hero-photo-caption strong{font-size:29px}
.market-hero-reference .market-photo:not(.market-photo-0) .hero-photo-caption strong{font-size:25px}

/* Open menus sit above cards; JS keeps each panel inside the visible viewport. */
.filter-dropdown[open]{z-index:40}
.filter-dropdown fieldset{box-sizing:border-box;min-inline-size:0}
.filter-dropdown[data-panel-positioned] fieldset{
  left:var(--panel-left)!important;right:auto!important;
  top:var(--panel-top)!important;bottom:var(--panel-bottom)!important;
  width:var(--panel-width)!important;min-width:0!important;max-width:none!important;
  max-height:var(--panel-height)!important;margin:0;
  overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;
}
.filter-dropdown fieldset label{white-space:normal;overflow-wrap:anywhere}
.filter-dropdown fieldset label span{min-width:0}
.category-picker fieldset label{font-size:14px!important;min-height:44px}
.catalog-heading>p{min-width:0;overflow-wrap:anywhere}
.filter-dropdown summary:focus-visible,.profile-tabs a:focus-visible,.profile-share:focus-visible{outline:2px solid #722d40;outline-offset:3px}

.category-showcase .category-art-card{min-height:206px;padding:16px 12px 20px;gap:10px}
.category-showcase .category-art-visual{width:132px;height:132px}
.category-showcase .category-art-name{font-size:17px;font-weight:500}
.category-showcase .category-art-card-wide{min-height:144px;padding:12px 24px;gap:20px}
.category-art-card-wide .category-art-visual{width:112px;height:112px}
.market-home .market-featured .section-head{flex-wrap:wrap;justify-content:space-between;text-align:left}
.market-home .section-head>a{font-size:16px;font-weight:500;min-height:44px;display:inline-flex;align-items:center;padding:8px 0}
.market-home .market-featured .section-head>.text-link{padding:10px 18px;border:1px solid #722d40;border-radius:8px;background:#fffdf9;color:#722d40}

.reference-profile .profile-primary-actions{align-items:stretch}
.reference-profile .profile-share{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:auto;height:auto;min-height:48px;padding:10px 16px;border:1px solid #cbaeb5;border-radius:8px;background:#f5e8eb;color:#722d40;font:500 14px 'Noto Sans',sans-serif;cursor:pointer}
.profile-share svg{width:21px;height:21px;flex:none}
.reference-profile .profile-share:hover{background:#ead5dc;border-color:#722d40}
.reference-profile .profile-tabs{gap:10px;flex-wrap:wrap;white-space:normal;overflow:visible;padding:10px;background:#f1e9e2;border:1px solid #e2d6cc;border-radius:12px}
.reference-profile .profile-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;border:1px solid transparent;border-radius:8px;font-size:16px;font-weight:500;color:#574a44;line-height:1.4}
.reference-profile .profile-tabs a[aria-current]{background:#722d40;color:#fff;border-color:#722d40;box-shadow:0 3px 8px #722d401a}
.reference-profile .profile-tabs b{font-size:12px}
.reference-profile .section-head{align-items:flex-start;justify-content:space-between;text-align:left;flex-wrap:wrap}
.reference-profile .section-head>div{margin:0;text-align:left}
.reference-profile .section-head h2,.reference-profile .section-head .eyebrow{margin-left:0;text-align:left}

@media(min-width:761px) and (max-width:1100px){
  .market-hero-reference h1{font-size:54px}
  .market-hero-reference .market-hero-photos{grid-template-rows:210px 210px}
  .market-hero-reference .market-intro br{display:none}
}
@media(max-width:760px){
  .market-hero-reference{padding:32px 18px;gap:28px}
  .market-hero-reference h1{font-size:clamp(43px,11.5vw,58px);line-height:1.04}
  .market-hero-reference .market-intro{font-size:16px}
  .market-hero-reference .market-category-input summary{font-size:15px}
  .market-hero-reference .hero-city select{font-size:16px}
  .market-hero-reference .market-search>.btn{font-size:16px}
  .market-hero-reference .market-hero-photos{grid-template-rows:168px 168px}
  .market-hero-reference .hero-photo-caption strong{font-size:25px}
  .market-hero-reference .market-photo:not(.market-photo-0) .hero-photo-caption strong{font-size:22px}
  .market-hero-reference .hero-photo-service{font-size:11px}
  .market-hero-reference .hero-photo-caption small{font-size:9px}
  .category-showcase .category-art-card{min-height:142px;padding:10px 5px 12px;gap:6px}
  .category-showcase .category-art-visual{width:76px;height:76px}
  .category-showcase .category-art-name{font-size:12px;line-height:1.4}
  .category-showcase .category-art-card-wide{min-height:100px;padding:10px 12px;gap:12px}
  .category-art-card-wide .category-art-visual{width:68px;height:68px}
  .catalog-filter-form .filter-dropdown summary{font-size:14px;min-height:48px}
  .catalog-search input{font-size:16px}
  .catalog-filter-form .filter-dropdown:not([data-panel-positioned]) fieldset{position:static;width:100%!important;min-width:0;margin-top:6px}
  .catalog-filter-form .filter-dropdown fieldset label{font-size:15px;min-height:44px}
  .reference-profile .profile-primary-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .reference-profile .profile-primary-actions>.btn:first-child{grid-column:1/-1;font-size:16px}
  .reference-profile .profile-primary-actions>.btn,.reference-profile .profile-share{font-size:14px;min-width:0;padding:10px 8px;gap:7px}
  .reference-profile .profile-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px}
  .reference-profile .profile-tabs a{font-size:14px;padding:10px 8px;min-width:0}
}
@media(max-width:359px){
  .market-hero-reference .hero-photo-caption strong{font-size:22px}
  .market-hero-reference .market-photo:not(.market-photo-0) .hero-photo-caption strong{font-size:19px}
  .category-showcase .category-art-visual{width:68px;height:68px}
  .category-showcase .category-art-card{min-height:138px}
}


