/* ============================================================
   REFINAMENTO-DESKTOP — escala mais compacta nas telas do estudante no computador.
   A interface parecia "com zoom": títulos, alturas e cartões são reduzidos aqui um a um
   (~5–10%), sem zoom nem transform no app. Barra, Home, Match e Conversas são ajustados nos
   próprios módulos (student-nav, student-home/desktop.css, match/styles.css,
   conversations/estudante.css); aqui ficam Busca, Favoritos, Perfil e as secundárias
   (detalhes do anúncio, formulários do perfil, notificações).
   Tudo exige #view.student-shell / .student-busca / .student-perfil-user / .student-secundaria,
   classes que o roteador só aplica à conta de estudante a partir de 900px:
   celular e demais contas não são alcançados.
   ============================================================ */
@media (min-width:900px){
  /* títulos e subtítulos de página */
  #view.student-shell .student-page-title{font-size:25px;margin:0 0 3px}
  #view.student-shell .student-page-subtitle{font-size:13px;margin:0 0 18px}
  #view.student-secundaria .st-head{margin:0 0 16px}
  #view.student-secundaria .st-head .tela{font-size:25px}
  #view.student-secundaria .st-head .sub{font-size:13px}

  /* Busca e Favoritos: campo e cartões um pouco menores, um cartão a mais por fileira */
  #view.student-busca .busca{min-height:44px;padding:8px 14px;margin-bottom:10px}
  #view.student-busca .pills.rola{margin-bottom:18px}
  #view.student-shell .student-card-grid{gap:14px}
  #view.student-busca .student-card-grid,#view.student-secundaria .st-favoritos .student-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  #view.student-shell .student-card-grid .foto{height:128px}
  #view.student-shell .student-card-grid .card{border-radius:12px}

  /* Perfil */
  #view.student-perfil-user .student-profile-hero{padding:16px 18px;margin:0 0 22px}
  #view.student-perfil-user .student-profile-identity{grid-template-columns:76px minmax(0,1fr)}
  #view.student-perfil-user .student-profile-identity > div:nth-child(2){font-size:18px!important}
  #view.student-perfil-user .student-settings .item{min-height:43px;padding:6px 5px}

  /* detalhes do anúncio, da república e perfil público */
  #view.student-secundaria .st-galeria{height:clamp(260px,26vw,380px);margin-bottom:22px;border-radius:16px}
  #view.student-secundaria .st-detalhe{grid-template-columns:minmax(0,1fr) 330px;gap:26px}
  #view.student-secundaria .st-detalhe-main > .tela{font-size:26px}
  #view.student-secundaria .st-detalhe-main .rot{margin-top:22px}
  #view.student-secundaria .st-card{padding:18px 20px;border-radius:14px}
  #view.student-secundaria .st-actions .btn{padding:11px 22px}
}
/* 900–1259px: três cartões por fileira (antes dois) */
@media (min-width:900px) and (max-width:1259px){
  #view.student-busca .student-card-grid,#view.student-secundaria .st-favoritos .student-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  #view.student-secundaria .st-detalhe{grid-template-columns:minmax(0,1fr) 300px;gap:22px}
}
/* monitores largos: cinco cartões por fileira, como a Home */
@media (min-width:1600px){
  #view.student-busca .student-card-grid,#view.student-secundaria .st-favoritos .student-card-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}
