/* Rahbariyat sahifasi: style.css dagi o'zgaruvchilar ishlatiladi */
.rh-hero {
  padding: 150px 0 64px;
  color: var(--white);
  background:
    radial-gradient(ellipse 60% 120% at 85% 0%, rgba(80, 140, 255, 0.35), transparent 60%),
    linear-gradient(160deg, #030a2e 0%, var(--blue-dark) 55%, var(--blue) 100%);
}
.rh-hero h1 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(32px, 6vw, 72px);
  line-height: 1.08;
  text-transform: uppercase;
}
.rh-hero p { max-width: 58ch; margin-top: 20px; font-size: 17px; color: rgba(255, 255, 255, 0.85); }

.rh-body { padding: 56px 0 96px; background: var(--white); }
.rh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }

.rh-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(10, 31, 107, 0.14);
  border-radius: 18px;
  background: var(--white);
}
.rh-photo {
  position: relative;
  aspect-ratio: 4 / 4.2;
  background: linear-gradient(160deg, var(--blue-deep), var(--blue));
}
.rh-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rh-initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-size: clamp(44px, 6vw, 72px);
  color: var(--amber);
}
.rh-info { display: grid; gap: 8px; padding: 18px 18px 20px; }
.rh-role { font-size: 12px; font-weight: 500; line-height: 1.4; color: var(--blue); }
.rh-name { font-family: var(--font-title); font-weight: 500; font-size: 16px; line-height: 1.3; }
.rh-row { display: flex; align-items: center; gap: 8px; font-size: 13px; opacity: 0.8; overflow-wrap: anywhere; }
.rh-row svg { flex-shrink: 0; }
.rh-row:first-of-type { margin-top: 6px; }
a.rh-row:hover { opacity: 1; text-decoration: underline; }
a.rh-row:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

@media (max-width: 600px) {
  .rh-hero { padding: 120px 0 44px; }
  .rh-grid { grid-template-columns: 1fr; }
}

/* ===== O'qituvchilar bo'limi ===== */
.tc-group + .tc-group { margin-top: 56px; }
.tc-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(10, 31, 107, 0.14);
}
.tc-head h2 { font-family: var(--font-title); font-weight: 400; font-size: clamp(18px, 2.2vw, 24px); }
.tc-head span { font-size: 13px; opacity: 0.6; }

.tc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.tc-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 18px;
  color: var(--white);
  background: linear-gradient(160deg, var(--blue-deep), var(--blue));
}
.tc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tc-initials {
  position: absolute;
  inset: 0 0 30% 0;
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-size: clamp(40px, 5vw, 64px);
  color: var(--amber);
}
.tc-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 16px 16px;
  background: linear-gradient(to top, rgba(3, 10, 46, 0.95) 35%, rgba(3, 10, 46, 0));
}
.tc-subject { display: block; margin-bottom: 6px; font-size: 12px; color: var(--amber); }
.tc-name { font-family: var(--font-title); font-weight: 500; font-size: 14px; line-height: 1.3; }

@media (max-width: 600px) {
  .tc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tc-name { font-size: 12px; }
}

#tcGroups { margin-top: 56px; }
.rh-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.rh-jump a {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 14px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.rh-jump a:hover { background: var(--amber); border-color: var(--amber); color: var(--blue-dark); }
.rh-jump a:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }