/* ==========================================================================
   u_member single page — UI refinement (scoped)
   Body classes confirmed: single-u_member
   ========================================================================== */

body.single-u_member .member-item {
  /* Creates clean separation without heavy borders */
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Improve the title hierarchy */
body.single-u_member .member-item .item-title {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.15;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
}

/* Position line (u-member-pos) */
body.single-u_member .member-item .item-content > h4.small-text {
  margin: 0 0 10px 0;
  font-size: 14px;
  line-height: 1.35;
  opacity: 0.85;
}

/* Department taxonomy block */
body.single-u_member .member-tax.small-text {
  margin: 0 0 10px 0;
  font-size: 13px;
  line-height: 1.35;
  opacity: 0.9;
}

/* Excerpt paragraph spacing */
body.single-u_member .member-item .item-content > p {
  margin: 0 0 12px 0;
  font-size: 15px;
  line-height: 1.6;
}

/* Social buttons row: tighten and align */
body.single-u_member .social-light {
  margin-top: 10px;
  margin-bottom: 0;
}
body.single-u_member .social-light > li {
  padding-left: 3px;
  padding-right: 3px;
}
body.single-u_member .social-light a.social-icon {
  border-radius: 10px;
  padding: 8px 10px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Your added blocks: contact + profiles
   They share: .member-contact.small-text and .member-profiles.small-text
   -------------------------------------------------------------------------- */

body.single-u_member .member-contact.small-text,
body.single-u_member .member-profiles.small-text {
  /* Make these read like structured metadata */
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.92;
  margin-top: 10px;
}

/* Add subtle separation above contact info */
body.single-u_member .member-contact.small-text {
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Improve readability of labels */
body.single-u_member .member-contact.small-text strong,
body.single-u_member .member-profiles.small-text strong {
  font-weight: 600;
}

/* Profile links: clean and consistent */
body.single-u_member .member-profiles.small-text a {
  text-decoration: none;
  font-weight: 600;
  /* Use currentColor so it inherits theme palette;
     override only if you want a fixed accent color */
  color: inherit;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  padding-bottom: 1px;
}

body.single-u_member .member-profiles.small-text a:hover,
body.single-u_member .member-profiles.small-text a:focus-visible {
  border-bottom-color: rgba(0, 0, 0, 0.45);
  outline: none;
}

/* Optional: if you want profile links to pop a bit more, uncomment and set a color */
/*
body.single-u_member .member-profiles.small-text a {
  color: #0a66c2;
  border-bottom-color: rgba(10, 102, 194, 0.35);
}
body.single-u_member .member-profiles.small-text a:hover,
body.single-u_member .member-profiles.small-text a:focus-visible {
  border-bottom-color: rgba(10, 102, 194, 0.75);
}
*/

/* --------------------------------------------------------------------------
   Thumbnail spacing and responsiveness
   -------------------------------------------------------------------------- */

body.single-u_member .member-item .item-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

/* Reduce padding around the avatar area slightly */
body.single-u_member .member-item .content-pad {
  padding: 12px;
}

/* Make the two-column layout breathe on small screens */
@media (max-width: 767px) {
  body.single-u_member .member-item .content-pad {
    padding: 10px;
  }

  body.single-u_member .member-item .item-title {
    margin-top: 6px;
  }

  body.single-u_member .member-contact.small-text,
  body.single-u_member .member-profiles.small-text {
    font-size: 13px;
  }
}

/* --------------------------------------------------------------------------
   Main content area (the_content) spacing and typography
   -------------------------------------------------------------------------- */

body.single-u_member .pure-content {
  margin-top: 18px;
}

body.single-u_member .pure-content p {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 12px;
}

/* Prevent long URLs from breaking layout (profiles/any content) */
body.single-u_member .member-profiles.small-text,
body.single-u_member .pure-content {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Disable forced capitalization from .small-text */
body.single-u_member .member-contact.small-text,
body.single-u_member .member-profiles.small-text {
  text-transform: none;
  letter-spacing: normal;
}

body.single-u_member h4,
body.single-u_member .cat-link {
  text-transform: none;
  letter-spacing: normal;
}

/* Social icon buttons — member page */
body.single-u_member .btn.btn-default.social-icon {
  color: #179bd7;
  border-color: #179bd7;
}

