html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
img { max-width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid #F2A541; outline-offset: 2px; }
section[id] { scroll-margin-top: 24px; }
[hidden] { display: none !important; }

/* Article body from the Wix blog */
.post-body { font-size: 18px; line-height: 1.75; color: #22303B; }
.post-body h2 { font-size: 28px; line-height: 1.25; margin: 40px 0 12px; }
.post-body h3 { font-size: 22px; line-height: 1.3; margin: 32px 0 10px; }
.post-body p { margin: 0 0 18px; }
.post-body ul, .post-body ol { margin: 0 0 18px; padding-left: 24px; }
.post-body li { margin: 0 0 6px; }
.post-body img { display: block; height: auto; border-radius: 14px; margin: 24px 0; }
.post-body blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 4px solid #F2A541; color: #3E4A55; }
.post-body a { color: #12355B; font-weight: 600; }

@media (max-width: 640px) {
  body > div > section, header > div, footer > div { padding-left: 20px !important; padding-right: 20px !important; }
  h1 { font-size: 36px !important; }
}

/* Carrier directory cards */
.cc { background: #FFFFFF; border: 1px solid #E4DFD5; border-radius: 16px; padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.cc .cl { height: 60px; display: flex; align-items: center; margin-bottom: 4px; }
.cc .cl img { max-width: 160px; max-height: 56px; object-fit: contain; }
.cc h2 { margin: 0; font-size: 16px; line-height: 1.3; font-weight: 700; }
.cc .ck { margin: 0; font-size: 12px; color: #5A6570; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.cc .cp { font-weight: 700; font-size: 16px; text-decoration: none; color: #12355B; }
.cc .cn { margin: 0; font-size: 14px; color: #2B3742; }
.cc .cn a { font-weight: 600; }
.cc .ct { margin: 0; font-size: 13px; color: #3E4A55; }
.cc .cs { display: flex; gap: 12px; font-size: 14px; margin-top: auto; padding-top: 4px; }

/* Restore browser defaults the blog's Tailwind reset removes (this file is not in a layer, so it wins). */
h1, h2, h3, h4 { font-weight: 700; }
a { color: #12355B; text-decoration: underline; }
a:hover { color: #0B2340; }
ul { list-style: disc; }
ol { list-style: decimal; }
body { margin: 0; background: #F6F4EF; font-family: Inter, system-ui, sans-serif; }
h1, h2, h3 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
summary { display: list-item; }

/* Mobile header: logo, Get a quote and a Menu button on one row; links open below */
.menu-btn { display: none; }
@media (max-width: 760px) {
  header > div { gap: 10px 12px !important; padding-top: 12px !important; padding-bottom: 12px !important; flex-wrap: wrap !important; }
  header > div > a:first-child { margin-right: auto; }
  header > div > a:first-child img { height: 44px !important; }
  header > div > div { gap: 10px !important; flex-wrap: nowrap !important; }
  header > div > div > a[href^="tel:"] { display: none !important; }
  header > div > div > a[href*="insuranceform"] { padding: 10px 16px !important; font-size: 15px; }
  .menu-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid #C9C2B4; border-radius: 999px; background: #FFFFFF; color: #12355B; font: 600 15px Inter, sans-serif; cursor: pointer; }
  header nav[aria-label="Main"] { display: none !important; order: 5; flex-basis: 100%; flex-direction: column; gap: 0 !important; justify-content: flex-start !important; }
  header.menu-open nav[aria-label="Main"] { display: flex !important; }
  header nav[aria-label="Main"] a { padding: 13px 4px; border-top: 1px solid #ECE8E0; font-size: 17px; }
  header nav[aria-label="Main"] a.menu-call { color: #12355B !important; font-weight: 700; }
  div[role="note"][aria-label="Dad joke of the day"] > div { padding: 8px 20px !important; font-size: 14px !important; gap: 2px 8px !important; }
}
@media (min-width: 761px) { header nav[aria-label="Main"] a.menu-call { display: none; } }

/* Mobile button rows: quote and call buttons stack full width, centered */
@media (max-width: 760px) {
  body > div > section div[style*="gap: 14px"] { flex-direction: column !important; align-items: stretch !important; width: 100%; }
  body > div > section div[style*="gap: 14px"] > a { justify-content: center !important; text-align: center; }
}
