/* Site footer, laid out like the kinore.com footer in Only Audit's colours:
   orange #f78b30 and slate #344f61. Every rule is scoped so the WordPress
   theme's global styles stay out. */
#onlyaudit-footer, #onlyaudit-footer * { box-sizing: border-box; }
#onlyaudit-footer { font-family: 'Montserrat', system-ui, sans-serif; line-height: 1.5; background: #fff; padding: 0 12px 12px; }
#onlyaudit-footer a { text-decoration: none !important; transition: color 0.15s, background 0.15s, border-color 0.15s; }
#onlyaudit-footer .oa-footer-card { max-width: none; margin: 0; background: #1c2b35; color: #dfe7ec; border-radius: 24px; padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 80px) 28px; }
#onlyaudit-footer .oa-footer-top, #onlyaudit-footer .oa-footer-bottom { max-width: 1760px; margin-left: auto; margin-right: auto; }
#onlyaudit-footer .oa-footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); }
#onlyaudit-footer .oa-footer-logo img { display: block; width: 180px; height: auto; max-width: 100%; }
#onlyaudit-footer .oa-footer-brand p { margin: 20px 0 24px; font-size: 15px; line-height: 1.65; color: #b9c7d0 !important; max-width: 36ch; }
#onlyaudit-footer .oa-footer-cta { display: inline-flex; align-items: center; height: 48px; padding: 0 24px; border-radius: 999px; background: #f78b30; color: #1c2b35 !important; font-size: 15px; font-weight: 600; }
#onlyaudit-footer .oa-footer-cta:hover { background: #e57a1f; }
#onlyaudit-footer h2 { margin: 0 0 18px; padding: 0; font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.3; text-transform: none; color: #f78b30 !important; }
#onlyaudit-footer ul { list-style: none; margin: 0; padding: 0; }
#onlyaudit-footer .oa-footer-col li { margin: 0 0 12px; padding: 0; font-size: 15px; }
#onlyaudit-footer .oa-footer-col a { color: #fff !important; }
#onlyaudit-footer .oa-footer-col a:hover { color: #f78b30 !important; }
#onlyaudit-footer .oa-footer-contact li { display: flex; align-items: flex-start; gap: 10px; color: #dfe7ec; }
#onlyaudit-footer .oa-footer-contact svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 3px; fill: #f78b30; }
#onlyaudit-footer .oa-footer-contact span { line-height: 1.5; }
#onlyaudit-footer .oa-footer-social { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-top: 8px; border-radius: 12px; background: #344f61; color: #fff !important; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
#onlyaudit-footer .oa-footer-social:hover { background: #f78b30; color: #1c2b35 !important; }
#onlyaudit-footer .oa-footer-accred img { display: block; width: 88px; height: 88px; border-radius: 12px; }
#onlyaudit-footer .oa-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 13px; color: #8fa3b0; }
#onlyaudit-footer .oa-footer-bottom a { color: #b9c7d0 !important; }
#onlyaudit-footer .oa-footer-bottom a:hover { color: #f78b30 !important; }
#onlyaudit-footer a:focus-visible { outline: 2px solid #f78b30; outline-offset: 3px; border-radius: 4px; }

/* The theme's back-to-top button: a round orange button with a slim arrow. */
#toTop { width: 52px !important; height: 52px !important; right: 24px !important; bottom: 24px !important; border-radius: 999px !important; overflow: hidden; font-size: 0 !important; line-height: 0 !important; text-indent: -9999px; color: transparent !important; border: 0 !important;
  background: #f78b30 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E") center / 22px 22px no-repeat !important;
  box-shadow: 0 10px 24px -8px rgba(247,139,48,.6); transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
#toTop:hover { transform: translateY(-3px); background-color: #e5761b !important; box-shadow: 0 14px 28px -8px rgba(247,139,48,.7); }
#toTop:focus-visible { outline: 2px solid #0b2a3c; outline-offset: 3px; }
#toTop::before, #toTop::after, #toTop i, #toTopHover { display: none !important; }
@media (prefers-reduced-motion: reduce) { #toTop { transition: none; } #toTop:hover { transform: none; } }

/* Keep the bottom bar clear of the theme's fixed back-to-top button. */
@media (min-width: 600px) {
  #onlyaudit-footer .oa-footer-bottom { padding-right: 84px; }
}
@media (max-width: 991px) {
  #onlyaudit-footer .oa-footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #onlyaudit-footer .oa-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  #onlyaudit-footer { padding: 0 12px 12px; }
  #onlyaudit-footer .oa-footer-card { border-radius: 18px; }
  #onlyaudit-footer .oa-footer-top { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  #onlyaudit-footer .oa-footer-bottom { flex-direction: column; }
}
