/* Shared header, breadcrumbs, document navigation, and footer. */
.family-site-header,
.mobile-drawer,
.site-breadcrumb-band,
.document-nav-band,
.family-site-footer {
  --family-ink: #171b1d;
  --family-muted: #5e696c;
  --family-line: #d9dfde;
  --family-brand: #086c68;
  --family-brand-dark: #064d4b;
  --family-brand-soft: #e8f3f2;
  color: var(--family-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  letter-spacing: 0;
  line-height: 1.5;
}

.family-site-header *,
.mobile-drawer *,
.site-breadcrumb-band *,
.document-nav-band *,
.family-site-footer * {
  box-sizing: border-box;
}

.family-site-header a,
.mobile-drawer a,
.site-breadcrumb-band a,
.document-nav-band a,
.family-site-footer a {
  color: inherit;
  text-decoration: none;
}

.family-site-header .shell,
.site-breadcrumb-band .shell,
.document-nav-band .shell,
.family-site-footer .shell {
  width: min(1180px, calc(100vw - 56px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 8px 14px;
  background: var(--family-ink);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.family-site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 64px;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(14px);
}

.family-site-header.is-scrolled { box-shadow: 0 10px 30px rgba(22, 40, 40, .06); }
.family-global-header { height: 64px; border-bottom: 1px solid var(--family-line); }
.family-global-header-inner { display: flex; align-items: center; gap: 26px; height: 100%; }
.family-brand { display: inline-flex; align-items: center; gap: 16px; min-width: max-content; }
.family-brand img { display: block; width: 80px; max-width: 100%; height: auto; }
.family-brand span { display: block; padding-left: 16px; border-left: 1px solid var(--family-line); color: var(--family-muted); font-size: 15px; font-weight: 750; line-height: 1.4; white-space: nowrap; }
.family-global-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.family-global-nav a { color: #4e585b; font-size: 16px; font-weight: 700; line-height: 1.4; }
.family-global-nav a:hover,
.family-global-nav a[aria-current="page"] { color: var(--family-brand); }
.family-product-switcher { margin-left: 8px; }
.family-product-switcher wa-button::part(base) { min-height: 36px; padding-inline: 14px; font-size: 15px; }
.family-product-switcher::part(menu) { min-width: 250px; padding: 8px; }
.family-product-switcher wa-dropdown-item { font-size: 15px; font-weight: 650; }
.family-product-switcher wa-dropdown-item img { border-radius: 4px; object-fit: cover; }
.family-header-actions { display: flex; align-items: center; gap: 10px; }
.family-language-link { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 36px; padding: 5px 8px; border: 1px solid var(--family-line); border-radius: 4px; color: var(--family-brand-dark); font-size: 14px; font-weight: 800; text-align: center; }
.family-language-link:hover { border-color: var(--family-brand); color: var(--family-brand); }
.family-mobile-menu-button { display: none; }

.mobile-nav { display: grid; gap: 0; }
.mobile-nav p { margin: 28px 0 4px; color: var(--family-brand); font-size: 14px; font-weight: 800; }
.mobile-nav p:first-child { margin-top: 0; }
.mobile-nav a { padding: 16px 4px; border-bottom: 1px solid var(--family-line); font-size: 18px; font-weight: 700; }

.site-breadcrumb-band { border-bottom: 1px solid var(--family-line); background: #fff; }
.site-breadcrumbs { display: flex; align-items: center; min-height: 48px; overflow-x: auto; scrollbar-width: none; }
.site-breadcrumbs::-webkit-scrollbar { display: none; }
.site-breadcrumbs ol { display: flex; align-items: center; min-width: max-content; margin: 0; padding: 0; list-style: none; }
.site-breadcrumbs li { display: flex; align-items: center; color: var(--family-muted); font-size: 14px; font-weight: 700; white-space: nowrap; }
.site-breadcrumbs li + li::before { margin: 0 12px; color: #9aa6a4; content: "/"; font-weight: 500; }
.site-breadcrumbs a { color: #455150; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color .2s ease, text-decoration-color .2s ease; }
.site-breadcrumbs a:hover { color: var(--family-brand); text-decoration-color: currentColor; }
.site-breadcrumbs [aria-current="page"] { color: var(--family-brand-dark); }

.document-nav-band { border-bottom: 1px solid var(--family-line); background: #fff; }
.document-nav-links { display: flex; flex-wrap: wrap; gap: 9px; padding-block: 28px; }
.document-nav-band .document-nav-links a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 13px; border: 1px solid var(--family-line); border-radius: 999px; background: #fff; color: var(--family-ink); font-size: 14px !important; font-weight: 800; line-height: 1.45; }
.document-nav-links a:hover { border-color: var(--family-brand); color: var(--family-brand-dark); }
.document-nav-links a[aria-current="page"] { border-color: #9ac4c1; background: var(--family-brand-soft); color: var(--family-brand-dark); }
.document-nav-links i,
.document-nav-links .svg-inline--fa { margin-right: 9px; }

.family-site-footer { padding: 70px 0 24px; background: #121617; color: #fff; }
.family-product-brand { display: inline-flex; align-items: center; gap: 10px; min-width: max-content; }
.family-product-brand img { display: block; width: 108px; max-width: 100%; height: auto; filter: brightness(0) invert(1); opacity: .88; }
.family-product-name { padding-left: 10px; border-left: 1px solid #465050; color: #8fd0cc; font-size: 18px; font-weight: 750; }
.family-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 46px; }
.family-footer-brand { display: block; min-width: 0; }
.family-footer-brand p { max-width: 300px; margin: 22px 0 0; color: #93a09f; font-size: 14px; line-height: 1.8; }
.family-footer-column { display: grid; align-content: start; gap: 9px; min-width: 0; }
.family-footer-column strong { margin-bottom: 9px; color: #93a09f; font-size: 14px; }
.family-footer-column a { color: #fff; font-size: 14px; overflow-wrap: anywhere; }
.family-footer-column a:hover { color: #8fd0cc; }
.family-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 22px; border-top: 1px solid #303839; color: #727f7e; font-size: 14px; }

@media (max-width: 1120px) {
  .family-site-header .shell,
  .site-breadcrumb-band .shell,
  .document-nav-band .shell,
  .family-site-footer .shell { width: min(100% - 40px, 920px); }
  .family-global-nav,
  .family-product-switcher { display: none; }
  .family-header-actions { margin-left: auto; }
  .family-mobile-menu-button { display: inline-block; }
  .family-footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 28px; }
  .family-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .family-site-header .shell,
  .site-breadcrumb-band .shell,
  .document-nav-band .shell,
  .family-site-footer .shell { width: calc(100% - 32px); }
  .family-global-header-inner { gap: 10px; }
  .family-brand img { width: 76px; }
  .family-brand span { font-size: 14px; }
  .site-breadcrumbs { min-height: 44px; }
  .site-breadcrumbs li + li::before { margin-inline: 10px; }
  .document-nav-links { gap: 8px; padding-block: 24px; }
  .document-nav-links a { min-height: 40px; padding: 7px 11px; }
  .family-footer-grid { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .family-footer-brand { grid-column: 1 / -1; }
  .family-footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .family-brand { gap: 10px; }
  .family-brand span { max-width: 132px; padding-left: 10px; white-space: normal; }
  .family-footer-grid { grid-template-columns: 1fr; }
  .family-footer-brand { grid-column: auto; }
}

@media (max-width: 360px) {
  .family-brand img { width: 64px; }
  .family-brand span { max-width: 92px; }
}
