/* Scoped LDG search and navigation cards. */
@media (min-width:992px) {
  html .main-header .navbar-header { margin-left:40px; }
  html .main-header .navbar-header > li > a { font-size:16px; padding-left:14px; padding-right:14px; }
}
/* Keep the search centered; place the compact wordmark directly to its left. */
html .ldg-masthead { display:grid; grid-template-columns:minmax(92px,1fr) minmax(0,600px) minmax(92px,1fr); gap:40px; padding:28px 0 24px; align-items:center; min-width:0; }
html .ldg-masthead-search { grid-column:2; width:100%; max-width:600px; justify-self:center; min-width:0; }
html .ldg-masthead-search .search-container, html .ldg-masthead-search #search.big-search { width:100%; max-width:600px; margin-left:auto; margin-right:auto; }
html .ldg-masthead-brand { justify-self:end; line-height:0; }
html .ldg-masthead-brand .ldg-wordmark { display:block; width:92px; color:#172033; line-height:0; }
html .ldg-wordmark svg { display:block; width:100%; height:auto; }
html .ldg-wordmark:focus-visible { outline:2px solid #4668ff; outline-offset:6px; border-radius:2px; }
.ldg-feature-grid { display:grid; grid-template-columns:1.08fr repeat(4,minmax(0,1fr)); grid-auto-rows:204px; gap:14px; padding:0; margin:0; }
.ldg-feature-card { display:flex; min-width:0; padding:18px 12px 14px; flex-direction:column; align-items:center; justify-content:center; background:#fff; border-radius:4px; color:#303640; text-align:center; text-decoration:none; transition:transform .2s,box-shadow .2s; }
.ldg-feature-card:hover { color:#303640; transform:translateY(-3px); box-shadow:0 10px 24px rgba(30,45,90,.07); }
.ldg-feature-card:focus-visible { outline:2px solid #4668ff; outline-offset:3px; }
.ldg-feature-card img { display:block; flex:0 0 auto; width:58px; height:58px; max-width:80%; margin:0 0 16px; object-fit:contain; }
.ldg-feature-card > strong { display:block; flex-shrink:0; font-size:15px; line-height:1.5; font-weight:500; color:inherit; }
.ldg-feature-subtitle { display:block; flex-shrink:0; width:100%; margin-top:4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; line-height:1.6; color:#7d8592; }
.ldg-feature-subtitle::after { content:""; display:block; box-sizing:border-box; width:5px; height:5px; border-top:1px solid currentColor; border-right:1px solid currentColor; transform:rotate(45deg); margin:12px auto 2px; color:#8b93a1; }
.ldg-feature-card--lead { grid-row:span 2; padding:30px 18px; background:#fff; }
.ldg-feature-card--lead .ldg-feature-eyebrow { margin-bottom:10px; font-size:11px; letter-spacing:2px; color:#7d8592; }
.ldg-feature-card--lead > strong { font-size:23px; font-weight:600; }
.ldg-feature-card--lead .ldg-feature-subtitle { white-space:normal; font-size:12px; line-height:1.8; max-width:160px; margin-top:9px; }
.ldg-feature-card--lead img { width:120px; height:120px; margin:26px 0 8px; }
.io-black-mode .ldg-feature-card { background:#282c33; color:#e5e8ed; }
.io-black-mode .ldg-feature-subtitle, .io-black-mode .ldg-feature-eyebrow { color:#a8b0be; }
.io-black-mode .ldg-feature-subtitle::after { color:#a8b0be; }
html.io-black-mode .ldg-wordmark { color:#f5f6fa; }
@media (min-width:768px) and (max-width:1199px) {
  html .ldg-masthead { grid-template-columns:92px minmax(0,600px); gap:28px; justify-content:center; }
  .ldg-feature-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .ldg-feature-card--lead { grid-column:span 2; }
}
@media (max-width:767px) {
  html .ldg-masthead { grid-template-columns:minmax(0,1fr); gap:18px; padding:18px 0 20px; }
  html .ldg-masthead-brand { justify-self:center; }
  html .ldg-masthead-brand .ldg-wordmark { width:76px; }
  html .ldg-masthead-search { grid-column:1; max-width:560px; }
  .ldg-feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:204px; gap:10px; }
  .ldg-feature-card--lead { grid-row:auto; grid-column:1/-1; display:grid; grid-template-columns:1fr 92px; column-gap:16px; grid-template-rows:auto auto auto auto; text-align:left; align-content:center; padding:22px; }
  .ldg-feature-card--lead img { grid-column:2; grid-row:1/5; width:92px; height:92px; margin:0; max-width:100%; }
  .ldg-feature-card--lead .ldg-feature-eyebrow { margin:0 0 7px; }
  .ldg-feature-card--lead .ldg-feature-subtitle { max-width:none; margin:5px 0; }
  .ldg-feature-card--lead .ldg-feature-subtitle::after { margin-left:0; margin-right:0; }
}
@media (prefers-reduced-motion:reduce) { .ldg-feature-card { transition:none; } .ldg-feature-card:hover { transform:none; } }
