/* HQ_CARGO_HUB_DESIGN=a|b|c (default off). Visual-only restyle of the cargo hub page.
   Brand: navy #0F1B33 / #172946, orange #F79B07 / #FFAA24, white. No new words. */

/* ===== Design A: big state picker, compact cargo chips ===== */
html body.qpage .cg-hub-d-a header.pg-hero{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:16px!important;
  background:#0F1B33!important;border-radius:16px!important;padding:20px 22px!important;margin:0 0 18px!important;
  box-shadow:none!important;border-bottom:4px solid #F79B07!important
}
html body.qpage .cg-hub-d-a header.pg-hero h1{
  margin:0!important;font-size:clamp(22px,3.2vw,30px)!important;line-height:1.15!important;font-weight:800!important;color:#fff!important
}
html body.qpage .cg-hub-d-a header.pg-hero .hq-pin,
html body.qpage .cg-hub-d-a header.pg-hero .hq-pin img{width:72px!important;max-width:72px!important;height:auto!important;max-height:48px!important}
html body.qpage .cg-hub-d-a > p.dir-lead{
  margin:0 0 8px!important;font-size:16px!important;line-height:1.5!important;color:#2A3850!important;max-width:46em
}
html body.qpage .cg-hub-d-a > p.dir-note{
  margin:0 0 22px!important;font-size:14px!important;line-height:1.45!important;color:#4A5D73!important
}
html body.qpage .cg-hub-d-a .dir-cities-sec{
  margin:0 0 28px!important;padding:28px 24px 32px!important;background:#fff!important;border:1px solid #E2E8F0!important;
  border-radius:18px!important;box-shadow:0 10px 28px rgba(15,27,51,.08)!important
}
html body.qpage .cg-hub-d-a .dir-cities-sec h2{
  margin:0 0 16px!important;padding:0!important;border:0!important;font-size:22px!important;font-weight:800!important;color:#0F1B33!important
}
html body.qpage .cg-hub-d-a .cg-state-pick{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important
}
html body.qpage .cg-hub-d-a .cg-state-pick label{
  font-size:13px!important;font-weight:800!important;letter-spacing:.06em!important;text-transform:uppercase!important;color:#4A5D73!important
}
html body.qpage .cg-hub-d-a .cg-state-pick select{
  min-height:60px!important;width:100%!important;max-width:none!important;padding:12px 44px 12px 16px!important;
  background:#fff!important;border:2px solid #0F1B33!important;border-radius:14px!important;
  color:#0F1B33!important;font-size:18px!important;font-weight:700!important;cursor:pointer!important;
  box-shadow:0 2px 0 #F79B07!important
}
html body.qpage .cg-hub-d-a .cg-state-pick select:hover{border-color:#F79B07!important}
html body.qpage .cg-hub-d-a .cg-state-pick select:focus-visible{outline:3px solid #FFAA24!important;outline-offset:2px!important}
html body.qpage .cg-hub-d-a .dir-related{margin:0 0 8px!important;padding:0!important;background:transparent!important;box-shadow:none!important}
html body.qpage .cg-hub-d-a .dir-related h2{
  margin:0 0 14px!important;padding:0!important;border:0!important;font-size:20px!important;font-weight:800!important;color:#0F1B33!important
}
html body.qpage .cg-hub-d-a ul.dir-related-list{
  display:flex!important;flex-wrap:wrap!important;gap:10px!important;list-style:none!important;padding:0!important;margin:0!important
}
html body.qpage .cg-hub-d-a ul.dir-related-list>li{margin:0!important;min-height:0!important;display:block!important;padding:0!important;border:0!important;background:transparent!important}
html body.qpage .cg-hub-d-a ul.dir-related-list a.dir-co-row{
  display:inline-flex!important;align-items:center!important;gap:8px!important;min-height:48px!important;
  padding:8px 14px!important;background:#fff!important;border:1px solid #D5D9E0!important;border-radius:999px!important;
  box-shadow:none!important;color:#0F1B33!important;text-decoration:none!important
}
html body.qpage .cg-hub-d-a ul.dir-related-list a.dir-co-row:hover{
  border-color:#F79B07!important;background:#FFF8EC!important;transform:none!important
}
html body.qpage .cg-hub-d-a ul.dir-related-list .dir-row-ic{display:inline-flex!important;flex:0 0 auto!important;width:22px!important;height:22px!important}
html body.qpage .cg-hub-d-a ul.dir-related-list .dir-row-ic img{width:22px!important;height:22px!important}
html body.qpage .cg-hub-d-a ul.dir-related-list .dir-row-t{font-size:15px!important;font-weight:700!important;line-height:1.25!important;color:#0F1B33!important}
html body.qpage .cg-hub-d-a ul.dir-related-list .dir-row-chev{display:none!important}
html body.qpage .cg-hub-d-a aside.pg-cta{margin-top:28px!important}
@media (max-width:767px){
  html body.qpage .cg-hub-d-a header.pg-hero{padding:16px!important;gap:12px!important}
  html body.qpage .cg-hub-d-a header.pg-hero h1{font-size:22px!important}
  html body.qpage .cg-hub-d-a .dir-cities-sec{padding:20px 16px 22px!important}
  html body.qpage .cg-hub-d-a ul.dir-related-list{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  html body.qpage .cg-hub-d-a ul.dir-related-list a.dir-co-row{width:100%!important;box-sizing:border-box!important;border-radius:14px!important;padding:10px 12px!important}
}

/* ===== Design B: navy picker panel + icon card grid ===== */
html body.qpage .qwrap.cg-hub-des-b{max-width:1040px!important}
html body.qpage .cg-hub-d-b header.pg-hero{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:18px!important;
  background:#172946!important;border-radius:8px!important;padding:26px 28px!important;margin:0 0 20px!important;
  box-shadow:0 12px 32px rgba(15,27,51,.18)!important;border:0!important;border-left:8px solid #F79B07!important
}
html body.qpage .cg-hub-d-b header.pg-hero h1{
  margin:0!important;font-size:clamp(24px,3.4vw,32px)!important;line-height:1.12!important;font-weight:800!important;color:#fff!important
}
html body.qpage .cg-hub-d-b header.pg-hero .hq-pin,
html body.qpage .cg-hub-d-b header.pg-hero .hq-pin img{width:88px!important;max-width:88px!important;height:auto!important;max-height:60px!important}
html body.qpage .cg-hub-d-b > p.dir-lead,
html body.qpage .cg-hub-d-b > p.dir-note{
  margin:0!important;padding:14px 18px!important;background:#EEF1F5!important;color:#2A3850!important;font-size:15px!important;line-height:1.5!important
}
html body.qpage .cg-hub-d-b > p.dir-lead{border-radius:12px 12px 0 0!important;padding-bottom:8px!important}
html body.qpage .cg-hub-d-b > p.dir-note{border-radius:0 0 12px 12px!important;padding-top:0!important;margin-bottom:24px!important;color:#4A5D73!important;font-size:14px!important}
html body.qpage .cg-hub-d-b .cg-hub-split{display:block!important}
html body.qpage .cg-hub-d-b .dir-cities-sec{
  margin:0 0 24px!important;padding:24px 22px 28px!important;background:#0F1B33!important;border:0!important;
  border-radius:16px!important;box-shadow:0 10px 28px rgba(15,27,51,.2)!important
}
html body.qpage .cg-hub-d-b .dir-cities-sec h2{
  display:flex!important;align-items:center!important;gap:10px!important;
  margin:0 0 16px!important;padding:0!important;border:0!important;font-size:22px!important;font-weight:800!important;color:#fff!important
}
html body.qpage .cg-hub-d-b .dir-cities-sec h2 .dir-row-ic,
html body.qpage .cg-hub-d-b .dir-cities-sec h2 .dir-row-ic img{width:28px!important;height:28px!important;filter:invert(1)!important}
html body.qpage .cg-hub-d-b .cg-state-pick{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important}
html body.qpage .cg-hub-d-b .cg-state-pick label{font-size:14px!important;font-weight:700!important;color:#FFE0A8!important}
html body.qpage .cg-hub-d-b .cg-state-pick select{
  min-height:56px!important;width:100%!important;max-width:none!important;padding:10px 16px!important;
  background:#fff!important;border:2px solid #FFAA24!important;border-radius:8px!important;
  color:#0F1B33!important;font-size:17px!important;font-weight:700!important
}
html body.qpage .cg-hub-d-b .cg-state-pick select:hover{border-color:#F79B07!important}
html body.qpage .cg-hub-d-b .cg-state-pick select:focus-visible{outline:3px solid #FFAA24!important;outline-offset:2px!important}
html body.qpage .cg-hub-d-b .dir-related{margin:0!important;padding:0!important;background:transparent!important;box-shadow:none!important}
html body.qpage .cg-hub-d-b .dir-related h2{
  margin:0 0 14px!important;padding:0 0 0 12px!important;border-left:4px solid #F79B07!important;
  font-size:22px!important;font-weight:800!important;color:#0F1B33!important
}
html body.qpage .cg-hub-d-b ul.dir-related-list{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;
  list-style:none!important;padding:0!important;margin:0!important
}
html body.qpage .cg-hub-d-b ul.dir-related-list>li{margin:0!important;padding:0!important;border:0!important;background:transparent!important;min-height:0!important}
html body.qpage .cg-hub-d-b ul.dir-related-list a.dir-co-row{
  display:flex!important;align-items:center!important;gap:12px!important;min-height:64px!important;height:auto!important;
  padding:12px 14px!important;background:#fff!important;border:1px solid #D5D9E0!important;border-radius:12px!important;
  box-shadow:0 4px 12px rgba(15,27,51,.06)!important;text-decoration:none!important;color:#0F1B33!important
}
html body.qpage .cg-hub-d-b ul.dir-related-list a.dir-co-row:hover{
  border-color:#F79B07!important;box-shadow:0 6px 16px rgba(247,155,7,.18)!important;transform:translateY(-1px)!important
}
html body.qpage .cg-hub-d-b ul.dir-related-list .dir-row-ic{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;
  width:40px!important;height:40px!important;border-radius:10px!important;background:#EEF1F5!important
}
html body.qpage .cg-hub-d-b ul.dir-related-list .dir-row-ic img{width:24px!important;height:24px!important}
html body.qpage .cg-hub-d-b ul.dir-related-list .dir-row-t{font-size:15px!important;font-weight:700!important;line-height:1.3!important;color:#0F1B33!important}
html body.qpage .cg-hub-d-b ul.dir-related-list .dir-row-chev{margin-left:auto!important;color:#F79B07!important;font-size:22px!important}
html body.qpage .cg-hub-d-b aside.pg-cta{margin-top:28px!important}
@media (min-width:900px){
  html body.qpage .cg-hub-d-b .cg-hub-split{
    display:grid!important;grid-template-columns:minmax(280px,.85fr) minmax(0,1.4fr)!important;
    gap:28px!important;align-items:start!important
  }
  html body.qpage .cg-hub-d-b .dir-cities-sec{margin:0!important;position:sticky!important;top:16px!important}
  html body.qpage .cg-hub-d-b ul.dir-related-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:767px){
  html body.qpage .cg-hub-d-b header.pg-hero{padding:18px 16px!important;gap:12px!important;border-left-width:6px!important}
  html body.qpage .cg-hub-d-b header.pg-hero h1{font-size:22px!important}
  html body.qpage .cg-hub-d-b ul.dir-related-list{grid-template-columns:1fr!important;gap:10px!important}
  html body.qpage .cg-hub-d-b ul.dir-related-list a.dir-co-row{min-height:56px!important}
}

/* ===== Design C: compact banner, typographic picker, cargo mosaic ===== */
html body.qpage .qwrap.cg-hub-des-c{max-width:1040px!important}
html body.qpage .cg-hub-d-c header.pg-hero{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;
  background:#0F1B33!important;border-radius:0!important;padding:12px 16px!important;margin:0 0 16px!important;
  box-shadow:none!important;border-top:3px solid #F79B07!important
}
html body.qpage .cg-hub-d-c header.pg-hero h1{
  margin:0!important;font-size:clamp(18px,2.6vw,24px)!important;line-height:1.2!important;font-weight:800!important;color:#fff!important
}
html body.qpage .cg-hub-d-c header.pg-hero .hq-pin,
html body.qpage .cg-hub-d-c header.pg-hero .hq-pin img{width:56px!important;max-width:56px!important;height:auto!important;max-height:40px!important}
html body.qpage .cg-hub-d-c > p.dir-lead,
html body.qpage .cg-hub-d-c > p.dir-note{
  margin:0!important;padding:0 2px!important;color:#2A3850!important;font-size:15px!important;line-height:1.5!important
}
html body.qpage .cg-hub-d-c > p.dir-lead{margin-bottom:6px!important}
html body.qpage .cg-hub-d-c > p.dir-note{margin-bottom:20px!important;padding-bottom:16px!important;border-bottom:1px solid #D5D9E0!important;font-size:13px!important;color:#4A5D73!important}
html body.qpage .cg-hub-d-c .dir-cities-sec{
  margin:0 0 28px!important;padding:8px 0 0!important;background:transparent!important;border:0!important;
  border-radius:0!important;box-shadow:none!important
}
html body.qpage .cg-hub-d-c .dir-cities-sec h2{
  display:flex!important;align-items:center!important;gap:8px!important;
  margin:0 0 6px!important;padding:0!important;border:0!important;font-size:15px!important;font-weight:800!important;
  letter-spacing:.08em!important;text-transform:uppercase!important;color:#4A5D73!important
}
html body.qpage .cg-hub-d-c .dir-cities-sec h2 .dir-row-ic,
html body.qpage .cg-hub-d-c .dir-cities-sec h2 .dir-row-ic img{width:20px!important;height:20px!important}
html body.qpage .cg-hub-d-c .cg-state-pick{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important}
html body.qpage .cg-hub-d-c .cg-state-pick label{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important}
html body.qpage .cg-hub-d-c .cg-state-pick select{
  min-height:64px!important;width:100%!important;max-width:none!important;padding:8px 8px 12px 0!important;
  background:transparent!important;border:0!important;border-bottom:3px solid #0F1B33!important;border-radius:0!important;
  color:#0F1B33!important;font-size:26px!important;font-weight:800!important;line-height:1.2!important
}
html body.qpage .cg-hub-d-c .cg-state-pick select:hover{border-bottom-color:#F79B07!important}
html body.qpage .cg-hub-d-c .cg-state-pick select:focus-visible{outline:0!important;border-bottom-color:#F79B07!important;box-shadow:0 3px 0 #FFAA24!important}
html body.qpage .cg-hub-d-c .dir-related{margin:8px 0 0!important;padding:0!important;background:transparent!important;box-shadow:none!important}
html body.qpage .cg-hub-d-c .dir-related h2{
  margin:0 0 14px!important;padding:0!important;border:0!important;font-size:15px!important;font-weight:800!important;
  letter-spacing:.08em!important;text-transform:uppercase!important;color:#4A5D73!important
}
html body.qpage .cg-hub-d-c ul.dir-related-list{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;
  list-style:none!important;padding:0!important;margin:0!important
}
html body.qpage .cg-hub-d-c ul.dir-related-list>li{margin:0!important;padding:0!important;border:0!important;background:transparent!important;min-height:0!important}
html body.qpage .cg-hub-d-c ul.dir-related-list a.dir-co-row{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;
  gap:10px!important;min-height:112px!important;height:100%!important;padding:16px 14px!important;
  background:#fff!important;border:1px solid #E2E8F0!important;border-top:3px solid #0F1B33!important;border-radius:6px!important;
  box-shadow:none!important;text-decoration:none!important;color:#0F1B33!important
}
html body.qpage .cg-hub-d-c ul.dir-related-list a.dir-co-row:hover{
  border-top-color:#F79B07!important;border-color:#F79B07!important;background:#FFFdf8!important;transform:none!important
}
html body.qpage .cg-hub-d-c ul.dir-related-list .dir-row-ic{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:32px!important;height:32px!important
}
html body.qpage .cg-hub-d-c ul.dir-related-list .dir-row-ic img{width:28px!important;height:28px!important}
html body.qpage .cg-hub-d-c ul.dir-related-list .dir-row-t{font-size:15px!important;font-weight:800!important;line-height:1.3!important;color:#0F1B33!important}
html body.qpage .cg-hub-d-c ul.dir-related-list .dir-row-chev{display:none!important}
html body.qpage .cg-hub-d-c aside.pg-cta{margin-top:32px!important;border-radius:0!important}
@media (max-width:899px){
  html body.qpage .cg-hub-d-c ul.dir-related-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
}
@media (max-width:767px){
  html body.qpage .cg-hub-d-c header.pg-hero{padding:10px 12px!important;gap:10px!important}
  html body.qpage .cg-hub-d-c header.pg-hero h1{font-size:18px!important}
  html body.qpage .cg-hub-d-c .cg-state-pick select{min-height:56px!important;font-size:22px!important}
  html body.qpage .cg-hub-d-c ul.dir-related-list a.dir-co-row{min-height:96px!important;padding:12px 10px!important}
  html body.qpage .cg-hub-d-c ul.dir-related-list .dir-row-t{font-size:14px!important}
}

@media (prefers-reduced-motion:reduce){
  html body.qpage .cg-hub-d a.dir-co-row{transition:none!important;transform:none!important}
}

/* ===== Specificity and overflow fixes (beat dir-cities.css / hq-desktop-size.css) ===== */
html body.qpage .cg-hub-d .dir-row-t,
html body.qpage .cg-hub-d .dir-row-main{
  word-break:normal!important;overflow-wrap:normal!important;word-wrap:normal!important;
  hyphens:manual!important;-webkit-hyphens:manual!important;
  white-space:normal!important;min-width:0!important
}
html body.qpage .qwrap.cg-hub-des-a .cg-hub-d-a ul.dir-list.dir-related-list{
  display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
  grid-template-columns:none!important;gap:10px!important
}
html body.qpage .qwrap.cg-hub-des-a .cg-hub-d-a ul.dir-list.dir-related-list>li{
  width:auto!important;max-width:100%!important;flex:0 0 auto!important;grid-column:auto!important
}
html body.qpage .qwrap.cg-hub-des-b .cg-hub-d-b ul.dir-list.dir-related-list{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important
}
html body.qpage .qwrap.cg-hub-des-b .cg-hub-d-b ul.dir-list.dir-related-list a.dir-co-row{
  overflow:visible!important;height:auto!important
}
html body.qpage .qwrap.cg-hub-des-b .cg-hub-d-b .dir-cities-sec h2 .dir-row-ic,
html body.qpage .qwrap.cg-hub-des-b .cg-hub-d-b .dir-cities-sec h2 .dir-row-ic img{
  filter:brightness(0) invert(1)!important
}
html body.qpage .qwrap.cg-hub-des-c .cg-hub-d-c ul.dir-list.dir-related-list a.dir-co-row{
  overflow:visible!important;height:auto!important
}
@media (min-width:900px){
  html body.qpage .qwrap.cg-hub-des-b .cg-hub-d-b .cg-hub-split{
    display:grid!important;grid-template-columns:minmax(260px,.8fr) minmax(0,1.5fr)!important;
    gap:28px!important;align-items:start!important
  }
  html body.qpage .qwrap.cg-hub-des-b .cg-hub-d-b ul.dir-list.dir-related-list{
    grid-template-columns:repeat(2,minmax(0,1fr))!important
  }
}
@media (max-width:899px){
  html body.qpage .qwrap.cg-hub-des-a .cg-hub-d-a ul.dir-list.dir-related-list .dir-row-t{font-size:14px!important;line-height:1.3!important}
  html body.qpage .qwrap.cg-hub-des-a .cg-hub-d-a ul.dir-list.dir-related-list{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;flex-direction:unset!important
  }
  html body.qpage .qwrap.cg-hub-des-a .cg-hub-d-a ul.dir-list.dir-related-list>li{width:auto!important;flex:unset!important}
  html body.qpage .qwrap.cg-hub-des-b .cg-hub-d-b .cg-hub-split{
    display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:22px!important
  }
  html body.qpage .qwrap.cg-hub-des-b .cg-hub-d-b .dir-cities-sec{
    position:static!important;width:100%!important;max-width:none!important;margin:0 0 8px!important
  }
  html body.qpage .qwrap.cg-hub-des-b .cg-hub-d-b .dir-related{width:100%!important;max-width:none!important}
  html body.qpage .qwrap.cg-hub-des-b .cg-hub-d-b ul.dir-list.dir-related-list{
    display:grid!important;grid-template-columns:1fr!important;width:100%!important
  }
  html body.qpage .qwrap.cg-hub-des-c .cg-hub-d-c ul.dir-list.dir-related-list{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important
  }
}
