/* Public site header, design 1: information bar, brand bar, menu bar. */
.rb-header {
    --rb-navy: #0b3d7a;
    --rb-blue: #1a5dab;
    --rb-orange: #f28c1b;
    --rb-orange-dark: #d9531a;
    --rb-ink: #1f2d3d;
    --rb-muted: #5b6b80;
    --rb-line: #dfe5ee;
    --rb-soft: #f4f7fb;
    font-family: "Poppins", "Roboto", Arial, sans-serif;
    position: relative;
    z-index: 1000;
    background: #fff;
}
.rb-header *, .rb-header *::before, .rb-header *::after { box-sizing: border-box; }
.rb-header a { text-decoration: none; }
.rb-header ul { list-style: none; margin: 0; padding: 0; }
.rb-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; }
.rb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Information bar */
.rb-topbar { background: var(--rb-navy); color: #d6e4f5; font-size: 12.5px; }
.rb-topbar .rb-wrap { justify-content: space-between; min-height: 36px; gap: 12px; }
.rb-info { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.rb-info li, .rb-info a { color: #d6e4f5; display: inline-flex; align-items: center; gap: 7px; }
.rb-info a:hover { color: #fff; }
.rb-info i { color: var(--rb-orange); font-size: 12px; }
.rb-social { display: flex; gap: 6px; }
.rb-social a {
    width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    color: #d6e4f5; background: rgba(255, 255, 255, 0.08); font-size: 12px; transition: background .2s, color .2s;
}
.rb-social a:hover, .rb-social a:focus-visible { background: var(--rb-orange); color: #fff; }

/* Brand bar */
.rb-brandbar { border-bottom: 3px solid var(--rb-orange); }
.rb-brandbar .rb-wrap { min-height: 86px; gap: 20px; }
.rb-brand { display: flex; align-items: center; gap: 18px; margin-right: auto; color: var(--rb-ink); }
.rb-brand img { height: 48px; width: auto; display: block; }
.rb-title { display: flex; flex-direction: column; padding-left: 18px; border-left: 1px solid var(--rb-line); line-height: 1.25; }
.rb-title strong { font-size: 22px; font-weight: 700; color: var(--rb-navy); letter-spacing: .2px; }
.rb-title span { font-size: 13px; color: var(--rb-muted); }
.rb-search { display: flex; align-items: center; border: 1px solid var(--rb-line); border-radius: 999px; background: var(--rb-soft); overflow: hidden; }
.rb-search input { border: 0; background: transparent; height: 40px; padding: 0 6px 0 16px; width: 220px; font-size: 13.5px; color: var(--rb-ink); outline: none; }
.rb-search button { border: 0; background: transparent; width: 42px; height: 40px; color: var(--rb-navy); cursor: pointer; }
.rb-search:focus-within { border-color: var(--rb-blue); background: #fff; box-shadow: 0 0 0 3px rgba(26, 93, 171, .12); }
.rb-toggle { display: none; border: 1px solid var(--rb-line); background: #fff; color: var(--rb-navy); width: 44px; height: 42px; border-radius: 8px; font-size: 18px; cursor: pointer; }

/* Menu bar */
.rb-navbar { background: var(--rb-soft); border-bottom: 1px solid var(--rb-line); }
.rb-nav { width: 100%; }
.rb-menu { display: flex; flex-wrap: wrap; justify-content: center; }
.rb-item { position: relative; }
.rb-link {
    display: inline-flex; align-items: center; gap: 7px; height: 50px; padding: 0 16px; border: 0; background: transparent;
    font: inherit; font-size: 14px; font-weight: 600; color: var(--rb-navy); cursor: pointer; white-space: nowrap; position: relative;
}
.rb-link i { font-size: 10px; transition: transform .2s; }
.rb-link::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
    background: var(--rb-orange); transform: scaleX(0); transition: transform .2s;
}
.rb-item:hover > .rb-link, .rb-link:focus-visible, .rb-item.is-active > .rb-link { color: var(--rb-orange-dark); }
.rb-item:hover > .rb-link::after, .rb-item.is-active > .rb-link::after { transform: scaleX(1); }
.rb-link:focus-visible { outline: 2px solid var(--rb-blue); outline-offset: -4px; }

/* Dropdowns */
.rb-drop {
    position: absolute; top: 100%; left: 0; min-width: 300px; display: flex; gap: 8px; padding: 14px; background: #fff;
    border: 1px solid var(--rb-line); border-top: 3px solid var(--rb-orange); border-radius: 0 0 10px 10px;
    box-shadow: 0 14px 30px rgba(11, 61, 122, .14); opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s, transform .18s, visibility .18s; z-index: 20;
}
.rb-item.rb-has-drop:hover > .rb-drop, .rb-item.rb-has-drop:focus-within > .rb-drop, .rb-item.is-open > .rb-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.rb-item.rb-has-drop:hover > .rb-link i, .rb-item.is-open > .rb-link i { transform: rotate(180deg); }
.rb-mega { position: static; }
.rb-mega > .rb-drop { left: 50%; transform: translate(-50%, 6px); width: min(1200px, calc(100vw - 40px)); }
.rb-item.rb-has-drop.rb-mega:hover > .rb-drop,
.rb-item.rb-has-drop.rb-mega:focus-within > .rb-drop,
.rb-item.rb-has-drop.rb-mega.is-open > .rb-drop { transform: translate(-50%, 0); }
.rb-navbar .rb-wrap { position: relative; }
.rb-col { flex: 1 1 0; min-width: 200px; display: flex; flex-direction: column; }
.rb-col a { display: block; padding: 8px 10px; border-radius: 6px; font-size: 13px; line-height: 1.4; color: var(--rb-ink); }
.rb-col a:hover, .rb-col a:focus-visible { background: var(--rb-soft); color: var(--rb-orange-dark); outline: none; }
.rb-col a.is-soon { color: var(--rb-muted); }
.rb-col-title { font-size: 12px; font-weight: 700; color: var(--rb-navy); text-transform: uppercase; letter-spacing: .6px; padding: 8px 10px 2px; }
.rb-col-sub { font-size: 12px; color: var(--rb-muted); padding: 8px 10px 0; }

/* Tablet and phone: menu folds behind the toggle button */
@media (max-width: 991px) {
    .rb-topbar .rb-wrap { justify-content: center; }
    .rb-info li:nth-child(n+2) { display: none; }
    .rb-brandbar .rb-wrap { min-height: 72px; gap: 12px; }
    .rb-brand img { height: 38px; }
    .rb-title strong { font-size: 17px; }
    .rb-title span { font-size: 11.5px; }
    .rb-search { display: none; }
    .rb-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .rb-navbar { display: none; }
    .rb-header.is-menu-open .rb-navbar { display: block; }
    .rb-header.is-menu-open .rb-brandbar .rb-wrap { flex-wrap: wrap; }
    .rb-header.is-menu-open .rb-search { display: flex; order: 3; width: 100%; margin: 0 0 12px; }
    .rb-header.is-menu-open .rb-search input { width: 100%; }
    .rb-menu { flex-direction: column; align-items: stretch; padding: 8px 0; }
    .rb-link { width: 100%; height: 46px; justify-content: space-between; padding: 0 4px; border-bottom: 1px solid var(--rb-line); }
    .rb-link::after { display: none; }
    .rb-item.is-active > .rb-link { color: var(--rb-orange-dark); }
    .rb-drop, .rb-mega > .rb-drop {
        position: static; width: auto; min-width: 0; transform: none; opacity: 1; visibility: visible; display: none;
        flex-direction: column; box-shadow: none; border: 0; border-left: 3px solid var(--rb-orange); border-radius: 0;
        padding: 4px 0 8px 10px; margin: 0 0 6px;
    }
    .rb-item.rb-has-drop:hover > .rb-drop, .rb-item.rb-has-drop:focus-within > .rb-drop { display: none; }
    .rb-header .rb-menu .rb-item.rb-has-drop.is-open > .rb-drop { display: flex; }
    .rb-header .rb-menu .rb-item.rb-has-drop > .rb-drop,
    .rb-header .rb-menu .rb-item.rb-has-drop:hover > .rb-drop,
    .rb-header .rb-menu .rb-item.rb-has-drop:focus-within > .rb-drop { transform: none; left: auto; }
    .rb-col { min-width: 0; }
}
@media (max-width: 575px) {
    .rb-wrap { padding: 0 14px; }
    .rb-social a { width: 24px; height: 24px; }
    .rb-brandbar .rb-wrap { min-height: 64px; }
    .rb-brand { gap: 10px; min-width: 0; }
    .rb-brand img { height: 30px; }
    .rb-title { padding-left: 10px; min-width: 0; }
    .rb-title strong { font-size: 15px; white-space: nowrap; }
    .rb-title span { display: none; }
    .rb-toggle { width: 40px; height: 38px; font-size: 16px; flex: none; }
}
