/*
 * Paramount Infinet responsive header
 * Keeps the existing static Bootstrap layout and adds the mobile drawer
 * shown in the supplied UI reference.
 */

:root {
  --paramount-navy: #07101f;
  --paramount-blue: #006fd6;
  --paramount-blue-dark: #005bb3;
  --paramount-blue-soft: #eef7ff;
  --paramount-line: #e8edf3;
  --paramount-text: #111827;
}

.top-bar {
  background: var(--paramount-navy) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #fff;
}

.header.header_style_01 {
  position: relative;
  z-index: 1001;
  padding: 0 !important;
  background: #fff !important;
  box-shadow: 0 3px 16px rgba(7, 16, 31, .08);
}

.header.header_style_01 .navbar {
  min-height: 72px;
  margin-bottom: 0;
  border: 0;
  background: #fff !important;
}

.header.header_style_01 .container-fluid {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding-left: 28px;
  padding-right: 28px;
}

.header.header_style_01 .navbar-header {
  display: flex;
  align-items: center;
}

.header.header_style_01 .navbar-brand {
  height: auto;
  padding: 8px 14px 8px 0;
  margin: 0;
}

.header.header_style_01 .navbar-brand img {
  width: auto;
  max-height: 48px;
}

.header.header_style_01 #navbar {
  flex: 1;
}

.header.header_style_01 .navbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
}

.header.header_style_01 .navbar-nav > li {
  float: none;
  margin: 0;
}

.header.header_style_01 .navbar-nav > li > a {
  color: var(--paramount-text) !important;
  padding: 26px 10px;
  font-size: 12px;
  line-height: 20px;
  font-weight: 500;
  white-space: nowrap;
  background: transparent !important;
}

.header.header_style_01 .navbar-nav > li > a:hover,
.header.header_style_01 .navbar-nav > li > a:focus,
.header.header_style_01 .navbar-nav > li > a.active {
  color: var(--paramount-blue) !important;
  background: transparent !important;
}

.header.header_style_01 .navbar-nav > li > a.active::after {
  left: 10px;
  right: 10px;
  bottom: 15px;
  height: 2px;
  background: var(--paramount-blue);
  transform: scaleX(1);
}

.header.header_style_01 .nav-bill > a,
.header.header_style_01 .nav-cta > a {
  border-radius: 4px !important;
  padding: 10px 18px !important;
  margin-left: 6px;
  font-size: 11px !important;
  font-weight: 600 !important;
}

.header.header_style_01 .nav-bill > a {
  color: var(--paramount-text) !important;
  border: 1px solid var(--paramount-line);
  background: #fff !important;
}

.header.header_style_01 .nav-bill > a:hover {
  border-color: var(--paramount-blue);
  color: var(--paramount-blue) !important;
}

.header.header_style_01 .nav-cta > a,
.header.header_style_01 .navbar-nav > li.nav-cta > a:hover,
.header.header_style_01 .navbar-nav > li.nav-cta > a:focus {
  color: #fff !important;
  background: var(--paramount-blue) !important;
  border: 1px solid var(--paramount-blue);
  box-shadow: 0 5px 12px rgba(0, 111, 214, .22) !important;
}

.header.header_style_01 .nav-cta > a:hover {
  background: var(--paramount-blue-dark) !important;
  border-color: var(--paramount-blue-dark);
}

.header.header_style_01,
.header.header_style_01 .navbar,
.header.header_style_01 .navbar-nav,
.header.header_style_01 .navbar-nav > li > a,
.header.header_style_01 .navbar-brand {
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.mobile-nav-close,
.mobile-nav-support,
.mobile-nav-chevron,
#mobile-nav-backdrop {
  display: none;
}

@media (min-width: 768px) {
  .header.header_style_01 .navbar-header {
    float: left;
  }

  .header.header_style_01 #navbar {
    display: block !important;
    height: auto !important;
    padding: 0;
  }

  .header.header_style_01 .navbar-nav {
    float: right;
  }
}

@media (max-width: 767px) {
  body.mobile-nav-lock {
    overflow: hidden;
  }

  /* Keep the header (and its toggle) above the off-canvas backdrop so the
     drawer is never dimmed and the hamburger stays clickable while open. */
  .header.header_style_01 {
    z-index: 1004;
  }

  .top-bar {
    display: none !important;
  }

  .header.header_style_01,
  .header.header_style_01 .navbar {
    min-height: 76px;
  }

  .header.header_style_01 .container-fluid {
    min-height: 76px;
    padding: 0 18px;
  }

  .header.header_style_01 .navbar-header {
    width: 100%;
    float: none;
    justify-content: flex-start;
  }

  .header.header_style_01 .navbar-toggle {
    margin-right: 12px;
  }

  .header.header_style_01 .navbar-brand {
    padding: 8px 0;
  }

  .header.header_style_01 .navbar-brand img {
    max-height: 50px;
  }

  .header.header_style_01 .navbar-toggle {
    display: inline-flex !important;
    float: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    padding: 10px;
    margin: 0;
    border: 1px solid #d7e0eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(7, 16, 31, .06);
  }

  .header.header_style_01 .navbar-toggle:hover,
  .header.header_style_01 .navbar-toggle:focus {
    background: var(--paramount-blue-soft);
    border-color: var(--paramount-blue);
  }

  .header.header_style_01 .navbar-toggle .icon-bar {
    display: block;
    width: 20px;
    height: 2px;
    margin: 2px 0;
    border-radius: 2px;
    background: var(--paramount-navy);
  }

  #mobile-nav-backdrop {
    position: fixed;
    z-index: 1002;
    inset: 0;
    background: rgba(7, 16, 31, .34);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease;
  }

  #mobile-nav-backdrop.is-visible {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .header.header_style_01 #navbar {
    display: block !important;
    position: fixed;
    z-index: 1003;
    top: 0;
    bottom: 0;
    left: auto;
    right: 0;
    width: min(380px, calc(100vw - 20px));
    height: 100dvh !important;
    padding: 24px 18px 26px;
    overflow-y: auto;
    background: #fff !important;
    box-shadow: -18px 0 42px rgba(7, 16, 31, .18);
    transform: translateX(105%);
    transition: transform .28s cubic-bezier(.22, .61, .36, 1);
  }

  .header.header_style_01 #navbar.mobile-open {
    transform: translateX(0);
  }

  /* The hamburger itself becomes the close control, so it must stay clickable
     above the open drawer. */
  .header.header_style_01 .navbar-toggle {
    position: relative;
    z-index: 1005;
  }

  .header.header_style_01 .navbar-toggle .icon-bar {
    transition: transform .22s ease, opacity .18s ease;
  }

  .header.header_style_01 .navbar-toggle.is-open .icon-bar:nth-child(2) {
    transform: translateY(6px) rotate(45deg);
  }

  .header.header_style_01 .navbar-toggle.is-open .icon-bar:nth-child(3) {
    opacity: 0;
  }

  .header.header_style_01 .navbar-toggle.is-open .icon-bar:nth-child(4) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-nav-close {
    display: none;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 40px;
    padding: 0 2px 12px;
    border: 0;
    background: transparent;
    color: #667085;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-nav-close:hover,
  .mobile-nav-close:focus {
    color: var(--paramount-blue);
  }

  .header.header_style_01 .navbar-nav {
    display: block;
    float: none;
    width: 100%;
    margin: 0 !important;
  }

  .header.header_style_01 .navbar-nav > li {
    display: block;
    width: 100%;
    margin: 0 0 9px !important;
  }

  .header.header_style_01 .navbar-nav > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    margin-bottom: 0;
    padding: 12px 14px !important;
    border: 1px solid #e1e8f0;
    border-radius: 9px;
    color: var(--paramount-text) !important;
    font-size: 15px !important;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(7, 16, 31, .04);
  }

  .header.header_style_01 .navbar-nav > li > a::after {
    content: none !important;
  }

  .mobile-nav-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    margin-left: auto;
    padding: 0;
    border: 1px solid #b8d9f7;
    border-radius: 8px;
    background: var(--paramount-blue-soft);
    color: var(--paramount-blue);
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    pointer-events: none;
  }

  .header.header_style_01 .navbar-nav > li > a .mobile-nav-chevron {
    margin-left: auto;
  }

  .header.header_style_01 .navbar-nav > li > a:hover,
  .header.header_style_01 .navbar-nav > li > a:focus,
  .header.header_style_01 .navbar-nav > li > a.active {
    color: var(--paramount-blue) !important;
    background: var(--paramount-blue-soft) !important;
    border-color: #b8d9f7;
    box-shadow: 0 4px 12px rgba(0, 111, 214, .08);
  }

  .header.header_style_01 .navbar-nav > li > a.active::after {
    color: transparent;
  }

  .header.header_style_01 .navbar-nav > li > a.active .mobile-nav-chevron {
    color: var(--paramount-blue);
    background: #fff;
    border-color: var(--paramount-blue);
  }

  .header.header_style_01 .navbar-nav > li.nav-bill,
  .header.header_style_01 .navbar-nav > li.nav-cta {
    display: none;
  }

  .mobile-nav-support {
    display: block;
    margin-top: 18px;
    padding: 16px 8px 0;
    border-top: 1px solid #f0f2f5;
  }

  .mobile-nav-contact {
    padding: 13px;
    border: 1px solid #f0f2f5;
    border-radius: 4px;
    background: #fafcff;
    color: #344054;
    font-size: 12px;
    line-height: 1.7;
  }

  .mobile-nav-contact a {
    color: var(--paramount-blue);
    font-weight: 500;
  }

  .mobile-nav-actions {
    display: grid;
    gap: 8px;
    margin-top: 10px;
  }

  .mobile-nav-actions a {
    display: block;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--paramount-line);
    border-radius: 8px;
    background: #fff;
    color: var(--paramount-text);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
  }

  .mobile-nav-actions a:last-child {
    position: relative;
    border: 1px solid var(--paramount-blue);
    background: #fff;
    color: var(--paramount-blue);
    box-shadow: none;
  }

  .mobile-nav-actions a:last-child::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #fd6802, #fcbf02);
  }

  .mobile-nav-actions a:last-child:hover,
  .mobile-nav-actions a:last-child:focus {
    background: #eef7ff;
    color: var(--paramount-blue-dark);
  }
}

/* Desktop-only reference refinement.
 * This block intentionally starts at 768px so the mobile drawer and its
 * right-side breadcrumb chevrons keep their existing dimensions and behavior.
 */
@media (min-width: 768px) {
  .top-bar {
    padding: 6px 0;
    min-height: 34px;
  }

  .top-bar .container-fluid {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
  }

  .top-bar .row {
    display: flex;
    align-items: center;
    margin-left: 0;
    margin-right: 0;
  }

  .top-bar .col-md-6,
  .top-bar .col-sm-6 {
    padding-left: 0;
    padding-right: 0;
  }

  .top-bar .left-top,
  .top-bar .right-top {
    display: flex;
    align-items: center;
    min-height: 19px;
  }

  .top-bar .right-top {
    justify-content: flex-end;
  }

  .top-bar .email-box,
  .top-bar .phone-box {
    display: inline-flex;
    align-items: center;
    margin-right: 22px;
  }

  .top-bar .email-box a,
  .top-bar .phone-box a,
  .top-bar .right-top a {
    font-size: 12px !important;
    line-height: 20px;
    letter-spacing: .1px;
  }

  .top-bar .email-box i,
  .top-bar .phone-box i {
    margin-right: 5px;
    font-size: 10px;
  }

  .top-bar .social-box ul {
    margin: 0;
  }

  .top-bar .social-box ul li a {
    width: 20px;
    height: 20px;
    margin-left: 5px;
    font-size: 11px;
  }

  .header.header_style_01 .navbar {
    min-height: 82px;
  }

  .header.header_style_01 .container-fluid {
    max-width: 1440px;
    min-height: 82px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
  }

  .header.header_style_01 .navbar-brand {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 30px;
  }

  .header.header_style_01 .navbar-brand img {
    max-height: 54px;
  }

  .header.header_style_01 .navbar-nav {
    gap: 7px;
  }

  .header.header_style_01 .navbar-nav > li > a {
    padding: 30px 14px;
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
    letter-spacing: .05px;
  }

  .header.header_style_01 .navbar-nav > li > a.active::after {
    left: 12px;
    right: 12px;
    bottom: 16px;
    height: 3px;
  }

  .header.header_style_01 .nav-bill > a {
    margin-left: 12px;
    padding: 12px 20px !important;
    border-radius: 7px !important;
    font-size: 13px !important;
    line-height: 20px;
    font-weight: 700 !important;
    background: var(--paramount-blue) !important;
    border-color: var(--paramount-blue);
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(0, 111, 214, .2);
  }

  .header.header_style_01 .nav-bill > a:hover,
  .header.header_style_01 .nav-bill > a:focus {
    background: var(--paramount-blue-dark) !important;
    border-color: var(--paramount-blue-dark);
    color: #fff !important;
  }
}

/* Keep the navigation comfortable between phone and full desktop widths. */
@media (min-width: 768px) and (max-width: 1023px) {
  .header.header_style_01 .container-fluid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .header.header_style_01 .navbar-brand {
    padding-right: 16px;
  }

  .header.header_style_01 .navbar-brand img {
    max-height: 46px;
  }

  .header.header_style_01 .navbar-nav {
    gap: 0;
  }

  .header.header_style_01 .navbar-nav > li > a {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 12px;
  }

  .header.header_style_01 .nav-bill > a {
    margin-left: 5px;
    padding: 9px 11px !important;
    font-size: 11px !important;
  }
}
