/* Honeykay theme: shared rules for every page (page-specific design rules are in pages.css). */

html { scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #f0bb33; outline-offset: 2px; }

.hk-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.hk-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #15151d; color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.hk-skip:focus { top: 12px; }

.hk-utility { font-size: 14px; font-weight: 600; color: #3a3b47; text-decoration: none; white-space: nowrap; }
.hk-utility:hover { color: #15151d; text-decoration: underline; text-decoration-color: #f0bb33; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 1180px) { .hk-utility { display: none; } }

/* Mobile menu and bottom action bar */
.mnav { display: none; border-top: 1px solid #e2e3e8; background: #ffffff; }
.mnav.open { display: block; }
.mnav a { display: block; padding: 14px 16px; text-decoration: none; font-weight: 500; border-bottom: 1px solid #f2f3f5; color: #15151d; }
.mbar { display: none; }

/* Animated dot map behind the home hero */
.hero-map { position: relative; isolation: isolate; }
.dot-map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: block; }

/* Updates filter chips are links in the theme */
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #d6d7de; border-radius: 999px; background: #ffffff; color: #15151d; font-weight: 500; font-size: 15px; text-decoration: none; }
.chip:hover { border-color: #15151d; }
.chip.is-current { background: #15151d; color: #ffffff; border-color: #15151d; }
.hk-card:hover h3 { text-decoration: underline; text-decoration-color: #f0bb33; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.hk-pagination .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.hk-pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid #d6d7de; border-radius: 999px; padding: 0 14px; text-decoration: none; color: #15151d; }
.hk-pagination .page-numbers.current { background: #15151d; color: #fff; border-color: #15151d; }

/* Article and generic page content */
.hk-prose { font-size: 18px; line-height: 1.75; color: #2b2c36; }
.hk-prose > * + * { margin-top: 1.1em; }
.hk-prose h2, .hk-prose h3 { font-family: 'Archivo', 'Arial Narrow', sans-serif; line-height: 1.15; color: #15151d; margin-top: 1.6em; }
.hk-prose a { color: #15151d; text-decoration-color: #f0bb33; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hk-prose img { border-radius: 16px; }
.hk-prose .wp-block-gallery { gap: 12px; }

/* Freight Portal plugin, styled to match the brand */
.fp-h2, .fp-h3, .fp-card__route, .fp-route { font-family: 'Archivo', 'Arial Narrow', sans-serif; }
.fp-h2 { font-weight: 800; letter-spacing: -0.02em; }
.hk-form-card .fp-request { background: #f2f3f5; border: 0; border-radius: 24px; padding: 36px; }
.hk-form-card .fp-request .fp-h2 { font-size: 28px; }
.hk-app-head + section .fp-portal { max-width: none; }
.fp-tabs__item { font-family: 'IBM Plex Sans', system-ui, sans-serif; }

/* Phones */
@media (max-width: 900px) {
  .wrap { padding: 0 16px !important; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); background: #15151d; border-radius: 18px; padding: 8px; z-index: 50; box-shadow: 0 12px 32px rgba(21, 21, 29, .35); }
  .mbar a { height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 600; text-decoration: none; }
  footer { padding-bottom: 110px !important; }
  h2.d { font-size: 32px !important; }
  main > section, main > article > section { padding-top: 56px !important; padding-bottom: 56px !important; }
  .row { gap: 24px !important; padding: 40px 0 !important; }
  .svc-img { height: 260px !important; }
  img[style*="height:520px"] { height: 300px !important; }
  img[style*="height:440px"], div[style*="height:440px"] { height: 260px !important; }
  .card, .office { padding: 22px !important; }
  .qf { top: 0 !important; margin: 24px 0 0 !important; padding: 20px !important; }
  .hk-form-card .fp-request { padding: 20px; }
  .lead-card { grid-template-columns: 110px minmax(0, 1fr) !important; }
  .lead-card > img, .lead-card > .mono { width: 110px !important; height: 140px !important; }
  .hk-header .btn[href*="fp-request"] { padding: 0 14px; font-size: 14px; }
  .hk-header img { height: 40px !important; }
  .duo { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 24px 16px !important; }
  .duo .d { font-size: 36px !important; }
  .post.g2 { padding: 12px !important; gap: 20px !important; }
  .hk-app-head h1 { font-size: 32px !important; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
