/* =========================================================
   SUPREME LENDING — Loan Officer Directory (WordPress / Divi)
   All rules scoped under .sl-lo so they don't collide with
   Divi or other theme styles.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

.sl-lo {
  font-family: 'Inter', Arial, sans-serif;
  color: #001a40;
  font-size: 15px;
  line-height: 1.55;
}
.sl-lo *, .sl-lo *::before, .sl-lo *::after { box-sizing: border-box; }

.sl-lo__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 860px) { .sl-lo__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sl-lo__grid { grid-template-columns: 1fr; } }

.sl-lo__card {
  background: #ffffff;
  border: 1px solid #e2e6ee;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow .15s ease, border-color .15s ease;
}
.sl-lo__card::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 56px;
  background: #ff6633;
}
.sl-lo__card:hover {
  box-shadow: 0 10px 28px rgba(0, 26, 64, .10);
  border-color: #c9d2e0;
}

.sl-lo__name {
  font-family: 'Work Sans', Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #001a40;
  line-height: 1.2;
  margin: 0 0 2px;
}
.sl-lo__name a,
.sl-lo__name a:link,
.sl-lo__name a:visited { color: #001a40; text-decoration: none; border: 0; }
.sl-lo__name a:hover { color: #50b0ff; }

.sl-lo__title {
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #50b0ff;
  margin-bottom: 10px;
}
.sl-lo__location {
  font-size: 14px;
  font-weight: 500;
  color: #001a40;
  margin-bottom: 2px;
}
.sl-lo__nmls {
  font-size: 13px;
  color: #001a40;
  margin-bottom: 16px;
}

.sl-lo__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e2e6ee;
}
.sl-lo__actions a,
.sl-lo__actions a:link,
.sl-lo__actions a:visited,
.sl-lo__actions a:hover,
.sl-lo__actions a:active,
.sl-lo__actions a:focus {
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: 0;
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  border: 0;
}
.sl-lo__actions a.profile,
.sl-lo__actions a.profile:link,
.sl-lo__actions a.profile:visited,
.sl-lo__actions a.profile:hover { background: #001a40; color: #ffffff; }
.sl-lo__actions a.profile:hover { background: #002a66; }

.sl-lo__actions a.email,
.sl-lo__actions a.email:link,
.sl-lo__actions a.email:visited,
.sl-lo__actions a.email:hover {
  background: #ffffff;
  color: #001a40;
  border: 2px solid #50b0ff;
  padding: 10px 16px;
}
.sl-lo__actions a.email:hover {
  background: #50b0ff;
  color: #ffffff;
  border-color: #50b0ff;
}

.sl-lo__empty {
  grid-column: 1 / -1;
  padding: 40px 24px;
  text-align: center;
  border: 1px dashed #e2e6ee;
  color: #5a6478;
}
