/* about.css — Jiabao Wu */

/* page wrapper */
.about{
    padding: 2rem;
    max-width: 1100px;
    margin: 0 auto;
  }
  
  /* 2-column layout */
  .about-grid{
    display: grid;
    grid-template-columns: 260px 1fr;  /* 左栏窄一些 */
    gap: 2rem;
    align-items: start;
  }
  
  /* left column container */
  .about-photo{
    width: 220px;       /* ✅ 控制头像大小：桌面 */
    max-width: 220px;
  }
  
  /* portrait image — force small */
  .about-photo img{
    width: 100% !important;
    max-width: 220px !important;
    height: auto !important;
    display: block;
  }
  
  /* right column text */
  .about-text{
    font-size: 1rem;
    line-height: 1.5;
  }
  
  /* tighter spacing */
  .about-text p{
    margin: 0 0 0.9rem 0;
  }
  
  /* optional: slightly tighter note */
  .about-text .note{
    font-style: italic;
    opacity: 0.65;
    margin-top: 0.2rem;
  }
  
  /* home link (if you style it here) */
  .home-link{
    color: #000;
    text-decoration: none;
  }
  
  .home-link:hover{
    opacity: 0.65;
  }
  
  /* links inside about text */
  .about-text a{
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.12);
  }
  
  .about-text a:hover{
    font-style: italic;
  }
  
  /* responsive */
  @media (max-width: 900px){
    .about{
      padding: 1.5rem;
    }
  
    .about-grid{
      grid-template-columns: 1fr;
      gap: 1.25rem;
    }
  
    /* ✅ mobile avatar size */
    .about-photo{
      width: 180px;
      max-width: 180px;
    }
  
    .about-photo img{
      max-width: 180px !important;
    }
  }
  
  /* extra small */
  @media (max-width: 420px){
    .about{
      padding: 1.2rem;
    }
  
    .about-photo{
      width: 160px;
      max-width: 160px;
    }
  
    .about-photo img{
      max-width: 160px !important;
    }
  }
  @media (max-width: 768px){

    .about{
      padding: 2rem 1.25rem;
    }
  
    .about-grid{
      grid-template-columns: 1fr;
      gap: 1.25rem;
    }
  
    .about-photo img{
      width: 100%;
      max-width: 360px;      /* 不想太大可以保留 */
      margin: 0;             /* 或者 margin: 0 auto; 居中 */
    }
  
    .about-text{
      font-size: 1rem;
      line-height: 1.7;
    }
  }
  /* =========================
   ABOUT — CREDITS
   ========================= */

.about-credits{
  margin-top: 2.5rem;
}

.about-credits .credits-title{
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 0.25rem;
}

.about-credits .credits-text{
  font-size: 0.75rem;
  line-height: 1.4;
  opacity: 0.45;
}
