/* CBPM visual fixes (loaded after the main stylesheet) */

/* 1. "Submit an Abstract" (and other outline buttons on the conference details page): solid blue, always visible */
.hero-btn-outline,
a.cbpm-home-btn-outline.d-block {
  background: #0D2340 !important; color: #fff !important; border: 2px solid #0D2340 !important;
  opacity: 1 !important; visibility: visible !important; text-shadow: none !important;
}
.hero-btn-outline:hover, .hero-btn-outline:focus, .hero-btn-outline:active,
a.cbpm-home-btn-outline.d-block:hover, a.cbpm-home-btn-outline.d-block:focus, a.cbpm-home-btn-outline.d-block:active {
  background: #17386a !important; border-color: #17386a !important; color: #fff !important;
}

/* 2. Partner / institutional logos: 3 per row, bigger cards and logos */
.cbpm-partner-placeholders {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
}
.cbpm-partner-placeholder {
  min-height: 170px !important;
  padding: 24px !important;
  display: flex !important; flex-direction: column !important;
  align-items: center !important; justify-content: center !important; text-align: center !important;
  background: #fff !important;
}
.cbpm-partner-placeholder img {
  max-height: 100px !important;
  max-width: 100% !important;
  width: auto !important;
  object-fit: contain !important;
}
@media (max-width: 767px) {
  .cbpm-partner-placeholders { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; }
  .cbpm-partner-placeholder { min-height: 130px !important; padding: 16px !important; }
  .cbpm-partner-placeholder img { max-height: 70px !important; }
}
