@charset "utf-8";

:root {
  --brand: #247f6b;
  --brand-dark: #155749;
  --paper: rgba(255, 255, 255, 0.88);
  --radius-small: 10px;
  --radius-medium: 16px;
  --radius-large: 22px;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  overflow-x: hidden;
}

a:focus-visible,
#mnav h2:focus-visible,
button:focus-visible {
  outline: 3px solid #f2c47d;
  outline-offset: 3px;
}

header {
  overflow: visible;
}

nav {
  position: relative;
  width: min(calc(100% - 32px), 1200px);
  background-image: none;
}

nav::before {
  position: absolute;
  top: 0;
  left: 10px;
  content: "吴楚恩";
  color: #fff;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 46px;
  letter-spacing: 0.12em;
}

nav::after {
  position: absolute;
  top: 29px;
  left: 108px;
  content: "WUCHUEN";
  color: rgba(255, 255, 255, 0.62);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

article {
  box-sizing: border-box;
  width: min(calc(100% - 32px), 1200px);
  border-radius: 0 0 var(--radius-large) var(--radius-large);
}

img {
  max-width: 100%;
}

.banner,
.fader,
.blog,
.blog figure,
.newblogs,
.paihang,
.links,
.weixin,
.ab_box,
.aboutme,
.newsview,
.meandblog,
.link_box,
.gbko,
.infos,
.nextinfo,
.otherlink,
.news_pl,
.mbpic {
  border-radius: var(--radius-medium);
}

.banner,
.fader,
.blog,
.newblogs,
.paihang,
.links,
.weixin,
.ab_box,
.link_box,
.gbko,
.infos,
.otherlink,
.news_pl {
  overflow: hidden;
}

.blog figure,
.mbpic,
.paihang,
.links,
.weixin,
.aboutme,
.infos,
.nextinfo,
.otherlink,
.news_pl {
  box-shadow: 0 8px 24px rgba(19, 83, 69, 0.07);
}

.hometitle {
  border-radius: var(--radius-medium) var(--radius-medium) 0 0;
}

.navlist li,
.links ul li,
.blogtitle span,
.tags a,
.input_submit {
  border-radius: 999px;
}

.blogtitle span::after {
  display: none;
}

.blog figure img,
.blogpic,
.blogpic img,
.paihang li i,
.paihang li img,
.mbimg,
.mbimg img,
.news_infos img {
  border-radius: var(--radius-small);
}

.fader img.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fader .slide:first-child {
  opacity: 1;
}

.fader .page {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
}

.fader .pager_list button {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}

.custom-banner-slide {
  background:
    radial-gradient(circle at 72% 48%, rgba(244, 207, 139, 0.9) 0 8%, transparent 8.4%),
    radial-gradient(ellipse at 76% 61%, rgba(255, 255, 255, 0.2) 0 9%, transparent 9.5%),
    radial-gradient(ellipse at 64% 62%, rgba(255, 255, 255, 0.16) 0 10%, transparent 10.5%),
    linear-gradient(125deg, #153f36, #2c806d 56%, #79ad91);
}

.banner-brand {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: clamp(28px, 7vw, 86px);
  max-width: 520px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
  transform: translateY(-50%);
  pointer-events: none;
}

.banner-brand strong {
  display: block;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: clamp(28px, 4.5vw, 54px);
  line-height: 1.15;
  letter-spacing: 0.08em;
}

.banner-brand span {
  display: block;
  margin-top: 10px;
  font-size: clamp(12px, 1.6vw, 17px);
  letter-spacing: 0.08em;
}

.site-info,
.author-summary,
.empty-state,
.comment-notice {
  padding: 22px;
  color: #66736e;
  background: #fff;
  line-height: 1.9;
}

.site-info li {
  padding: 7px 0;
  border-bottom: 1px solid #edf1ef;
}

.site-info li:last-child {
  border-bottom: 0;
}

.author-summary {
  text-align: center;
}

.author-summary .author-letter,
.avatar-letter {
  display: grid;
  width: 86px;
  height: 86px;
  margin: 0 auto 14px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  font-family: "Songti SC", STSong, SimSun, serif;
  font-size: 38px;
  box-shadow: 0 0 0 8px rgba(36, 127, 107, 0.1);
}

.author-summary strong {
  display: block;
  margin-bottom: 6px;
  color: #27443c;
  font-size: 18px;
}

.empty-state,
.comment-notice {
  min-height: 150px;
  text-align: center;
}

.empty-state strong,
.comment-notice strong {
  display: block;
  margin: 18px 0 8px;
  color: var(--brand-dark);
  font-size: 20px;
}

.article-section-title {
  margin: 22px 0 10px;
  color: var(--brand-dark);
  font-size: 19px;
}

.news_content code {
  padding: 2px 6px;
  color: var(--brand-dark);
  background: #eaf5f1;
  border-radius: 6px;
}

.flow-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px 0 18px;
  padding: 18px;
  color: var(--brand-dark);
  background: #eaf5f1;
  border-radius: var(--radius-small);
  text-align: center;
}

.flow-note span {
  padding: 7px 11px;
  background: #fff;
  border-radius: 999px;
}

@media only screen and (max-width: 920px) {
  body {
    background-attachment: scroll;
  }

  nav {
    display: none;
  }

  #mnav {
    display: block;
    z-index: 99999;
  }

  article {
    width: calc(100% - 20px);
    padding: 14px;
  }

  .litle {
    display: block !important;
    margin-top: 48px;
    padding: 16px 4px 10px;
  }

  .litle span {
    display: none;
  }

  #mnav {
    position: relative;
    background-image: none !important;
  }

  #mnav::before {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 14px;
    content: "吴楚恩";
    color: #fff;
    font-family: "Songti SC", STSong, SimSun, serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 52px;
    letter-spacing: 0.12em;
    pointer-events: none;
  }

  #mnav h2 {
    box-sizing: border-box;
    cursor: pointer;
  }

  #mnav ul {
    box-sizing: border-box;
    padding: 12px 18px 28px;
    border-radius: 0 0 var(--radius-large) var(--radius-large);
  }

  #mnav li {
    min-height: 44px;
    line-height: 44px;
  }

  .banner {
    margin-top: 48px;
  }

  .fader {
    height: auto;
    padding-top: 56%;
  }

  .banner-brand {
    left: 22px;
    max-width: calc(100% - 74px);
  }

  .banner-brand strong {
    font-size: clamp(25px, 8vw, 38px);
  }

  .blog {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 12px;
  }

  .blog figure {
    width: auto;
    height: auto;
    min-height: 390px;
    margin: 0;
    float: none;
  }

  .blog figure .feature-media,
  .blog figure img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  .newblogs,
  .rbox,
  .ab_box,
  .leftbox,
  .rightbox {
    width: 100%;
  }

  .rbox {
    margin-top: 18px;
  }

  .blogpic {
    width: 34%;
    height: 105px;
  }

  .mbpic {
    box-sizing: border-box;
    width: calc(50% - 10px);
    margin: 5px;
  }

  .effect {
    width: 100%;
  }

  .link_box,
  .gbko {
    margin-top: 10px;
  }

  .navtab {
    margin-top: 0;
  }

  .infos {
    margin-top: 48px;
  }

  .flow-note {
    flex-wrap: wrap;
  }
}

@media only screen and (max-width: 540px) {
  .blog {
    grid-template-columns: 1fr;
  }

  .blog figure {
    min-height: 0;
  }

  .blog figure .feature-media,
  .blog figure img {
    height: 250px;
  }

  .mbpic {
    width: 100%;
    margin: 6px 0;
  }

  .blogpic {
    width: 100%;
    height: 180px;
    margin: 0 0 14px;
    float: none;
  }

  .blogpic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  h3.blogtitle {
    height: auto;
    white-space: normal;
  }

  .autor span {
    display: inline-block;
    margin-bottom: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
