/* Option 3: crop the selected artwork in CSS, keeping the original bitmap intact.
   Sheet 1536x1024, 4 columns of 384px; scale is 68/384.
   Top crop starts at y=144, bottom at y=594. The 59px windows omit all labels. */
.heritage-services{background:var(--home-surface,var(--paper,#FFFDF8))!important;padding:20px 12px 18px;gap:18px 6px}
.heritage-service{min-width:0;border:0;background:transparent;color:#22472C;line-height:1.4}
.heritage-service[data-service-key] i{--slice-x:0px;--slice-y:-25.5px;position:relative;display:block;width:68px;height:64px;margin:0 auto 6px;border:0!important;border-radius:0!important;box-shadow:none!important;background:none!important;overflow:visible;font-size:0}
.heritage-service[data-service-key] i::before{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:68px;height:59px;background-image:url("app-assets/brand/logo-main-sm.png");background-size:272px 181.333333px;background-position:var(--slice-x) var(--slice-y);background-repeat:no-repeat;border:0;border-radius:0;box-shadow:none}
.heritage-home .heritage-service[data-service-key] i::before{mix-blend-mode:multiply}
.heritage-service[data-service-key] i::after{content:none!important}
.heritage-service[data-service-key="culture"] i{--slice-x:0px}
.heritage-service[data-service-key="wellness"] i{--slice-x:-68px}
.heritage-service[data-service-key="product"] i{--slice-x:-136px}
/* Optical size and baseline compensation for the soup bowl, without changing the grid. */
.heritage-service[data-service-key="product"] i::before{transform:translate(-50%,calc(-50% - 4px)) scale(1.14)}
.heritage-service[data-service-key="sports"] i{--slice-x:-204px}
.heritage-service[data-service-key="study"] i{--slice-x:0px;--slice-y:-105.1875px}
.heritage-service[data-service-key="arrival"] i{--slice-x:-68px;--slice-y:-105.1875px}
.heritage-service[data-service-key="assistant"] i{--slice-x:-136px;--slice-y:-105.1875px}
.heritage-service[data-service-key="translate"] i{--slice-x:-204px;--slice-y:-105.1875px}
.taxonomy-catalog .catalog-hero{height:auto;min-height:214px;padding-bottom:22px}
.taxonomy-catalog .catalog-hero.sports{background-image:url("app-assets/generated/landscape-travel.png")}
.taxonomy-catalog .catalog-hero.sports:before{background:linear-gradient(105deg,rgba(51,61,39,.95),rgba(86,99,60,.78),rgba(46,54,31,.22))}
.taxonomy-catalog .catalog-hero.product{background-image:url("app-assets/generated/herbal-medicine.png")}
.taxonomy-catalog .catalog-hero.product:before{background:linear-gradient(105deg,rgba(100,53,27,.95),rgba(149,90,46,.78),rgba(98,68,31,.2))}
.taxonomy-catalog .catalog-headline small{font-size:8px;letter-spacing:.16em}
.taxonomy-catalog .catalog-search button{flex:none;min-height:34px;border:0;border-radius:7px;background:#2E5E3A;color:#fff;font-size:12px;padding:0 10px}
.taxonomy-catalog.sports .catalog-search button{background:#4e6648}
.taxonomy-catalog.product .catalog-search button{background:#2E5E3A}
.taxonomy-catalog .catalog-search input{min-width:0;flex:1;width:0}
.taxonomy-list-section{padding:19px 12px 20px}
.taxonomy-list-section>.catalog-section-title{padding:0 2px 4px}
.taxonomy-list-section .catalog-list{padding:0}
.taxonomy-list-section .catalog-row[hidden]{display:none}
.taxonomy-catalog.sports .catalog-chips button.active{background:#4e6648;border-color:#4e6648}
.taxonomy-catalog.product .catalog-chips button.active{background:#2E5E3A;border-color:#2E5E3A}
.taxonomy-catalog.sports .catalog-row-top em,.taxonomy-catalog.sports .catalog-row-top span{background:#e7eddd;color:#536b46}
.taxonomy-catalog.product .catalog-row-top em,.taxonomy-catalog.product .catalog-row-top span{background:#f5e8d5;color:#2E5E3A}
.taxonomy-detail-category{display:block;margin-bottom:8px;font-size:11px;color:#2E5E3A;letter-spacing:.05em}
.taxonomy-detail .detail-section{margin-top:10px}
.taxonomy-detail .detail-primary{padding-bottom:calc(12px + env(safe-area-inset-bottom))}
.taxonomy-doctor-entry{display:block;margin:10px 16px 0;padding:8px 12px;border:1px solid rgba(255,255,255,.4);border-radius:18px;background:rgba(255,255,255,.12);color:#fff;font-size:11px}
.well-hero:has(.taxonomy-doctor-entry){height:auto;min-height:242px;padding-bottom:18px}
