/* Keep category shortcuts and their full menu together as one compact group. */
.tnz-services .yacht-category-row{position:relative;display:flex;align-items:center;justify-content:flex-start;gap:24px;border-bottom:1px solid var(--line)}
.tnz-services .service-quick-categories{display:flex;align-items:center;gap:24px;min-width:0}
.tnz-services .service-quick-categories a{display:flex;flex:0 0 auto;align-items:center;min-width:0;min-height:52px;padding-block:12px;border-bottom:2px solid transparent;color:var(--muted);font-size:15px;line-height:1.4}
.tnz-services .service-quick-categories a>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tnz-services .service-quick-categories a[aria-current],.tnz-services .service-quick-categories a:hover{color:var(--accent);border-color:var(--accent)}
.tnz-services .service-quick-categories a[aria-current]{font-weight:500}
.tnz-services .yacht-category-picker{flex:none}
.tnz-services .yacht-category-picker>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;padding:8px 12px;border-radius:6px;font-size:14px;font-weight:500;color:var(--accent);list-style:none;cursor:pointer}
.tnz-services .yacht-category-picker>summary:hover,.tnz-services .yacht-category-picker[open]>summary{background:var(--tint)}
.tnz-services .service-picker-mobile{display:none}
.tnz-services .yacht-category-picker>summary>svg{width:16px;height:16px;transform:rotate(90deg)}
.tnz-services .yacht-category-picker[open]>summary>svg{transform:rotate(-90deg)}
.tnz-services .yacht-categories{position:absolute;top:calc(100% + 4px);left:0;right:auto;z-index:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:4px;width:min(720px,100%);max-height:min(400px,50dvh);overflow-y:auto;overscroll-behavior:contain;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--paper);box-shadow:0 12px 28px rgba(18,62,73,.12);scroll-padding:12px}
.tnz-services .yacht-categories a{min-height:44px;padding:10px 12px;border:0;border-radius:4px;font-size:15px;overflow-wrap:anywhere}
.tnz-services .yacht-categories a[aria-current],.tnz-services .yacht-categories a:hover{background:var(--tint)}
.tnz-services .service-quick-categories:not([data-fit-ready]) a:nth-child(n+5){display:none}
@media(max-width:900px){.tnz-services .service-quick-categories:not([data-fit-ready]) a:nth-child(n+4){display:none}}
@media(max-width:760px){.tnz-services .service-quick-categories:not([data-fit-ready]) a:nth-child(n+3){display:none}}
@media(max-width:700px){
 .tnz-services .service-quick-categories{display:none}
 .tnz-services .yacht-category-picker{width:100%;min-width:0}
 .tnz-services .yacht-category-picker>summary{min-height:48px;padding:10px 0;border-radius:0;font-size:15px}
 .tnz-services .yacht-category-picker>summary>span{min-width:0;overflow-wrap:anywhere}
 .tnz-services .service-picker-desktop{display:none}
 .tnz-services .service-picker-mobile{display:block}
 .tnz-services .yacht-categories{width:100%;grid-template-columns:minmax(0,1fr);padding:8px;max-height:min(320px,50dvh)}
}
.tnz-services .service-card .listing-copy{flex:1}
.tnz-services .service-card .meta{margin-top:auto;padding-top:16px;border:0}
.tnz-services .service-card h3{margin-bottom:12px}
.tnz-services .yacht-title h1{text-wrap:balance;overflow-wrap:anywhere}
.tnz-services .yacht-title p{text-wrap:pretty}
@media(max-width:700px){
 .tnz-services .yacht-filter-dialog{height:min(560px,calc(var(--yacht-viewport-height,100dvh) - 12px));max-height:calc(var(--yacht-viewport-height,100dvh) - 12px);margin:auto 0 0}
 .tnz-services .yacht-title h1{font-size:32px}
}
