/* Banner base styling */
.md-banner {
  background-color: #3a4e55;
  color: #f0f4f8;
}

.md-banner a {
  color: #c3dafe;
  text-decoration: none;
}

.md-banner a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Layout */
.announce-line {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}

.announce-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
  font-size: inherit;
}

.announce-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: middle;
}

/* ✅ Mobile: show only icons */
@media (max-width: 600px) {
  .announce-line {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.9rem;
  }

  .announce-icon span {
    display: none !important;  /* critical to enforce */
  }

  .announce-icon svg {
    width: 1.2em;
    height: 1.2em;
  }
}
