/* TTO Category Pages */
.tto-cd{--cd-navy:#1c2f4a;--cd-muted:#5f6f82;--cd-line:#e2e7ee;background:#f3f5f8;color:var(--cd-navy);font-family:'Public Sans',system-ui,-apple-system,'Segoe UI',sans-serif;padding-bottom:40px;width:100%;clear:both}
.tto-cd *,.tto-cd *::before,.tto-cd *::after{box-sizing:border-box}
.tto-cd-wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.tto-cd a{text-decoration:none}

/* Emergency bar (medical) */
.tto-cd-emergency{background:#b3261e;color:#fff}
.tto-cd-emergency-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;padding-bottom:12px}
.tto-cd-emergency p{margin:0;display:flex;align-items:center;gap:10px;font-size:16px}
.tto-cd-emergency-btns{display:flex;flex-wrap:wrap;gap:8px}
.tto-cd-emergency .tto-cd-btn-white{color:#b3261e!important}

/* Hero */
.tto-cd-hero{background:var(--cd-navy);color:#fff;padding:40px 0 50px}
.tto-cd-business .tto-cd-hero{background:var(--cd-navy)}
.tto-cd-medical .tto-cd-hero,.tto-cd-leisure .tto-cd-hero,.tto-cd-community .tto-cd-hero{background:var(--cd-accent)}
.tto-cd-crumbs{font-size:13px;opacity:.85;margin-bottom:10px}
.tto-cd-crumbs a{color:#fff!important;text-decoration:underline!important}
.tto-cd-hero h1{font-family:'Fraunces',Georgia,serif;font-size:clamp(30px,5vw,44px);line-height:1.1;font-weight:700;margin:0 0 10px;color:#fff}
.tto-cd-intro{margin:0;font-size:17px;max-width:640px;opacity:.92;color:#fff}
.tto-cd-search{margin-top:20px;display:flex;flex-wrap:wrap;gap:10px;max-width:760px}
.tto-cd-search-box{flex:1 1 320px;display:flex;align-items:center;gap:10px;background:#fff;border-radius:10px;padding:0 16px;height:56px;color:var(--cd-muted)}
.tto-cd-search-box input[type=search]{flex:1;min-width:0;border:0!important;outline:none;box-shadow:none!important;font-size:17px;font-family:inherit;color:var(--cd-navy);background:transparent!important;padding:0!important;height:auto;margin:0}
.tto-cd-search button{height:56px;padding:0 28px;border:0;border-radius:10px;background:var(--cd-accent);color:#fff;font-size:17px;font-weight:700;font-family:inherit;cursor:pointer}
.tto-cd-business .tto-cd-search button{background:var(--cd-accent)}
.tto-cd-medical .tto-cd-search button,.tto-cd-leisure .tto-cd-search button,.tto-cd-community .tto-cd-search button{background:var(--cd-navy)}
.tto-cd-search-box:focus-within{outline:3px solid #f2c14e;outline-offset:2px}
.tto-cd-popular{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}
.tto-cd-popular span{font-size:14px;opacity:.85;margin-right:4px}
.tto-cd-popular a{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:18px;background:rgba(255,255,255,.16);color:#fff!important;font-size:14px;font-weight:600}
.tto-cd-popular a:hover{background:rgba(255,255,255,.28)}

/* Advert */
.tto-cd-ad{margin:22px 0 0;background:#fff;border:1px solid var(--cd-line);border-radius:10px;padding:10px;text-align:center;position:relative}
.tto-cd-ad img{max-width:100%;height:auto;display:block;margin:0 auto;border-radius:6px}
.tto-cd-ad-label{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#7a5200;background:#fbf0d4;padding:3px 8px;border-radius:4px;margin-bottom:8px}
.tto-cd-ad-empty{border:2px dashed #c3cdd9;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 14px;padding:18px;color:var(--cd-muted);font-size:14px}
.tto-cd-ad-empty .tto-cd-ad-label{margin:0}
.tto-cd-ad-empty a{font-weight:700;color:var(--cd-accent)!important;text-decoration:underline!important}

/* Grid */
.tto-cd-main{padding-top:30px}
.tto-cd-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:18px}
.tto-cd-head h2{font-family:'Fraunces',Georgia,serif;font-size:clamp(24px,3.5vw,30px);font-weight:700;margin:0;color:var(--cd-navy)}
.tto-cd-head a{font-weight:600;font-size:15px;color:var(--cd-accent)!important}
.tto-cd-head a:hover{text-decoration:underline}
.tto-cd-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.tto-cd-tile{background:#fff;border:1px solid var(--cd-line);border-radius:14px;padding:20px 18px;display:flex;gap:14px;align-items:flex-start;color:var(--cd-navy)!important;box-shadow:0 1px 2px rgba(28,47,74,.05);transition:transform .15s,box-shadow .15s,border-color .15s}
.tto-cd-tile:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(28,47,74,.10);border-color:var(--cd-accent)}
.tto-cd-tile:focus-visible{outline:3px solid var(--cd-accent);outline-offset:2px}
.tto-cd-icon{width:54px;height:54px;border-radius:14px;background:var(--cd-tint);color:var(--cd-accent);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.tto-cd-text{display:flex;flex-direction:column;gap:4px;min-width:0}
.tto-cd-name{font-size:17px;font-weight:700;line-height:1.25}
.tto-cd-sub{font-size:13px;color:var(--cd-muted);line-height:1.4}
.tto-cd-count{font-size:13px;color:var(--cd-accent);font-weight:600;margin-top:2px}

/* Panels */
.tto-cd-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:8px;background:var(--cd-accent);color:#fff!important;font-weight:700;font-size:15px;white-space:nowrap}
.tto-cd-btn-white{background:#fff;color:var(--cd-accent)!important}
.tto-cd-btn-line{background:transparent;border:2px solid #fff;color:#fff!important}
.tto-cd-panel,.tto-cd-cta{margin-top:30px;border-radius:14px;padding:24px;display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}
.tto-cd-panel>div,.tto-cd-cta>div{flex:1 1 380px}
.tto-cd-panel h3,.tto-cd-cta h3{font-family:'Fraunces',Georgia,serif;font-size:23px;margin:0 0 6px}
.tto-cd-panel p,.tto-cd-cta p{margin:0;font-size:15px;line-height:1.5}
.tto-cd-panel{background:#fff;border:1px solid var(--cd-line)}
.tto-cd-panel h3{color:var(--cd-navy)}
.tto-cd-cta{background:var(--cd-accent);color:#fff}
.tto-cd-cta h3,.tto-cd-cta p{color:#fff}
.tto-cd-disclaimer{margin:26px 0 0;font-size:13px;color:var(--cd-muted);line-height:1.5}
.tto-cd-disclaimer a{text-decoration:underline!important}

/* Phone */
@media (max-width:600px){
	.tto-cd-wrap{padding:0 16px}
	.tto-cd-hero{padding:24px 0 26px}
	.tto-cd-intro{font-size:15px}
	.tto-cd-search-box{height:52px}
	.tto-cd-search button{width:100%;height:50px}
	.tto-cd-popular{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}
	.tto-cd-popular a{flex-shrink:0}
	.tto-cd-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
	.tto-cd-tile{flex-direction:column;gap:8px;padding:14px 12px;min-height:118px}
	.tto-cd-icon{width:44px;height:44px;border-radius:12px}
	.tto-cd-icon svg{width:24px;height:24px}
	.tto-cd-name{font-size:15px}
	.tto-cd-sub{display:none}
	.tto-cd-count{font-size:12px}
	.tto-cd-btn{width:100%}
}
@media (prefers-reduced-motion:reduce){.tto-cd-tile{transition:none}.tto-cd-tile:hover{transform:none}}

/* Find Local: two sections */
.tto-cd-findlocal .tto-cd-section+.tto-cd-section{margin-top:18px;border-top:1px solid var(--cd-line)}
.tto-cd-section .tto-cd-head h2{display:flex;align-items:center;gap:10px}
.tto-cd-section .tto-cd-head h2::before{content:"";width:12px;height:28px;border-radius:4px;background:var(--cd-accent)}
.tto-cd-reglink{margin:14px 0 0;font-weight:600}
.tto-cd-reglink a{color:var(--cd-accent)!important}
.tto-cd-reglink a:hover{text-decoration:underline}

/* Single category pages */
.tto-cd-term-title{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.tto-cd-term-title h1{margin:0 0 4px}
.tto-cd-term .tto-cd-intro{margin:0}
.tto-cd-icon-lg{width:72px;height:72px;border-radius:18px}
.tto-cd-icon-sm{width:32px;height:32px;border-radius:9px}
.tto-cd-hero-term{padding:30px 0 38px}
.tto-cd-term-body{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start;padding-top:26px}
.tto-cd-side{flex:1 1 240px;max-width:100%;background:#fff;border:1px solid var(--cd-line);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:2px}
.tto-cd-side-title{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--cd-muted);padding:4px 8px 8px}
.tto-cd-side-link{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 8px;border-radius:8px;color:var(--cd-navy)!important;font-size:15px;font-weight:600}
.tto-cd-side-link:hover{background:var(--cd-tint)}
.tto-cd-side-name{flex:1}
.tto-cd-side-n{font-size:13px;color:var(--cd-muted);font-weight:500}
.tto-cd-side-all{padding:10px 8px 4px;font-size:14px;font-weight:700;color:var(--cd-accent)!important}
.tto-cd-results{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:14px}
.tto-cd-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}
.tto-cd-chips{display:flex;flex-wrap:wrap;gap:8px}
.tto-cd-chip{min-height:40px;padding:0 16px;border-radius:20px;font-size:14px;font-weight:600;font-family:inherit;cursor:pointer;border:1px solid #c3cdd9;background:#fff;color:var(--cd-navy);line-height:1}
.tto-cd-chip.is-on{background:var(--cd-navy);border-color:var(--cd-navy);color:#fff}
.tto-cd-chip:focus-visible{outline:3px solid var(--cd-accent);outline-offset:2px}
.tto-cd-showing{font-size:14px;color:var(--cd-muted)}
.tto-cd-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.tto-cd-card{background:#fff;border:1px solid var(--cd-line);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:10px}
.tto-cd-card[hidden]{display:none}
.tto-cd-card-top{display:flex;gap:14px;align-items:flex-start}
.tto-cd-letter{width:52px;height:52px;border-radius:12px;background:var(--cd-accent);color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Fraunces',Georgia,serif;font-size:24px;font-weight:700;flex-shrink:0}
img.tto-cd-logo{object-fit:contain;background:#fff;border:1px solid var(--cd-line)}
.tto-cd-card-head{display:flex;flex-direction:column;gap:5px;min-width:0}
.tto-cd-card-head h3{margin:0;font-size:17px;line-height:1.3;font-family:'Public Sans',system-ui,sans-serif}
.tto-cd-card-head h3 a{color:var(--cd-navy)!important}
.tto-cd-card-head h3 a:hover{text-decoration:underline}
.tto-cd-badge{align-self:flex-start;font-size:12px;font-weight:700;color:var(--cd-dark);background:var(--cd-tint);border-radius:10px;padding:2px 9px}
.tto-cd-desc{margin:0;font-size:14px;line-height:1.5;color:#3c4c60}
.tto-cd-addr{margin:0;font-size:13px;color:var(--cd-muted);display:flex;gap:6px;align-items:flex-start}
.tto-cd-addr svg{flex-shrink:0;margin-top:2px}
.tto-cd-card-btns{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}
.tto-cd-card-btns .tto-cd-btn{flex:1 1 120px;gap:6px;min-height:44px}
.tto-cd-btn-outline{background:#fff;border:1px solid var(--cd-accent);color:var(--cd-accent)!important}
.tto-cd-nomatch,.tto-cd-empty{background:#fff;border:1px dashed #c3cdd9;border-radius:12px;padding:18px;color:var(--cd-muted);margin:0}
.tto-cd-reset{background:none;border:0;padding:0;color:var(--cd-accent);font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
.tto-cd-term .tto-cd-cta{margin-top:10px}
.tto-cd-term .tto-cd-search{margin-top:16px}
@media (max-width:600px){
	.tto-cd-icon-lg{width:52px;height:52px;border-radius:14px}
	.tto-cd-icon-lg svg{width:28px;height:28px}
	.tto-cd-term-title{gap:12px;flex-wrap:nowrap}
	.tto-cd-results{order:1}
	.tto-cd-side{order:2}
	.tto-cd-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px}
	.tto-cd-chip{flex-shrink:0}
	.tto-cd-cards{grid-template-columns:1fr}
	.tto-cd-card-btns .tto-cd-btn{width:auto}
}
