/* Shared header / sub-navigation / footer (redesign). Prefixed rd- so it can sit on top of the old Metronic pages. */
.rd-wrap{max-width:1200px;margin:0 auto;padding:0 24px;box-sizing:border-box}
.rd-top,.rd-sticky,.rd-subnav,.rd-foot{font-family:'Poppins',system-ui,sans-serif}
.rd-top *,.rd-sticky *,.rd-subnav *,.rd-foot *{box-sizing:border-box}
.rd-top a,.rd-sticky a,.rd-subnav a,.rd-foot a{text-decoration:none}

/* Header on top of the hero (transparent) */
.rd-top{position:relative;z-index:20;color:#fff}
.rd-top.rd-overlay{position:absolute;top:0;left:0;right:0}
.rd-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;min-height:100px}
.rd-top .rd-bar{border-bottom:1px solid rgba(255,255,255,.16)}
.rd-logo{display:flex;align-items:center}
.rd-logo img{height:46px;width:auto;display:block}
.rd-nav{display:flex;flex-wrap:wrap;gap:40px;align-items:center}
.rd-nav a{font-size:16px;font-weight:500;padding:8px 0;line-height:1.4}
.rd-top .rd-nav a{color:#fff}
.rd-top .rd-nav a:hover{color:#FFB1B2}
.rd-top .rd-nav a.on{color:#8EC8FF;box-shadow:inset 0 -3px 0 #EE3032}
.rd-nav a.rd-cta{padding:10px 22px;border-radius:8px;font-weight:600}
.rd-top .rd-nav a.rd-cta{border:1.5px solid #fff;color:#fff}
.rd-top .rd-nav a.rd-cta:hover,.rd-top .rd-nav a.rd-cta.on{background:#fff;color:#04154A;box-shadow:none}

/* Sticky header (white, slides in after scrolling) */
.rd-sticky{position:fixed;top:0;left:0;right:0;z-index:1050;background:#fff;box-shadow:0 2px 14px rgba(10,31,68,.10);transform:translateY(-110%);transition:transform .35s ease}
.rd-sticky.show{transform:translateY(0)}
.rd-sticky .rd-bar{min-height:84px}
.rd-sticky .rd-logo img{height:40px}
.rd-sticky .rd-nav{gap:34px}
.rd-sticky .rd-nav a{color:#0A1F44}
.rd-sticky .rd-nav a:hover{color:#EE3032}
.rd-sticky .rd-nav a.on{color:#EE3032;font-weight:600}
.rd-sticky .rd-nav a.rd-cta{border:1.5px solid #0A1F44;color:#0A1F44}
.rd-sticky .rd-nav a.rd-cta:hover,.rd-sticky .rd-nav a.rd-cta.on{background:#0A1F44;color:#fff}

/* Mobile menu */
.rd-toggle{display:none;width:44px;height:44px;border-radius:8px;border:1.5px solid currentColor;background:transparent;color:inherit;align-items:center;justify-content:center;cursor:pointer;padding:0}
.rd-sticky .rd-toggle{color:#0A1F44}
@media (max-width:991.98px){
  .rd-toggle{display:inline-flex}
  .rd-nav{display:none;flex-basis:100%;flex-direction:column;align-items:flex-start;gap:4px;padding:8px 0 20px}
  .rd-open .rd-nav{display:flex}
  .rd-nav a{width:100%;padding:10px 0}
  .rd-top .rd-nav a.on,.rd-sticky .rd-nav a.on{box-shadow:none}
  .rd-nav a.rd-cta{width:auto;margin-top:8px}
  .rd-top.rd-open{background:#04154A}
}

/* Section sub-navigation (tabs under the hero) */
.rd-subnav{position:sticky;top:84px;z-index:40;background:#fff;border-bottom:1px solid #E1E7F2}
.rd-subnav nav{display:flex;gap:36px;overflow-x:auto}
.rd-subnav a{display:inline-flex;align-items:center;min-height:60px;padding:0 4px;color:#3B4560;font-size:15px;font-weight:500;white-space:nowrap}
.rd-subnav a:hover{color:#0A1F44}
.rd-subnav a.on{color:#0A1F44;font-weight:700;box-shadow:inset 0 -3px 0 #EE3032}

/* Footer */
.rd-foot{position:relative;color:#C9D6EE;margin-top:0}
.rd-foot-bg{position:relative;overflow:hidden;background:linear-gradient(180deg,#04154A 0%,#030F36 100%)}
.rd-foot a:hover{color:#fff !important}
.rd-foot p{margin:0}

/* Anchor targets sit below the sticky header */
#org-structure,#meet-the-team{scroll-margin-top:110px}

/* Hidden menu: Investor Relations (remove these rules to show it again) */
.rd-nav a[href$="investor-relations.html"],
.rd-foot a[href$="investor-relations.html"]{display:none!important}

/* Hidden footer links: Sitemap and YouTube (remove these rules to show them again) */
.rd-foot a[href*="octopus.do"],
.rd-foot a[aria-label="YouTube"]{display:none!important}

/* Hidden Company Profile tabs: Meet the Team, Gallery, Careers (remove these rules to show them again) */
.rd-subnav a[href$="team.html"],
.rd-subnav a[href$="galleries.html"],
.rd-subnav a[href$="careers.html"]{display:none!important}
