/* Supplied Capital logo is square; preserve its aspect ratio on both templates. */
.iplat_list { display: flex; flex-wrap: wrap; gap: 12px; height: auto; }
.iplat_list .item { float: none; width: auto; margin-right: 0; }
.iplat_list .item_m { width: auto; min-width: 138px; padding: 0 12px; white-space: nowrap; }
@media (max-width: 750px) {
  .iplat_list { gap: 8px; height: auto; }
  .iplat_list .item { width: auto; }
  .iplat_list .item_m { min-width: 0; margin: 0; padding: 0 10px; }
}
/* Disable background media only; keep the surrounding sections and their sizing. */
video[data-capital-video-disabled],
.ibanner .video_bg,
.imain4 .video_bg {
  display: none !important;
}
.capital-support {
  position: fixed !important;
  right: 20px;
  bottom: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 2147483000;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 28px;
  background: #0756a8;
  color: #fff !important;
  font: 600 14px/1.4 Arial, sans-serif;
  text-decoration: none !important;
  box-shadow: 0 4px 16px #0004;
}
.capital-support:hover { background: #064285; }
.capital-support:focus-visible { outline: 3px solid #29b8ee; outline-offset: 3px; }
@media (max-width: 750px) {
  .capital-support { right: 12px; padding: 11px 14px; }
}
img[src$="/capital-logo.png"] {
  object-fit: contain !important;
  width: auto !important;
  max-width: 100%;
}
.topbox .logo img {
  height: 70px;
}
.ft-logo img {
  width: 150px !important;
  height: 150px !important;
  max-height: none !important;
}
.navbar-brand img[src$="/capital-logo.png"] {
  height: 72px !important;
  max-height: none !important;
}
.ft-logo img[src$="/capital-logo.png"] {
  width: 150px !important;
  height: auto !important;
  max-height: none !important;
}
@media (max-width: 750px) {
  .topbox .logo { top: 0; left: 0; height: 50px; }
  .topbox .logo img { height: 48px; }
  .navbar-brand img[src$="/capital-logo.png"] { height: 48px !important; }
}
