/* =========================
   REKTORAT PAGE (FULL CSS)
   Kengroq container + chiroyli spacing
========================= */

.rectorat-page{
  max-width: 1400px;      /* oldin 1200 edi */
  width: 100%;
  margin: 0 auto;
  padding: 20px 40px;     /* yonlardan kengaytiradi */
}

/* ===== REKTOR (TOP) ===== */

.rector-card{
  display:flex;
  gap:30px;
  align-items:center;
  width: 100%;
  padding:40px;           /* oldin 30 */
  border-radius:34px;     /* oldin 30 */
  background:linear-gradient(135deg,#1e3a8a,#2563eb);
  color:white;
  box-shadow:0 20px 40px rgba(0,0,0,.2);
  margin-bottom:40px;
}

.rector-left img{
  width:300px;            /* oldin 180 */
  height:350px;
  border-radius:34px;     /* oldin 30 */
  object-fit:cover;
  border:4px solid white;
}

.rector-role{
  letter-spacing:2px;
  font-size:14px;
  opacity:.85;
}

.rector-name{
  font-size:30px;
  color: white;
  margin:10px 0;
}

.rector-contact{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-bottom:16px;
  font-size:14px;
}

.acc-btn{
  background:white;
  color:#1e3a8a;
  padding:10px 18px;
  border:none;
  border-radius:20px;
  cursor:pointer;
  font-weight:600;
}

.acc-content{
  max-height:0;
  overflow:hidden;
  transition:.4s;
}

.acc-content.active{
  max-height:320px;
  margin-top:12px;
}

/* ===== PROREKTORLAR GRID ===== */

.prorektors-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);  /* 2 qator bo‘lib chiqadi */
  gap:26px;                              /* oldin 20 */
}

.pro-card{
  background:white;
  padding:22px;
  border-radius:26px;
  box-shadow:0 10px 25px rgba(0,0,0,.1);
  text-align:center;
  transition:.3s;
}

.pro-card:hover{
  transform:translateY(-6px);
}

.pro-card img{
  width:200px;
  height:250px;
  border-radius:22px;
  object-fit:cover;
  margin-bottom:16px;
}

.pro-role{
  font-size:12px;
  opacity:.7;
  margin-bottom:6px;
}

.pro-card h3{
  margin: 6px 0 0;
  font-size: 20px;
}

.pro-contact{
  font-size:13px;
  margin:12px 0;
  display:flex;
  flex-direction:column;
  gap:6px;
}

/* ===== RESPONSIVE ===== */

@media(max-width:992px){
  .rectorat-page{ padding: 18px 20px; }
  .prorektors-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:768px){
  .rector-card{
    flex-direction:column;
    text-align:center;
    padding: 26px;
  }

  .rector-left img{
    width:300px;
    height:350px;
  }

  .prorektors-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:420px){
  .rectorat-page{ padding: 14px; }
  .rector-name{ font-size: 24px; }
}