/* ==========================================================================
   Agents List Stylesheet (agents-list.css)
   Derived from D:\RandD\Team\agents-list_1.html
   ========================================================================== */

:root {
  --ink: #0E0E12;
  --ink-85: rgba(14, 14, 18, 0.84);
  --ink-55: rgba(14, 14, 18, 0.55);
  --blue: #364CFF;
  --bg: #fafcfd;
  --line: #f0f0f0;
  --unit-border: #eef0f2;
  --footer: #060606;
  --footer-font: #bebebe;
  --radius: 10px;
}

header, header.transparent {
  background-color: #0E0E12 !important;
  background: #0E0E12 !important;
  position: relative !important;
}

body {
  background-color: var(--bg);
}

main {
  background-color: var(--bg);
}

.agents-wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 44px 60px 70px;
  background-color: var(--bg);
}

.agents-wrap h1.page-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 22px;
}

.agents-wrap .lead {
  color: var(--ink-85);
  max-width: 1180px;
  font-size: 16px;
  margin-bottom: 18px;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
}

/* AGENT GRID */
.agrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 28px;
}

.acard {
  background: #fff;
  border: 1px solid var(--unit-border);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.acard:hover {
  box-shadow: 0 20px 40px -26px rgba(14, 14, 18, 0.45);
  transform: translateY(-3px);
}

.aphoto {
  height: 250px;
  overflow: hidden;
  background: #10131c;
  position: relative;
}

.aphoto img,
.aphoto svg {
  width: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.3s ease;
}

.acard:hover .aphoto img {
  transform: scale(1.03);
}

.abody {
  padding: 20px 22px 0;
  flex: 1;
}

.aname {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

.aname a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.aname a:hover {
  color: var(--blue);
}

.arole {
  font-size: 13px;
  color: var(--ink-55);
  margin: 4px 0 14px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
}

.abio {
  font-size: 14px;
  color: var(--ink-85);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 66px;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
}

.asocial {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  padding: 16px 22px;
  border-top: 1px solid var(--unit-border);
  background: #fff;
}

.asocial a {
  color: #3a3f4a;
  font-size: 16px;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.asocial a:hover {
  color: var(--blue);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1100px) {
  .agrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .agents-wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 560px) {
  .agrid {
    grid-template-columns: 1fr;
  }

  .agents-wrap h1.page-title {
    font-size: 30px;
  }
}
