/* 侧边栏个人信息卡片动态渐变色
#aside-content > .card-widget.card-info {
    background: #a3e9eb;     
    background: #e8d8b9;
    background:linear-gradient(
        -45deg,
        #e8d8b9,
        #eccec5,
        #a3e9eb,
        #bdbdf0,
        #eec1ea
      ); 
    box-shadow: 0 0 5px rgb(66, 68, 68);
    position: relative;
    background-size: 400% 400%;
  }
*/
  /* 黑夜模式适配 */
/*
  [data-theme="dark"] #aside-content > .card-widget.card-info {
    background: #191919ee;
  }
*/
/* 翻页按钮居中 */
#pagination {
    width: 100%;
    margin: auto;
  }

.home-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 3rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.home-about--single,
.cv-about {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.home-about__side {
  min-width: 0;
}

.home-about__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  border: 5px solid #f4f6f8;
  box-shadow: 0 0 0 1px #cdd6df;
  margin: 0.35rem 0 1.5rem;
  display: block;
}

.home-about__content h1 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 500;
  line-height: 1;
}

.home-about__content p {
  margin: 0 0 0.95rem;
  font-size: 0.96rem;
  line-height: 1.72;
  text-align: justify;
  hyphens: auto;
  overflow-wrap: break-word;
}

.home-about__role {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem !important;
  font-size: 1.05rem !important;
  line-height: 1.3 !important;
  text-align: left;
  hyphens: manual;
}

.home-about__role i {
  color: #0078ff;
}

.home-about__cv {
  display: grid;
  gap: 0.35rem;
  margin: 0 !important;
}

.home-about__cv a,
.home-about__links a {
  color: #0078ff;
  text-decoration: none;
}

.home-about__cv a:hover,
.home-about__links a:hover {
  text-decoration: underline;
}

.home-about__links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.82rem;
}

.home-about__links a {
  cursor: pointer;
  white-space: nowrap;
}

.about-contact {
  margin-top: 1.7rem;
  padding-top: 1.2rem;
  border-top: 1px solid #dcdfe4;
}

.about-contact h2 {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.home-education {
  margin-top: 1.4rem;
}

.home-education h2,
.home-side-section h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.home-side-section {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid #dcdfe4;
}

.home-education__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  margin-bottom: 1.1rem;
}

.home-education__logo {
  width: 42px;
  max-height: 42px;
  object-fit: contain;
}

.home-education__body {
  min-width: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.home-education__head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
}

.home-education__head span {
  flex: 0 0 auto;
  font-style: italic;
  font-size: 0.76rem;
  color: #666;
}

.home-education__degree {
  margin-top: 0.1rem;
  color: #555;
}

.card-info .site-data a[href="/tags/"],
#sidebar-menus .site-data a[href="/tags/"] {
  display: none;
}

.page.type-cv #page-header {
  background: transparent !important;
  height: 4rem;
}

.page.type-cv #page-header #page-site-info,
.page.type-cv #page-header::before {
  display: none;
}

.page.type-cv #page {
  max-width: 1060px;
  padding: 3.2rem 3rem 3rem;
}

.page.type-cv #page .page-title {
  display: none;
}

@media (max-width: 768px) {
  .page.type-cv #page {
    padding: 1.4rem 1rem 1.8rem;
  }
}

.cv-page {
  color: #30343b;
}

.cv-page__header {
  display: flex;
  justify-content: space-between;
  gap: 1.8rem;
  align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid #d8dde5;
}

.cv-page__header h1 {
  margin: 0 0 0.35rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.15;
}

.cv-page__header p {
  margin: 0;
  color: #5d6673;
}

.cv-page__contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-end;
  font-size: 0.9rem;
  white-space: nowrap;
}

.cv-page__contact a {
  color: #0078ff;
  text-decoration: none;
}

.cv-page__section {
  margin-top: 1.4rem;
}

.cv-page__section h2 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  font-weight: 650;
  color: #1f252d;
}

.cv-page__section p,
.cv-page__section li {
  font-size: 0.96rem;
  line-height: 1.65;
}

.cv-about .home-education {
  margin-top: 0;
}

.cv-page__links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.6rem;
  margin-top: 0.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid #dcdfe4;
  font-size: 0.9rem;
}

.cv-page__links a {
  color: #0078ff;
  text-decoration: none;
}

.cv-page__links a:hover {
  text-decoration: underline;
}

.cv-page__section p {
  margin: 0;
}

.cv-page__section ul {
  margin: 0;
  padding-left: 1.25rem;
}

.cv-page__item {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0.65rem;
}

.cv-page__item strong {
  font-weight: 650;
}

.cv-page__item p {
  margin-top: 0.15rem;
  color: #5d6673;
}

.cv-page__item > span {
  flex: 0 0 auto;
  color: #5d6673;
  font-style: italic;
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .cv-page__header,
  .cv-page__item {
    display: block;
  }

  .cv-page__contact {
    align-items: flex-start;
    margin-top: 0.8rem;
    white-space: normal;
  }

  .cv-page__item > span {
    display: block;
    margin-top: 0.1rem;
  }
}

.page.type-about #page {
  max-width: 1060px;
  padding: 3.2rem 3rem 3rem;
}

.page.type-about #page .page-title {
  display: none;
}

@media (max-width: 768px) {
  .home-about {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    max-width: 100%;
  }

  .home-about__photo {
    max-width: 280px;
    margin: 0 auto 1.4rem;
  }

  .home-about__side {
    order: -1;
  }

  .page.type-about #page {
    padding: 2rem 1.2rem;
  }

  .home-about__content h1 {
    font-size: 2.15rem;
  }

  .home-about__content p {
    font-size: 0.96rem;
  }

  .home-about__role {
    font-size: 1.15rem !important;
  }

  .home-about__links {
    font-size: 1rem;
    gap: 0.8rem 1rem;
  }

  .home-education__head {
    display: block;
  }

  .home-education__head span {
    display: block;
    margin-top: 0.1rem;
  }
}
