/* =====================================================================
   EDS Core – Team widget
   ===================================================================== */

.eds-tm{
	--ink:var(--e-global-color-secondary,#111);
	--muted:var(--e-global-color-eds_g600,#737373);
	--rule:var(--e-global-color-46313f9,#e5e5e5);
}
.eds-tm__grid{--cols:3}
@media (max-width:1024px){.eds-tm__grid{--cols:2}}
@media (max-width:767px){.eds-tm__grid{--cols:2}}

.eds-tm:not(#eds){display:flex;flex-direction:column;gap:var(--eds-sy-half,56px)}
.eds-tm:not(#eds) :is(p,h3,h4,ul){margin:0;padding:0}
.eds-tm:not(#eds) .eds-tm__group{display:flex;flex-direction:column;gap:var(--eds-gap-l,48px)}
.eds-tm:not(#eds) .eds-tm__head{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--eds-gap-m,24px);padding-bottom:var(--eds-gap-m,24px);border-bottom:1px solid var(--rule)}
.eds-tm:not(#eds) .eds-tm__title{color:var(--ink);font-family:var(--e-global-typography-primary-font-family,inherit),sans-serif;font-size:var(--e-global-typography-eds_h3-font-size,1.875rem);font-weight:400;line-height:1.2;letter-spacing:-.01em}
.eds-tm:not(#eds) .eds-tm__desc{max-width:36ch;color:var(--muted);font-size:.9375rem;line-height:1.55;text-align:right}

.eds-tm:not(#eds) .eds-tm__grid{display:grid;grid-template-columns:repeat(var(--cols),minmax(0,1fr));gap:var(--eds-gap-l,48px) var(--eds-gap-m,24px);list-style:none}
.eds-tm:not(#eds) .eds-tm__card{display:flex;flex-direction:column;gap:20px;margin:0}
.eds-tm:not(#eds) .eds-tm__media{overflow:hidden;border-radius:20px;aspect-ratio:4/5;background:var(--e-global-color-4b5c478,#f5f5f5)}
.eds-tm:not(#eds) .eds-tm__img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;border-radius:0}
.eds-tm:not(#eds) .eds-tm__body{display:flex;flex-direction:column;gap:8px;padding:0 2px}
.eds-tm:not(#eds) .eds-tm__name{color:var(--ink);font-size:var(--e-global-typography-eds_h5-font-size,1.125rem);font-weight:700;line-height:1.3}
.eds-tm:not(#eds) .eds-tm__role{color:var(--ink);font-size:.75rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;line-height:1.4}
.eds-tm:not(#eds) .eds-tm__spec{color:var(--muted);font-size:.875rem;line-height:1.5}
.eds-tm:not(#eds) .eds-tm__more{padding-top:6px}
.eds-tm:not(#eds) .eds-tm__more .eds-pf-btn{font-size:.875rem}

@media (max-width:767px){
	.eds-tm:not(#eds) .eds-tm__head{flex-direction:column;align-items:flex-start;gap:8px}
	.eds-tm:not(#eds) .eds-tm__desc{text-align:left}
	.eds-tm:not(#eds) .eds-tm__grid{gap:32px 12px}
	.eds-tm:not(#eds) .eds-tm__card{gap:12px}
	.eds-tm:not(#eds) .eds-tm__media{border-radius:12px}
	.eds-tm:not(#eds) .eds-tm__body{gap:4px}
	.eds-tm:not(#eds) .eds-tm__name{font-size:1rem}
	.eds-tm:not(#eds) .eds-tm__role{font-size:.6875rem;letter-spacing:.08em}
	.eds-tm:not(#eds) .eds-tm__spec{font-size:.8125rem}
}
