:root{
  --tm-text:#0f172a;
  --tm-muted:rgba(15,23,42,.70);
  --tm-border:rgba(15,23,42,.12);
  --tm-border-strong:rgba(15,23,42,.18);
  --tm-surface:#ffffff;
  --tm-surface-2:rgba(15,23,42,.03);
  --tm-shadow:0 10px 30px rgba(2,6,23,.08);
  --tm-shadow-hover:0 14px 36px rgba(2,6,23,.12);
  --tm-radius:16px;
  --tm-radius-sm:12px;
  --tm-gap:22px;
  --tm-input-h:44px;
  --tm-input-radius:4px;
  --tm-input-bg:#fff;
  --tm-input-border:rgba(15,23,42,.20);
  --tm-focus:rgba(37,99,235,.30);
}

/* Global */
.tdk-tm,
.tdk-tm *{box-sizing:border-box;}

.tdk-tm{color:var(--tm-text);}

.tdk-tm ul, 
.tdk-tm ol {
  list-style: disc;
  padding-left: 4%;
  font-size:16px;
}


/* Toolbar / Filters */
.tdk-tm__toolbar{
  display:grid;
  gap:14px;
  grid-template-columns:1fr 260px 260px;
  align-items:end;
  margin:0 0 18px 0;
  padding:0;
  border:none;
  background:transparent;
  border-radius:0;
}

.tdk-tm__control{display:grid;gap:6px;}

.tdk-tm__control label{
  font-size:14px;
  font-weight:600;
  color:var(--tm-muted);
  letter-spacing:.01em;
}

.tdk-tm__control input,
.tdk-tm__control select{
  height:var(--tm-input-h);
  width:100%;
  padding:10px 12px;
  border:1px solid var(--tm-input-border);
  border-radius:var(--tm-input-radius);
  background:var(--tm-input-bg);
  color:var(--tm-text);
  font-size:16px;
  line-height:1;
  outline:none;
  transition:box-shadow .15s ease,border-color .15s ease,transform .15s ease;
}

.tdk-tm__control input::placeholder{color:rgba(15,23,42,.45);}

.tdk-tm__control input:focus,
.tdk-tm__control select:focus{
  border-color:rgba(37,99,235,.55);
  box-shadow:0 0 0 4px var(--tm-focus);
}

/* “Showing X team members” (if used) */
.tdk-tm__meta{
  margin:10px 0 18px 0;
  font-size:14px;
  color:var(--tm-muted);
}

/* Jump / Pills */
.tdk-tm__jump{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 18px 0;
}

.tdk-tm__jump a{
  text-decoration:none;
  border:1px solid var(--tm-border);
  background:var(--tm-surface);
  border-radius:999px;
  padding:7px 12px;
  font-size:14px;
  font-weight:600;
  color:var(--tm-text);
  transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;
}

.tdk-tm__jump a:hover{
  transform:translateY(-1px);
  border-color:var(--tm-border-strong);
  box-shadow:0 8px 18px rgba(2,6,23,.08);
}

/* Sections */
.tdk-tm__section{
  margin-top:3.5rem;
  padding-top:2.5rem;
  border-top:1px solid rgba(15,23,42,.12);
}

.tdk-tm__section:first-child{
  border-top:none;
  padding-top:0;
  margin-top:0;
}

.tdk-tm__section-title{
  display:flex;
  align-items:baseline;
  gap:10px;
  margin:0 0 1.75rem 0;
  font-size:clamp(1.5rem,2.5vw,2.125rem);
  line-height:1.2;
  font-weight:500;
  letter-spacing:-.01em;
  color:#2ea3f2;
}

.tdk-tm__count{
  font-size:14px;
  color:var(--tm-muted);
  font-weight:600;
}

.tdk-tm__section-title span,
.tdk-tm__section-title small{
  font-size:.6em;
  font-weight:400;
  color:rgba(15,23,42,.55);
  margin-left:.25em;
}

/* Grid */
.tdk-tm__grid{
  display:grid;
  gap:var(--tm-gap);
}

.tdk-tm__grid[data-columns="2"]{grid-template-columns:repeat(2,minmax(0,1fr));}
.tdk-tm__grid[data-columns="3"]{grid-template-columns:repeat(3,minmax(0,1fr));}
.tdk-tm__grid[data-columns="4"]{grid-template-columns:repeat(4,minmax(0,1fr));}
.tdk-tm__grid[data-columns="auto"]{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));}

/* Cards */
.tdk-tm__card{
  border:none;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}

.tdk-tm__card,
.tdk-tm__card-link{cursor:pointer;}

.tdk-tm__card-link{
  display:block;
  height:100%;
  color:inherit;
  text-decoration:none;
}

.tdk-tm__card-link:focus-visible{
  outline:3px solid rgba(37,99,235,.35);
  outline-offset:4px;
}

.tdk-tm__media{
  position:relative;
  width:100%;
  aspect-ratio:4 / 5;
  border-radius:0;
  overflow:hidden;
  background:var(--tm-surface-2);
}

.tdk-tm__img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center 25%;
}

.tdk-tm__placeholder{
  width:100%;
  height:100%;
}

.tdk-tm__img--placeholder{
  filter:grayscale(100%);
  opacity:.85;
}

.tdk-tm__media::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.18);
  opacity:0;
  transition:opacity .18s ease;
  pointer-events:none;
}

.tdk-tm__body{
  padding:12px 0 0;
  gap:6px;
}

.tdk-tm__name{
  margin:0;
  font-size:20px;
  font-weight:600;
  line-height:1.2;
  letter-spacing:-.01em;
}

.tdk-tm__body .tdk-tm__meta{
  margin:0;
  font-size:15px;
  color:rgba(15,23,42,.70);
}

.tdk-tm__tags{
  margin:0;
  font-size:15px;
  color:rgba(15,23,42,.70);
}

.tdk-tm__tags strong{
  font-weight:600;
  color:rgba(15,23,42,.80);
}

.tdk-tm__grid .tdk-tm__excerpt{display:none;}
.tdk-tm__grid .tdk-tm__tags{display:none !important;}

.tdk-tm__card:hover{
  transform:translateY(-2px);
  box-shadow:none !important;
}

.tdk-tm__card:hover .tdk-tm__media::after{opacity:1;}

.tdk-tm__card:hover .tdk-tm__name{
  text-decoration:underline;
  text-decoration-color:rgba(15,23,42,.30);
  text-underline-offset:3px;
}

/* Profile (single) */
.tdk-tm__profile{
  padding:36px 0 60px;
  padding-top:150px;
}

.tdk-tm__profile-inner{
  max-width:1400px !important;
  margin:0 auto;
  padding:0 18px;
}

.tdk-tm__profile .tdk-tm__profile-hero{
  display:grid !important;
  grid-template-columns:minmax(460px,1.1fr) minmax(520px,1.4fr) !important;
  gap:34px !important;
  align-items:stretch !important;
}

.tdk-tm__profile .tdk-tm__profile-media{
  width:100%;
  height:100%;
  aspect-ratio:auto !important;
  display:flex;
  overflow:hidden;
  background:rgba(15,23,42,.03);
  border-radius:0 !important;
}

.tdk-tm__profile .tdk-tm__profile-media img,
.tdk-tm__profile .tdk-tm__profile-img{
  width:100% !important;
  height:100% !important;
  display:block !important;
  object-fit:cover !important;
  object-position:center 25% !important;
  border-radius:0 !important;
}

.tdk-tm__profile .tdk-tm__profile-info{
  position:relative;
  padding:10px 0 0 0;
  border:none !important;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
}

.tdk-tm__profile .tdk-tm__profile-info::before{
  content:"";
  position:absolute;
  left:-10px;
  top:10px;
  bottom:10px;
  width:240px;
  background:radial-gradient(circle at 1px 1px, rgba(15,23,42,.14) 1px, transparent 1.6px);
  background-size:9px 9px;
  opacity:.22;
  pointer-events:none;
  mask-image:radial-gradient(closest-side, rgba(0,0,0,1), rgba(0,0,0,0));
}

.tdk-tm__profile .tdk-tm__profile-name{
  margin:0 0 10px 0;
  font-size:clamp(34px,4.2vw,58px);
  line-height:1.03;
  letter-spacing:-.02em;
  font-weight:500;
}

.tdk-tm__profile .tdk-tm__profile-sub{
  margin:0 0 8px 0;
  font-size:14px;
  color:rgba(15,23,42,.70);
}

.tdk-tm__profile .tdk-tm__chips{
  margin:10px 0 12px 0;
  padding:0;
  border:none;
  background:transparent;
}

.tdk-tm__profile .tdk-tm__chip-label{
  display:block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(15,23,42,.55);
  margin:0 0 6px 0;
}

.tdk-tm__profile .tdk-tm__chip{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  margin:0 8px 8px 0;
  border-radius:2px;
  background:#0b4b72;
  color:#fff;
  font-size:12px;
  font-weight:700;
  letter-spacing:.10em;
  text-transform:uppercase;
}

.tdk-tm__profile .tdk-tm__profile-link{
  color:inherit;
  text-decoration:underline;
  text-decoration-color:rgba(15,23,42,.25);
  text-underline-offset:3px;
}

.tdk-tm__profile .tdk-tm__profile-bio{
  margin-top:14px;
  padding:0 !important;
  border:none !important;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
  font-size:16px;
  line-height:1.75;
  color:rgba(15,23,42,.84);
  max-width:none !important;
  width:100%;
}

.tdk-tm__profile .tdk-tm__profile-bio p{margin:0 0 16px 0;}

.tdk-tm__profile .tdk-tm__profile-bio p:first-child{
  font-weight:600;
  color:rgba(15,23,42,.88);
}

/* Responsive */
@media (max-width:980px){
  .tdk-tm__toolbar{grid-template-columns:1fr;}
}

@media (max-width:1040px){
  .tdk-tm__profile .tdk-tm__profile-hero{
    grid-template-columns:1fr !important;
    gap:18px !important;
    align-items:start !important;
  }

  .tdk-tm__profile .tdk-tm__profile-info::before{
    left:0;
    width:180px;
  }

  .tdk-tm__profile .tdk-tm__profile-media{
    height:auto;
    aspect-ratio:16 / 10 !important;
    display:block;
  }

  .tdk-tm__profile .tdk-tm__profile-media img,
  .tdk-tm__profile .tdk-tm__profile-img{
    height:auto !important;
  }
}

@media (max-width:860px){
  .tdk-tm__grid[data-columns="4"]{grid-template-columns:repeat(2,minmax(0,1fr));}
  .tdk-tm__grid[data-columns="3"]{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (max-width:520px){
  .tdk-tm__grid[data-columns="2"],
  .tdk-tm__grid[data-columns="3"],
  .tdk-tm__grid[data-columns="4"]{grid-template-columns:1fr;}
}