/* Transnet Canada — blog (list + post). Everything is scoped to .tb so the site header/footer are untouched. */
.tb {
    --navy: #17223a;
    --blue: #022568;
    --red: #b32214;
    --red-dark: #931a0f;
    --ink: #141c2e;
    --text: #3a4458;
    --muted: #6b7489;
    --line: #e3e7ee;
    --soft: #f5f7fa;
    --head: "Inter Tight", "Inter", system-ui, sans-serif;
    --body: "Inter", system-ui, sans-serif;
    font-family: var(--body);
    font-size: 16px; /* main.css sets html to 62.5% */
    color: var(--ink);
    background: #fff;
    text-align: left;
}
.tb *, .tb *::before, .tb *::after { box-sizing: border-box; }
.tb a { color: inherit; font-family: inherit; font-size: inherit; line-height: inherit; font-weight: inherit; }
.tb img { max-width: 100%; height: auto; display: block; }
.tb ul, .tb ol { margin: 0; padding: 0; }
.tb li { list-style: none; }
.tb a:focus-visible, .tb button:focus-visible, .tb input:focus-visible { outline: 3px solid #f2b33d; outline-offset: 2px; }
.tb .tb-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.tb h1, .tb h2, .tb h3 { font-family: var(--head); color: var(--ink); text-transform: none; }
.tb p { text-align: left; }

/* topic label used on cards and the post header */
.tb .tb-label { display: inline-block; align-self: flex-start; justify-self: start; width: fit-content; font: 600 12.5px/1 var(--body); letter-spacing: .02em; color: var(--red); background: #fbecea; padding: 7px 10px; border-radius: 6px; margin: 0 0 12px; }
.tb .tb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 14px; color: var(--muted); margin: 0; }
.tb .tb-meta span { display: inline-flex; align-items: center; gap: 7px; }
.tb .tb-meta i { font-size: 13px; color: var(--muted); }

/* ── Hero ──────────────────────────────────────────────── */
.tb .tb-hero { position: relative; color: #fff; background: var(--navy) url("../img/banner1.jpg") center/cover no-repeat; }
.tb .tb-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(23,34,58,.96) 0%, rgba(23,34,58,.88) 45%, rgba(2,37,104,.55) 100%); }
.tb .tb-hero .tb-wrap { position: relative; padding-top: 64px; padding-bottom: 64px; }
.tb .tb-crumbs { font-size: 14px; color: #b9c3d6; margin: 0 0 22px; }
.tb .tb-crumbs a { color: #fff; text-decoration: none; }
.tb .tb-crumbs a:hover { text-decoration: underline; }
.tb .tb-crumbs span { margin: 0 8px; opacity: .6; }
.tb .tb-hero h1 { color: #fff; font-weight: 800; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 16px; max-width: 18ch; }
.tb .tb-hero p.tb-lede { color: #d5dbe7; font-size: 18px; line-height: 1.6; margin: 0 0 30px; max-width: 58ch; }
.tb .tb-hero-search { position: relative; max-width: 560px; }
.tb .tb-hero-search input { width: 100%; height: 58px; border: 0; border-radius: 10px; padding: 0 140px 0 52px; font: 400 16px var(--body); color: var(--ink); background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.tb .tb-hero-search i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 16px; }
.tb .tb-hero-search button { position: absolute; right: 7px; top: 7px; height: 44px; padding: 0 22px; border: 0; border-radius: 7px; background: var(--red); color: #fff; font: 600 15px var(--body); cursor: pointer; }
.tb .tb-hero-search button:hover { background: var(--red-dark); }

/* ── Top stories ───────────────────────────────────────── */
.tb .tb-top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; padding: 56px 0 8px; }
.tb .tb-top > * { min-width: 0; }
.tb .tb-lead { display: block; text-decoration: none; }
.tb .tb-lead .tb-img { border-radius: 14px; overflow: hidden; margin-bottom: 20px; }
.tb .tb-lead img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .4s ease; }
.tb .tb-lead h2 { font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 12px; }
.tb .tb-lead p.tb-ex { font-size: 16.5px; line-height: 1.65; color: var(--text); margin: 0 0 16px; }
.tb .tb-side { display: grid; gap: 22px; align-content: start; }
.tb .tb-side-item { display: grid; grid-template-columns: 1fr; text-decoration: none; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.tb .tb-side-item:last-child { border-bottom: 0; padding-bottom: 0; }
.tb .tb-side-item .tb-img { border-radius: 12px; overflow: hidden; margin-bottom: 14px; }
.tb .tb-side-item img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .4s ease; }
.tb .tb-side-item h3 { font-weight: 700; font-size: 19px; line-height: 1.3; margin: 0 0 10px; }
.tb .tb-lead:hover img, .tb .tb-side-item:hover img, .tb .tb-card:hover img { transform: scale(1.03); }
.tb .tb-lead:hover h2, .tb .tb-side-item:hover h3, .tb .tb-card:hover h3 { color: var(--blue); }

/* ── Topic tabs ────────────────────────────────────────── */
.tb .tb-browse { padding: 56px 0 0; }
.tb .tb-browse-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.tb .tb-browse-head h2 { font-weight: 800; font-size: 30px; letter-spacing: -.015em; margin: 0; }
.tb .tb-count { font-size: 15px; color: var(--muted); margin: 0; }
.tb .tb-tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tb .tb-tabs::-webkit-scrollbar { display: none; }
.tb .tb-tab { flex: 0 0 auto; font: 500 15px/1 var(--body); color: var(--muted); background: none; border: 0; border-bottom: 3px solid transparent; padding: 14px 12px 13px; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
.tb .tb-tab:hover { color: var(--ink); }
.tb .tb-tab[aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--red); }
.tb .tb-tab small { font-size: 12px; color: var(--muted); font-weight: 500; margin-left: 4px; }

/* ── Cards ─────────────────────────────────────────────── */
.tb .tb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; padding: 32px 0 0; }
.tb .tb-grid > li { min-width: 0; }
.tb .tb-card { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.tb .tb-card .tb-img { border-radius: 12px; overflow: hidden; margin-bottom: 16px; background: var(--soft); }
.tb .tb-card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .4s ease; }
.tb .tb-card h3 { font-weight: 700; font-size: 19.5px; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 10px; }
.tb .tb-card p.tb-ex { font-size: 15.5px; line-height: 1.6; color: var(--text); margin: 0 0 14px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tb .tb-card .tb-meta { margin-top: auto; font-size: 13.5px; }
.tb .tb-more-row { text-align: center; padding: 44px 0 0; }
.tb .tb-browse { padding-bottom: 80px; }
.tb .tb-btn-outline { display: inline-flex; align-items: center; gap: 10px; font: 600 15px var(--body); color: var(--ink); background: #fff; border: 1.5px solid #c7cfdc; border-radius: 10px; padding: 14px 26px; cursor: pointer; text-decoration: none; }
.tb .tb-btn-outline:hover { border-color: var(--ink); }
.tb .tb-empty { padding: 48px 0 0; font-size: 17px; color: var(--muted); }
.tb .tb-empty button { font: 600 16px var(--body); color: var(--blue); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* ── Quote band ────────────────────────────────────────── */
.tb .tb-band { margin-top: 80px; background: var(--navy); color: #fff; }
.tb .tb-band .tb-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.tb .tb-band h2 { color: #fff; font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.015em; margin: 0 0 6px; }
.tb .tb-band p { color: #c5cddd; font-size: 17px; margin: 0; }
.tb .tb-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tb .tb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font: 600 15.5px/1 var(--body); padding: 16px 24px; border-radius: 10px; text-decoration: none; }
.tb .tb-btn i { font-size: 14px; }
.tb .tb-btn-red { background: var(--red); color: #fff; }
.tb .tb-btn-red:hover { background: var(--red-dark); color: #fff; }
.tb .tb-btn-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.tb .tb-btn-light:hover { border-color: #fff; color: #fff; }

/* ── Post ──────────────────────────────────────────────── */
.tb .tb-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: var(--red); z-index: 2000; }
.tb .tb-post-head { background: var(--soft); border-bottom: 1px solid var(--line); }
.tb .tb-post-head .tb-wrap { padding-top: 34px; padding-bottom: 150px; }
.tb .tb-post-head .tb-crumbs { color: var(--muted); }
.tb .tb-post-head .tb-crumbs a { color: var(--blue); }
.tb .tb-post-head h1 { font-weight: 800; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 22px; max-width: 24ch; }
.tb .tb-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.tb .tb-author { display: flex; align-items: center; gap: 12px; }
.tb .tb-author img { width: 46px; height: 46px; object-fit: contain; border-radius: 50%; background: #fff; border: 1px solid var(--line); padding: 5px; }
.tb .tb-author strong { display: block; font-size: 15px; color: var(--ink); }
.tb .tb-share { display: flex; align-items: center; gap: 8px; }
.tb .tb-share span { font-size: 14px; color: var(--muted); margin-right: 4px; }
.tb .tb-share a, .tb .tb-share button { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid #ccd3df; background: #fff; color: var(--ink); font-size: 15px; cursor: pointer; text-decoration: none; padding: 0; }
.tb .tb-share a:hover, .tb .tb-share button:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.tb .tb-share button.is-copied { background: #18794e; border-color: #18794e; color: #fff; }
.tb .tb-post-hero { margin-top: -120px; }
.tb .tb-post-hero img { width: 100%; aspect-ratio: 2/1; object-fit: cover; border-radius: 16px; box-shadow: 0 20px 50px rgba(20,28,46,.15); }
.tb .tb-post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 64px; padding: 48px 0 0; align-items: start; }
.tb .tb-post-grid > * { min-width: 0; }

.tb .tb-article { max-width: 72ch; font-size: 18px; line-height: 1.78; }
.tb .tb-article p, .tb .tb-article li { font-family: var(--body); font-size: 18px; line-height: 1.78; color: var(--text); text-align: left; font-weight: 400; }
.tb .tb-article > p:first-child { font-size: 20px; line-height: 1.7; color: var(--ink); }
.tb .tb-article p { margin: 0 0 1.2em; }
.tb .tb-article h2 { font-family: var(--head); font-weight: 800 !important; font-size: 29px; line-height: 1.2; letter-spacing: -.015em; color: var(--ink); margin: 1.9em 0 .6em; scroll-margin-top: 110px; }
.tb .tb-article h3 { font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--ink); margin: 1.6em 0 .5em; }
.tb .tb-article ul, .tb .tb-article ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.tb .tb-article ul li { list-style: disc; margin-bottom: .5em; }
.tb .tb-article ol li { list-style: decimal; margin-bottom: .5em; }
.tb .tb-article li::marker { color: var(--red); }
.tb .tb-article a { color: var(--blue); text-decoration: underline; text-decoration-color: #a9b8d8; text-underline-offset: 3px; }
.tb .tb-article a:hover { text-decoration-color: var(--blue); }
.tb .tb-article img { max-width: 100%; height: auto; border-radius: 12px; margin: 1.5em 0; }
.tb .tb-article table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 16px; }
.tb .tb-article th, .tb .tb-article td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; }
.tb .tb-article th { background: var(--soft); font-weight: 600; }
.tb .tb-article blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--red); background: var(--soft); border-radius: 0 10px 10px 0; color: var(--ink); }
.tb .tb-article p.related-reading { margin: 2.4em 0 .6em; font-family: var(--head); font-size: 20px; color: var(--ink); }

.tb .tb-aside { position: sticky; top: 110px; display: grid; gap: 22px; }
.tb .tb-box { border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 18px; background: #fff; }
.tb .tb-box h2 { font-weight: 700; font-size: 17px; margin: 0 0 12px; }
.tb .tb-toc li { font-size: 14.5px; line-height: 1.4; }
.tb .tb-toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; font-family: var(--body); }
.tb .tb-toc a:hover { color: var(--ink); }
.tb .tb-toc a.is-current { color: var(--ink); font-weight: 600; border-left-color: var(--red); }
.tb .tb-quote { background: var(--navy); color: #fff; border-radius: 14px; padding: 26px 24px; }
.tb .tb-quote h2 { color: #fff; font-weight: 800; font-size: 22px; line-height: 1.2; margin: 0 0 10px; }
.tb .tb-quote p { color: #c5cddd; font-size: 15px; line-height: 1.55; margin: 0 0 20px; }
.tb .tb-quote .tb-btn { display: flex; width: 100%; }
.tb .tb-quote .tb-btn + .tb-btn { margin-top: 10px; }
.tb .tb-quote ul { margin: 18px 0 0; display: grid; gap: 8px; }
.tb .tb-quote li { font-size: 14px; color: #d5dbe7; display: flex; gap: 9px; align-items: baseline; }
.tb .tb-quote li i { color: #6fcf97; font-size: 12px; }

.tb .tb-about { display: flex; gap: 20px; align-items: flex-start; margin: 48px 0 0; padding: 26px; border-radius: 14px; background: var(--soft); max-width: 72ch; }
.tb .tb-about img { width: 64px; height: 64px; object-fit: contain; border-radius: 50%; background: #fff; border: 1px solid var(--line); padding: 7px; flex: 0 0 auto; }
.tb .tb-about h2 { font-weight: 700; font-size: 18px; margin: 0 0 6px; }
.tb .tb-about p { font-size: 15.5px; line-height: 1.6; color: var(--text); margin: 0 0 10px; }
.tb .tb-about a { color: var(--blue); font-weight: 600; font-size: 15px; }

.tb .tb-related { padding: 80px 0 0; }
.tb .tb-related-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; }
.tb .tb-related-head h2 { font-weight: 800; font-size: 30px; letter-spacing: -.015em; margin: 0; }
.tb .tb-related-head a { color: var(--blue); font-weight: 600; }
.tb .tb-related .tb-grid { padding-top: 26px; }

@media (max-width: 991px) {
    .tb .tb-top { grid-template-columns: 1fr; }
    .tb .tb-side { grid-template-columns: 1fr 1fr; gap: 24px; }
    .tb .tb-side-item { border-bottom: 0; padding-bottom: 0; }
    .tb .tb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tb .tb-post-grid { grid-template-columns: 1fr; gap: 36px; }
    .tb .tb-aside { position: static; }
    .tb .tb-toc { display: none; }
}
@media (max-width: 600px) {
    .tb .tb-wrap { padding: 0 16px; }
    .tb .tb-hero .tb-wrap { padding-top: 40px; padding-bottom: 44px; }
    .tb .tb-hero-search input { height: 52px; padding-right: 16px; }
    .tb .tb-hero-search button { display: none; }
    .tb .tb-top { padding-top: 36px; }
    .tb .tb-side { grid-template-columns: 1fr; }
    .tb .tb-grid { grid-template-columns: 1fr; gap: 32px; }
    .tb .tb-post-head .tb-wrap { padding-bottom: 90px; }
    .tb .tb-post-hero { margin-top: -70px; }
    .tb .tb-post-hero img { aspect-ratio: 16/10; }
    .tb .tb-article p, .tb .tb-article li { font-size: 17px; }
    .tb .tb-article > p:first-child { font-size: 18.5px; }
    .tb .tb-about { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .tb .tb-lead img, .tb .tb-side-item img, .tb .tb-card img { transition: none; }
    .tb .tb-lead:hover img, .tb .tb-side-item:hover img, .tb .tb-card:hover img { transform: none; }
}

/* Same header rule every other page template adds: keep menu labels ("ABOUT US", "OUR SERVICES") on one line. */
.header .header-list .list-text { white-space: nowrap; }

/* ── Service landing pages (/charter-bus-rental-toronto etc.) ── */
.tb-lp .tb-lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.tb-lp .tb-lp-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; }
.tb-lp .tb-lp-facts li { color: #d5dbe7; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.tb-lp .tb-lp-facts i { color: #6fcf97; font-size: 13px; }
.tb-lp .tb-lp-section { padding: 64px 0 0; }
.tb-lp .tb-lp-section > h2, .tb-lp .tb-lp-split h2 { font-weight: 800; font-size: 30px; letter-spacing: -.015em; margin: 0 0 24px; }
.tb-lp .tb-lp-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tb-lp .tb-lp-benefits li { border-top: 3px solid var(--red); padding: 18px 2px 0; }
.tb-lp .tb-lp-benefits h3 { font-weight: 700; font-size: 18px; line-height: 1.3; margin: 0 0 8px; }
.tb-lp .tb-lp-benefits p { font-size: 15.5px; line-height: 1.6; color: var(--text); margin: 0; }
.tb-lp .tb-lp-fleet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tb-lp .tb-lp-fleet li { background: var(--soft); border-radius: 14px; padding: 26px 24px; }
.tb-lp .tb-lp-fleet i { font-size: 26px; color: var(--blue); margin-bottom: 14px; display: block; }
.tb-lp .tb-lp-fleet h3 { font-weight: 700; font-size: 19px; margin: 0 0 6px; }
.tb-lp .tb-lp-fleet p { font-size: 15.5px; line-height: 1.55; color: var(--text); margin: 0; }
.tb-lp .tb-lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.tb-lp .tb-lp-uses { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.tb-lp .tb-lp-uses li { font-size: 16px; color: var(--ink); padding-left: 22px; position: relative; line-height: 1.5; }
.tb-lp .tb-lp-uses li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.tb-lp .tb-lp-steps { counter-reset: step; display: grid; gap: 16px; }
.tb-lp .tb-lp-steps li { counter-increment: step; position: relative; padding-left: 48px; font-size: 16px; line-height: 1.6; color: var(--text); }
.tb-lp .tb-lp-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 15px/32px var(--body); text-align: center; }
.tb-lp .tb-lp-steps strong { color: var(--ink); }
.tb-lp .tb-lp-faq details { border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; background: #fff; }
.tb-lp .tb-lp-faq summary { font: 600 17px/1.4 var(--body); color: var(--ink); cursor: pointer; }
.tb-lp .tb-lp-faq details[open] { border-color: #c9d2e3; }
.tb-lp .tb-lp-faq details p { font-size: 16px; line-height: 1.65; color: var(--text); margin: 12px 0 0; }
.tb-lp .tb-lp-others { display: flex; flex-wrap: wrap; gap: 10px; }
.tb-lp .tb-lp-others a { display: inline-block; font: 500 15px var(--body); color: var(--blue); border: 1.5px solid #c9d2e3; border-radius: 999px; padding: 10px 18px; text-decoration: none; }
.tb-lp .tb-lp-others a:hover { border-color: var(--blue); }
@media (max-width: 991px) {
    .tb-lp .tb-lp-benefits { grid-template-columns: 1fr 1fr; }
    .tb-lp .tb-lp-fleet { grid-template-columns: 1fr; }
    .tb-lp .tb-lp-split { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
    .tb-lp .tb-lp-benefits, .tb-lp .tb-lp-uses { grid-template-columns: 1fr; }
}
