/* Digital Badges page: only what the site's shared styles (style.css) don't already cover. */
.badges-header {
  background-color: var(--dark-blue);
  padding: 4rem 0;
}
.badges-header .badges-header-img { /* beats style.css's ".col-md-5 img { width: 100% }" */
  width: min(220px, 60%);
  height: auto;
}

/* Example LinkedIn entry: a neutral drawing of the profile section, not LinkedIn's own interface */
.badges-linkedin-intro { max-width: 760px; margin-left: auto; margin-right: auto; }
.badges-profile {
  position: relative;
  max-width: 680px;
  background: var(--white);
  border: 1px solid #ddd8d0;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 1.5rem 1.75rem;
  text-align: left;
}
.badges-profile-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
}
.badges-profile-heading { font-size: 1.15rem; font-weight: 700; color: #1f1f1f; margin-bottom: 1rem; }
.badges-profile-entry { display: flex; gap: 1rem; align-items: flex-start; }
.badges-profile-logo { width: 64px; height: 64px; flex-shrink: 0; border-radius: 4px; }
.badges-profile-entry p { margin: 0; line-height: 1.4; }
.badges-profile-title { font-size: 1rem; font-weight: 700; color: #1f1f1f; }
.badges-profile-org { font-size: 0.9rem; color: #1f1f1f; }
.badges-profile-meta { font-size: 0.8rem; color: #666; }
.badges-profile-meta + .badges-profile-meta { word-break: break-all; }
.badges-profile-button {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #444;
  border: 1px solid #888;
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
}

.badges-card-body {
  padding: 1.5rem !important;
}
.badges-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.badges-list li {
  font-size: 0.8em;
  padding: 0.6rem 0;
}
.badges-list li + li {
  border-top: 1px solid var(--cream);
}

@media (max-width: 767px) {
  .badges-header { padding: 2.5rem 0; }
  .badges-header .badges-header-img { width: 150px; }
  .badges-profile { padding: 1.25rem; }
}
