.adm {
	--adm-navy: #0b2a4a;
	--adm-green: #1e9e57;
	--adm-text: #1a1a1a;
	--adm-muted: #5c667d;
	--adm-line: #e3e8ef;
	--adm-soft: #f4f6f9;
	--adm-focus: #1a73e8;
	--adm-radius: 16px;
	color: var(--adm-text);
	overflow-wrap: anywhere;
}
.adm *, .adm *::before, .adm *::after { box-sizing: border-box; }
.adm ul { margin: 0; padding: 0; list-style: none; }
.adm li { margin: 0; padding: 0; }
.adm li::before { content: none; }
.adm a:focus-visible { outline: 2px solid var(--adm-focus); outline-offset: 2px; }

/* ---------- Sarlavha ---------- */
.adm .adm-head {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
	gap: 14px 24px; margin-bottom: clamp(22px, 2.6vw, 34px);
}
.adm .adm-head__text { flex: 1 1 460px; min-width: 0; }
.adm .adm-title { margin: 0 0 6px; color: var(--adm-navy); font-size: clamp(24px, 2.2vw + 14px, 32px); font-weight: 800; line-height: 1.2; }
.adm .adm-lead { max-width: 760px; margin: 0; color: var(--adm-muted); font-size: 16px; line-height: 1.5; }
.adm .adm-links { display: flex; flex-wrap: wrap; gap: 8px; }
.adm .adm-links a {
	display: inline-flex; align-items: center; min-height: 38px; padding: 6px 16px;
	border: 1px solid var(--adm-line); border-radius: 999px; background: #fff;
	color: var(--adm-navy); font-size: 13px; font-weight: 700; line-height: 1.25; text-decoration: none;
	transition: border-color .15s, color .15s;
}
.adm .adm-links a:hover { border-color: var(--adm-green); color: var(--adm-green); }

/* ---------- Kartochkalar: tepada direktor, pastda oʻrinbosar (bir xil oʻlchamda) ---------- */
.adm .adm-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(18px, 2.4vw, 28px); max-width: 980px; margin: 0 auto; }
.adm .adm-card {
	--a: var(--adm-navy);                  /* urgʻu rangi */
	--ph: clamp(170px, 18vw, 220px);       /* rasm kengligi */
	position: relative; display: grid; grid-template-columns: var(--ph) minmax(0, 1fr); align-items: center;
	gap: clamp(22px, 3.4vw, 48px); padding: clamp(20px, 3vw, 36px);
	border: 1px solid var(--adm-line); border-radius: 20px;
	background: radial-gradient(120% 140% at 100% 0%, #f2f6fb 0%, #fff 55%);
	box-shadow: 0 14px 40px rgba(11, 42, 74, .07), inset 0 4px 0 var(--a); scroll-margin: 90px;
}

/* Rasm: siljitilgan ramka bilan; fayl boʻlmasa bosh harflar */
.adm .adm-photo {
	position: relative; align-self: center; aspect-ratio: 4 / 5; border-radius: 16px;
	background: linear-gradient(160deg, #e9eef5 0%, #d3dde9 100%);
	box-shadow: 12px 12px 0 #e4eaf2;
	box-shadow: 12px 12px 0 color-mix(in srgb, var(--a) 12%, #fff);
}
.adm .adm-photo::before {
	content: attr(data-initials); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	color: var(--a); font-size: clamp(36px, 3.4vw, 54px); font-weight: 800; letter-spacing: .04em; opacity: .5;
}
.adm .adm-photo img {
	position: relative; display: block; width: 100%; height: 100%; border-radius: inherit;
	object-fit: cover; object-position: 50% 30%;
}

.adm .adm-info { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.adm .adm-role {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px;
	color: var(--a); font-size: 13px; font-weight: 800; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase;
}
.adm .adm-role::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--a); }
.adm .adm-name { margin: 0 0 14px; color: var(--adm-navy); font-size: clamp(22px, 1.4vw + 16px, 32px); font-weight: 800; line-height: 1.2; }
.adm .adm-degree {
	display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 10px 14px;
	border-radius: 12px; background: var(--adm-soft); color: var(--adm-text); font-size: 15px; line-height: 1.45;
}
.adm .adm-degree i { flex: 0 0 auto; margin-top: 3px; color: var(--a); font-size: 15px; }

/* Veb-sayt va ijtimoiy tarmoqlar */
.adm .adm-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--adm-line); align-self: stretch; }
.adm .adm-social[hidden] { display: none; }
/* Manzili kiritilmagan ("#") havola JS'siz ham koʻrinmaydi; boʻsh roʻyxat yashiriladi */
.adm .adm-social li:has(> a[href="#"]), .adm .adm-social li:has(> a[href=""]) { display: none; }
.adm .adm-social:not(:has(a:not([href="#"]):not([href=""]))) { display: none; }
.adm .adm-net {
	--n: var(--adm-navy);
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
	border: 1px solid var(--adm-line); border-radius: 50%; background: #fff;
	color: var(--n); font-size: 16px; text-decoration: none;
	transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.adm .adm-net:hover { border-color: var(--n); background: var(--n); color: #fff; transform: translateY(-2px); }
.adm .adm-net--tg { --n: #229ed9; }
.adm .adm-net--fb { --n: #1877f2; }
.adm .adm-net--ig { --n: #d62976; }
.adm .adm-net--in { --n: #0a66c2; }
.adm .adm-net--x  { --n: #111; }
.adm .adm-net--yt { --n: #e62117; }

/* ===================== Moslashuvchanlik ===================== */
@media (max-width: 768px) {
	.adm .adm-head { align-items: flex-start; }
	.adm .adm-card { --ph: 150px; }
}
@media (max-width: 576px) {
	.adm .adm-lead { font-size: 15px; }
	.adm .adm-links { width: 100%; }
	.adm .adm-links a { flex: 1 1 auto; justify-content: center; }
	.adm .adm-card { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
	.adm .adm-photo { width: min(190px, 62%); margin-right: 12px; }
	.adm .adm-info { align-items: center; }
	.adm .adm-degree { text-align: left; }
	.adm .adm-social { justify-content: center; gap: 6px; }
	.adm .adm-net { width: 34px; height: 34px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.adm .adm-links a, .adm .adm-net { transition: none; }
	.adm .adm-net:hover { transform: none; }
}
@media print {
	.adm .adm-links, .adm .adm-social { display: none; }
	.adm .adm-card { break-inside: avoid; }
}