@import url('/renewal-assets/css/local-fonts.css?v=20260730');

body.kd-renewal-shell {
  padding-top: 80px;
}

/* The shell already offsets the fixed header; avoid a second 80px gap. */
body.kd-renewal-shell > main.pt-20 {
  padding-top: 0;
}

.site-language::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 0.5rem;
}

.site-language-link {
  display: block;
  width: 100%;
  padding: 0.625rem 1rem;
  color: #3f3f46;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.site-language-link:hover {
  background: #f4f4f5;
}

.site-services-menu.hidden,
.site-language-menu.hidden {
  display: none;
}

.site-footer-link.is-active,
.site-language-link.is-active {
  color: #af101a;
}

.site-menu-button,
.site-mobile-language {
  display: none;
}

.site-menu-button {
  width: 2.625rem;
  height: 2.625rem;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid #5f636c;
  border-radius: 0.75rem;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.site-menu-button .material-symbols-outlined {
  font-size: 1.5rem;
}

@media (max-width: 1099px) {
  body.kd-renewal-shell {
    padding-top: 72px;
  }

  body.kd-renewal-shell.is-mobile-nav-open {
    overflow: hidden;
  }

  body.kd-renewal-shell.is-mobile-nav-open .aup-chatbot-floating {
    opacity: 0;
    pointer-events: none;
  }

  .site-header {
    position: fixed;
  }

  .site-header-inner {
    position: relative;
    height: 72px;
    min-height: 72px;
    padding: 0.75rem 1.25rem;
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .site-brand-logo {
    max-width: min(9.25rem, 34vw);
    height: auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    display: none;
    width: 100%;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #2f3137;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav-link,
  .site-services-button {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.75rem 0.25rem;
    white-space: normal;
    font-size: 0.875rem;
    text-align: left;
  }

  .site-nav-link {
    display: flex;
    align-items: center;
  }

  .site-services {
    width: 100%;
  }

  .site-services-button {
    justify-content: space-between;
  }

  .site-services-menu {
    position: static;
    width: 100%;
    margin: 0.25rem 0 0;
  }

  .site-services-item-desc {
    white-space: normal;
  }

  .site-header-actions {
    margin-left: auto;
    gap: 0.5rem;
  }

  .site-language {
    display: none;
  }

  .site-menu-button {
    display: inline-flex;
  }

  .site-mobile-language {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.35rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-mobile-language-link {
    flex: 1;
    padding: 0.7rem 0.8rem;
    border: 1px solid #5f636c;
    border-radius: 0.7rem;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
  }

  .site-mobile-language-link.is-active {
    border-color: #dc2626;
    color: #fff;
    background: rgba(220, 38, 38, 0.16);
  }

  .site-portal-button {
    padding: 0.55rem 0.9rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 420px) {
  .site-header-inner {
    padding-inline: 0.9rem;
  }

  .site-header-actions {
    gap: 0.4rem;
  }

  .site-portal-button {
    padding-inline: 0.7rem;
    font-size: 0.6875rem;
  }
}
