/* ==========================================================
   Site Chrome — HC-One
   Header, footer, and page-level layout shared by all pages
   that use the standard HC-One site shell (search page, etc).
   ========================================================== */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "depot-new-web", sans-serif;
  font-weight: 300;
  background: #ffffff;
  color: #2b2b2b;
}

[x-cloak] { display: none !important; }

/* Header */

.site-header {
  position: sticky; top: 0; z-index: 95;
  background: #ffffff;
  min-height: 100px;
  display: flex; align-items: stretch;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.site-header-inner {
  max-width: 1200px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; padding: 0 30px;
}

.site-logo img { width: 197px; height: 62px; object-fit: contain; }

/* Main */

.site-main {
  max-width: 1200px; margin: 0 auto; padding: 32px 30px 60px;
}

.recently-viewed-band {
  background: #e5e0da;
  margin: -32px calc(-50vw + 50%) 50px;
  padding: 20px calc(50vw - 600px + 50px);
}

.recently-viewed-band .aplify-recently-viewed-toggle {
  font-weight: 400 !important;
}

@media (max-width: 1200px) {
  .recently-viewed-band {
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (max-width: 767px) {
  .recently-viewed-band {
    margin-top: -20px;
    margin-bottom: 30px;
    padding: 12px 20px;
  }
}

/* Footer */

.site-footer {
  background-color: #333333; color: #ffffff;
  padding: 60px 30px; font-family: "depot-new-web", sans-serif;
}

.site-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 32px;
}

.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}

.footer-logo img { max-width: 200px; height: auto; }

.footer-social { display: flex; gap: 12px; align-items: center; }

.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background-color: rgba(255,255,255,.1); color: #ffffff;
  text-decoration: none; font-size: 16px; transition: background-color .2s;
}

.footer-social a:hover { background-color: rgba(255,255,255,.2); }
.footer-social svg { width: 16px; height: 16px; }

.footer-bottom { display: flex; flex-direction: column; gap: 16px; }
.footer-legal { font-size: 11px; line-height: 1.6; opacity: .7; margin: 0; }

.footer-links { display: flex; gap: 16px; }
.footer-links a { color: #ffffff; text-decoration: none; font-size: 13px; opacity: .8; }
.footer-links a:hover { opacity: 1; }

/* Tablet */

@media (max-width: 1024px) {
  .site-header { min-height: 85px; }
  .site-logo img { height: 27px; width: auto; }
  .site-footer { padding: 30px; }
  .site-main { padding: 24px 20px 48px; }
}

/* Mobile */

@media (max-width: 767px) {
  .site-header { min-height: 65px; }
  .site-header-inner { padding: 0 16px; }
  .site-logo img { height: 20px; width: auto; }
  .site-footer { padding: 25px 20px; }
  .footer-top { flex-direction: column; align-items: center; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-links { justify-content: center; }
  .site-main { padding: 20px 16px 40px; }
}
