.promo-ribbon {
  display: flex;
  align-items: center;
  /*justify-content: center;*/
  flex-wrap: nowrap;
  /*background-color: #fbe5b2;*/
  color: #000;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
  box-sizing: border-box;
  width: 100%;
}
.promo-icon {
  width: 25px;
  height: 25px;
  margin-right: 8px;
  flex: 0 0 auto;
}
.promo-text {
  flex: 0 1 auto;
  display: inline-block;
  line-height: 1.4;
  text-align: left;
}
.promo-text p {
  margin:0;
}
/* Make ribbon full width by breaking out of responsivegrid */
.mainContent.responsivegrid .libraryalertribbon {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
	background-color: #fbe5b2;
}

/* Mobile (up to 480px) */
@media (max-width: 480px) {
  .promo-ribbon {
    font-size: 11px;
    padding: 6px 15px;
    flex-wrap: nowrap;     /* ← change from wrap to nowrap */
    text-align: left;      /* ← change from center to left */
    align-items: flex-start; /* ← align icon to top */
  }
  .promo-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    flex-shrink: 0;        /* ← prevent icon from shrinking */
  }
  .small-icon { display: inline; }
  .large-icon { display: none; }
}

/* Tablet (481px to 767px) */
@media (min-width: 481px) and (max-width: 1023px) {
  .promo-ribbon {
    font-size: 12px;
    padding: 7px 10px;
  }
  .small-icon { display: inline; }
  .large-icon { display: none; }
}
/* Desktop (768px and above) */
@media (min-width: 1024px) {
  .promo-ribbon {
    font-size: 17px;
    padding: 8px 18px;
  }
  .small-icon { display: none; }
  .large-icon { display: inline; }
}