/* The homepage sets the shared page frame: 1320px of content with responsive gutters. */
:root{--site-content-width:1320px;--site-gutter:60px}
body>main#main-content,body>.site-header,body>footer,.agency-footer-note{
  box-sizing:border-box;
  width:100%;
  max-width:calc(var(--site-content-width) + 2 * var(--site-gutter));
  margin-inline:auto;
  padding-inline:var(--site-gutter);
}
body>main#main-content .landing-content{max-width:none}
@media(max-width:1100px){:root{--site-gutter:35px}}
@media(max-width:800px){:root{--site-gutter:28px}}
@media(max-width:500px){:root{--site-gutter:22px}}
@media(max-width:360px){:root{--site-gutter:18px}}

/* Best of the GTA: independent ranking pages, the rankings hub, the badge page and the ranking card on profession pages. Written for programmatic-seo/best_of.py. */
.best-page{--best-line:var(--line,#b7c6d9);--best-ink:var(--ink,#122b43);--best-accent:var(--gold,#2158db);--best-paper:var(--paper,#edf3ff);--best-text:var(--reading-text,#354b60)}
.best-page .best-hero{padding:8px 0 4px;max-width:900px}
.best-page .best-hero h1{margin:10px 0 14px}
.best-page .best-byline{font-size:13px;color:var(--best-text);margin:14px 0 0}
.best-page .best-byline strong{color:var(--best-ink)}
.best-page section{scroll-margin-top:90px}
.best-page .best-section{margin:56px 0}
.best-page .best-section>h2{margin-bottom:10px}
.best-page .best-section>p.best-section-intro{max-width:860px;color:var(--best-text)}
.best-page .best-section h3{font-size:19px;margin:26px 0 6px}
.best-page .best-section>p{max-width:860px}
.best-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border:1px solid var(--best-line);border-radius:10px;background:#fff;margin:28px 0 0;overflow:hidden}
.best-summary div{padding:16px 18px;border-left:1px solid var(--best-line)}
.best-summary div:first-child{border-left:0}
.best-summary dt{font-size:12px;line-height:1.45;color:var(--best-text);margin:0 0 6px}
.best-summary dd{margin:0;font-size:24px;font-weight:700;color:var(--best-ink);font-variant-numeric:tabular-nums;line-height:1.2}
.best-summary dd small{display:block;font-size:12px;font-weight:500;color:var(--best-text)}
.best-toc{border-top:1px solid var(--best-line);border-bottom:1px solid var(--best-line);padding:18px 0;margin:36px 0 0}
.best-toc h2{font-size:14px;letter-spacing:.4px;margin:0 0 10px}
.best-toc ol{display:flex;flex-wrap:wrap;gap:8px 26px;margin:0;padding:0;list-style:none;counter-reset:toc}
.best-toc li{counter-increment:toc;font-size:14px}
.best-toc li:before{content:counter(toc) ". ";color:var(--best-text)}
.best-table-wrap{border:1px solid var(--best-line);border-radius:10px;background:#fff;margin:20px 0 0;overflow:hidden}
.best-cards{list-style:none;margin:20px 0 0;padding:0}
.best-cards>li{margin:0}
.best-company{border-top:1px solid var(--best-line);padding:34px 0 8px}
.best-company-head{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:baseline;justify-content:space-between}
.best-company h3{font-size:24px;margin:0}
.best-company h3 span{color:var(--best-accent);margin-right:8px;font-variant-numeric:tabular-nums}
.best-company-score{font-size:15px;color:var(--best-text);margin:0}
.best-company-score b{font-size:22px;color:var(--best-ink)}
.best-pills{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 4px;padding:0;list-style:none}
.best-pills li{font-size:12px;border:1px solid var(--best-line);border-radius:999px;padding:3px 11px;background:#fff;color:var(--best-ink)}
/* Disclosure for a ranked GTA AI SEO client (owner decision, 29 November 2026): same rules, no extra points, always labelled. */
.best-pills li.best-client{background:#fff6dc;border-color:#946e00;color:#4d3a00}
.best-company .best-intro{font-size:17px;line-height:1.7;max-width:880px;margin:14px 0}
.best-facts{display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr);margin:18px 0;border-top:1px solid var(--best-line)}
.best-facts dt,.best-facts dd{padding:12px 0;border-bottom:1px solid var(--best-line);margin:0;font-size:15px;line-height:1.6}
.best-facts dt{font-weight:600;color:var(--best-ink);padding-right:18px}
.best-facts dd{color:var(--best-text)}
.best-facts ul{margin:0;padding-left:18px}
.best-facts li{margin:2px 0}
/* One card per company (owner, 29 November 2026): key facts, points for each criterion and the badge. */
.best-keyfacts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--best-line);border:1px solid var(--best-line);border-radius:10px;overflow:hidden;margin:16px 0}
.best-keyfacts div{background:#fff;padding:12px 16px;min-width:0}
.best-keyfacts dt{font-size:12px;line-height:1.4;color:var(--best-text);margin:0 0 4px}
.best-keyfacts dd{margin:0;font-size:15px;font-weight:600;line-height:1.4;color:var(--best-ink);overflow-wrap:anywhere}
.best-facts .best-points{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.best-facts .best-points li{margin:0;font-size:13px;line-height:1.4;border:1px solid var(--best-line);border-radius:8px;padding:3px 9px;background:#fff;white-space:nowrap}
.best-points b{color:var(--best-ink)}
.best-card-badge{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;border:1px solid var(--best-line);border-radius:12px;background:var(--best-paper);padding:16px 18px;margin:18px 0 6px}
.best-card-badge img{width:250px;max-width:100%;height:auto;flex:none}
.best-card-badge p{flex:1 1 260px;margin:0;font-size:15px;line-height:1.55;color:var(--best-text)}
.best-card-badge strong{color:var(--best-ink)}
.best-card-badge a{font-weight:600}
.best-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 34px;margin-top:18px}
.best-guide h3{font-size:18px!important;margin:0 0 6px!important}
.best-guide p{margin:0 0 8px;font-size:15px;color:var(--best-text)}
.best-page #faq details>p{font-size:15px}
.best-more{border-top:1px solid var(--best-line)}
.best-more>summary{color:var(--best-accent)}
.best-kicker{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--best-accent);margin:0 0 6px}
.best-pro{border:1px solid var(--best-line);border-left:4px solid var(--best-accent);border-radius:10px;background:var(--best-paper);padding:22px 26px;margin:44px 0}
.best-pro h2{font-size:24px;margin:0 0 8px}
.best-pro p{max-width:820px;color:var(--best-text);margin:0}
.best-actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0 0!important}
.best-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;border-radius:999px;border:1px solid var(--best-ink);color:var(--best-ink);background:#fff;font-weight:600;font-size:15px;line-height:1.2;text-decoration:none}
.best-btn-primary{background:var(--best-ink);color:#fff}
.best-btn:hover,.best-btn:focus-visible{border-color:var(--best-accent);color:var(--best-accent)}
.best-btn-primary:hover,.best-btn-primary:focus-visible{background:var(--best-accent);color:#fff}
.best-owners{border-top:1px solid var(--best-line);padding-top:44px;margin-bottom:64px!important}
.best-owners p{color:var(--best-text);max-width:860px}
.best-owners .best-actions{margin:22px 0 16px!important}
.best-findings{list-style:none;padding:0;margin:14px 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.best-findings li{border:1px solid var(--best-line);border-radius:10px;background:#fff;padding:16px 18px}
.best-findings b{display:block;font-size:26px;color:var(--best-ink);font-variant-numeric:tabular-nums;line-height:1.15}
.best-findings span{display:block;font-size:14px;color:var(--best-text);margin-top:4px}
.best-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 0}
.best-service{display:block;border:1px solid var(--best-line);border-radius:10px;background:#fff;padding:16px 18px;text-decoration:none;color:var(--best-ink)}
.best-service strong{display:block;font-size:17px;margin-bottom:4px}
.best-service span{display:block;font-size:14px;line-height:1.5;color:var(--best-text)}
.best-service:hover,.best-service:focus-visible{border-color:var(--best-accent)}
.best-owner-note{border:1px solid var(--best-line);border-radius:10px;background:var(--best-paper);padding:18px 22px;margin:28px 0 0}
.best-owner-note h3{margin:0 0 6px!important;font-size:18px!important}
.best-owner-note p{font-size:15px;margin:8px 0 0}
.best-sources{font-size:13px;color:var(--best-text)}
.best-page .visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.best-hub-list{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.best-hub-card{display:block;height:100%;border:1px solid var(--best-line);border-radius:12px;background:#fff;padding:20px 22px;text-decoration:none;color:var(--best-ink)}
.best-hub-card strong{display:block;font-size:19px;line-height:1.3;margin-bottom:6px}
.best-hub-card span{display:block;font-size:15px;color:var(--best-text)}
.best-hub-card small{display:block;margin-top:10px;font-size:13px;color:var(--best-text)}
.best-hub-card:hover,.best-hub-card:focus-visible{border-color:var(--best-accent)}
.best-badges{list-style:none;margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:16px}
.best-badges>li{border:1px solid var(--best-line);border-radius:12px;background:#fff;padding:18px;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-content:start;min-width:0}
.best-badges h3{font-size:17px!important;margin:0!important}
.best-badges img{width:100%;max-width:360px;height:auto}
.best-badges pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.5;background:var(--best-paper);border:1px solid var(--best-line);border-radius:8px;padding:10px 12px}
.best-badges p{margin:0;font-size:14px;color:var(--best-text);overflow-wrap:anywhere}
.best-badges>li[id]{scroll-margin-top:90px}
.best-badges strong{color:var(--best-ink)}
.best-downloads{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.best-downloads li{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.best-downloads span{min-width:104px;font-size:14px;color:var(--best-text)}
.best-downloads small{font-size:13px;color:var(--best-text)}
.best-downloads a{display:inline-flex;align-items:center;min-height:40px;padding:4px 16px;border:1px solid var(--best-line);border-radius:999px;background:#fff;font-size:14px;font-weight:600;color:var(--best-ink);text-decoration:none}
.best-downloads a:hover,.best-downloads a:focus-visible{border-color:var(--best-accent);color:var(--best-accent)}
.best-steps{max-width:860px;margin:12px 0 0;padding-left:22px}
.best-steps li{margin:8px 0;color:var(--best-text);line-height:1.6}
.best-steps strong{color:var(--best-ink)}
.best-of-card{border:1px solid var(--line,#b7c6d9);border-left:4px solid var(--gold,#2158db);border-radius:12px;background:#fff;padding:22px 24px;margin:40px 0}
.best-of-card h2{font-size:22px;margin:0 0 8px;color:var(--ink,#122b43)}
.best-of-card p{margin:0 0 10px;color:var(--reading-text,#354b60)}
.best-of-card p:last-child{margin-bottom:0}
.best-of-card a{font-weight:600}
/* /best/ by industry group, profession and city, with a search box; /best/<profession>/ lists its cities (owner, 30 November 2026). */
.best-page [hidden]{display:none!important}
.best-finder{max-width:560px;margin:30px 0 0}
.best-finder label{display:block;font-size:15px;font-weight:600;color:var(--best-ink);margin:0 0 8px}
.best-finder input{display:block;width:100%;min-height:48px;padding:10px 18px;border:1px solid var(--best-line);border-radius:999px;background:#fff;color:var(--best-ink);font:inherit;font-size:16px;-webkit-appearance:none;appearance:none}
.best-finder input:focus{outline:2px solid var(--best-accent);outline-offset:2px;border-color:var(--best-accent)}
.best-finder-status{min-height:22px;margin:8px 0 0;font-size:14px;color:var(--best-text)}
.best-page .best-group{margin:44px 0}
.best-profession{margin:18px 0 0}
.best-page .best-profession h3{font-size:21px;margin:0 0 4px}
.best-profession h3 a{color:var(--best-ink);text-decoration:none}
.best-profession h3 a:hover,.best-profession h3 a:focus-visible{color:var(--best-accent);text-decoration:underline}
.best-city-list{grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr))}
@media (max-width:980px){.best-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.best-summary div:nth-child(4){border-left:0}.best-summary div:nth-child(n+4){border-top:1px solid var(--best-line)}}
@media (max-width:760px){
.best-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
.best-summary div{border-left:0!important;border-top:1px solid var(--best-line)}
.best-summary div:nth-child(-n+2){border-top:0}
.best-summary div:nth-child(even){border-left:1px solid var(--best-line)!important}
.best-summary dd{font-size:21px}
.best-criteria thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.best-criteria,.best-criteria tbody{display:block;width:auto}
.best-criteria tr{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;border-bottom:1px solid var(--best-line);padding:12px 14px}
.best-criteria th,.best-criteria td{display:block;border:0;padding:0;overflow-wrap:anywhere}
.best-criteria td:last-child{grid-column:1/-1;padding-top:4px}
.best-criteria td.num:after{content:" points"}
.best-criteria tbody tr:last-child{border-bottom:0}
.best-toc ol{flex-direction:column;gap:8px}
.best-findings{grid-template-columns:repeat(2,minmax(0,1fr))}
.best-services,.best-hub-list{grid-template-columns:1fr}
.best-pro{padding:18px 18px 20px}
.best-pro h2{font-size:21px}
.best-btn{width:100%}
.best-facts{grid-template-columns:1fr}
.best-keyfacts{grid-template-columns:repeat(2,minmax(0,1fr))}
.best-keyfacts div{padding:10px 12px}
.best-card-badge{padding:14px}
.best-card-badge img{width:100%;max-width:300px}
.best-facts dt{border-bottom:0;padding-bottom:2px}
.best-facts dd{padding-top:0}
.best-guide{grid-template-columns:1fr}
.best-company h3{font-size:21px}
.best-of-card{padding:18px}
}

/* Version 2.1 rankings (owner, 1 December 2026): the full assessment record page, with every point for every finalist and every business found. */
.best-calc-block{border-top:1px solid var(--best-line);padding:18px 0 6px}.best-calc-block h3{margin:0 0 4px}
.best-calc-block ul{margin:8px 0 0;padding-left:18px;font-size:14px;line-height:1.55}.best-calc-block li{margin:4px 0}
.best-formula li{margin:8px 0;line-height:1.6}
.best-records{width:100%;border-collapse:collapse;font-size:14px;line-height:1.45}
.best-records caption{caption-side:top;text-align:left;font-size:12px;color:var(--best-text);padding:10px 14px}
.best-records th,.best-records td{padding:9px 14px;border-top:1px solid var(--best-line);text-align:left;vertical-align:top}
.best-records thead th{background:var(--best-paper);font-size:12px;color:var(--best-ink)}.best-records th[scope=row]{font-weight:600}
.best-records td.num{white-space:nowrap;font-variant-numeric:tabular-nums}
@media (max-width:700px){.best-records thead{display:none}.best-records tr{display:block;border-top:1px solid var(--best-line);padding:8px 0}.best-records th,.best-records td{display:block;border:0;padding:2px 14px}.best-records td[data-label]:before{content:attr(data-label) ": ";font-weight:600;color:var(--best-ink)}}
/* The site's own panels on the ranking page (owner, 1 December 2026: "this page should be like that too"): the research figures in the
   dark blue band of the client example, method and buying guide in the light-blue panel with white cards used for neighbourhoods,
   the business owners' section in the panel of the starting budget. Eyebrows use the site's .eyebrow from guides.css. */
.best-page .best-band{background:#1c3eb8;border:0;border-radius:14px;color:#fff}
.best-page .best-band div{border-color:rgba(255,255,255,.24)!important}
.best-page .best-band dt,.best-page .best-band dd small{color:#dbe6ff}
.best-page .best-band dd{color:#fff}
.best-page .best-panel{background:#f1f6fd;border:1px solid #c8d7eb;border-radius:18px;padding:clamp(18px,3.6vw,46px)}
.best-page .best-section>.eyebrow,.best-page .best-pro>.eyebrow{margin:0 0 12px;color:var(--gold,#2158db)}
.best-page .best-panel>h2{margin-top:0}
.best-page .best-guide-cards{gap:16px}
.best-page .best-guide-cards>div{background:#fff;border:1px solid #cad8e7;border-radius:12px;padding:clamp(15px,2vw,25px);color:#18334a}
.best-page .best-panel-plans{background:#edf3ff;border:1px solid #afc2df;border-radius:18px;padding:clamp(18px,3.6vw,46px)}
.best-page .best-panel-plans .best-owner-note{background:#fff;border:1px solid #cad8e7;border-radius:12px;padding:clamp(15px,2vw,25px)}
.best-badge-index{list-style:none;margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));gap:16px}.best-badge-index>li{border:1px solid var(--best-line);border-radius:12px;background:#fff;padding:18px;display:grid;gap:8px;align-content:start;min-width:0}.best-badge-index h3{font-size:17px!important;margin:0!important}.best-badge-index p{margin:0;font-size:14px;color:var(--best-text)}.best-badge-names{margin:0;padding-left:20px;display:grid;gap:4px;font-size:14px}.best-badge-names li[id]{scroll-margin-top:90px}
