/* Research and News page styles */
*{box-sizing:border-box;}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:#001334;margin:0;padding:0;}
.msi{font-family:'Material Symbols Outlined';font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24;vertical-align:middle;line-height:1;}

/* Nav hover */
.navgrp:hover .navgrp-menu,
.navgrp:focus-within .navgrp-menu{opacity:1!important;pointer-events:auto!important;transform:translateY(0)!important;}
.navgrp-menu a:hover{background:#E2E8FF!important;border-left-color:#004FAB!important;}

/* Research cards grid */
.rn-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;}
.rn-card{border:1px solid #E5E9F2;border-radius:14px;padding:20px 24px;background:#FFFFFF;transition:box-shadow 0.2s;}
.rn-card:hover{box-shadow:0 8px 24px rgba(0,79,171,0.10);}

/* Innovation spotlight (legacy rule — Twig template uses .dsq-split, not .rn-spotlight) */
.rn-spotlight{display:grid;grid-template-columns:3fr 2fr;gap:32px;align-items:center;}

/* Sticky bar base */
#stickybar{position:fixed;bottom:0;left:0;right:0;z-index:9000;background:#001334;border-top:2px solid #E4B038;padding:12px 24px;}

/* ── Responsive ── */
@media(max-width:900px){
  .rsp-section{padding-left:20px!important;padding-right:20px!important;}
  .rsp-2col{grid-template-columns:1fr!important;}
  .rn-spotlight{grid-template-columns:1fr!important;}
  nav.dsq-nav{display:none;}
  h1{font-size:22px!important;}

  /* ── Innovation Spotlight: collapse text + image to single column ──
     .dsq-split is intentionally excluded from [data-rsp="2col"] in layout.css;
     this page-scoped override supplies the mobile collapse. */
  .dsq-split{grid-template-columns:1fr!important;}
  /* Image container: let height scale naturally at full width */
  .dsq-spotlight-img{height:auto!important;max-height:none!important;}
  .dsq-spotlight-img img{height:auto!important;max-height:220px!important;width:100%!important;}

  /* Bottom features right column: remove left border when stacked */
  .dsq-split__aside{border-left:none!important;padding-left:0!important;border-top:1px solid #E5E9F2!important;padding-top:20px!important;}

  /* Breadcrumb paddings */
  [style*="padding:8px 40px"]{padding-left:20px!important;padding-right:20px!important;}

  /* Device image: allow full width when stacked */
  [style*="max-width:320px"]{max-width:100%!important;}

  /* Features gap */
  .rsp-2col[style*="gap:40px"]{gap:20px!important;}

  /* Right column (node body pages) */
  .rsp-feat-right{border-left:none!important;padding-left:0!important;border-top:1px solid #E5E9F2!important;padding-top:20px!important;}

  /* Sticky bar */
  #stickybar>div{flex-wrap:wrap!important;gap:8px!important;}
  #stickybar>div>div[style*="min-width"]{flex:0 0 calc(50% - 4px)!important;min-width:0!important;}
  #stickybar button{flex:0 0 100%!important;width:100%!important;}
}

@media(max-width:600px){
  h1{font-size:22px!important;}
  .rn-cards{grid-template-columns:1fr!important;}
  #stickybar .dsqdd{display:none!important;}
  #stickybar>div>div{flex:1!important;min-width:0!important;}
}
