/* ===================== 基础变量 & 通用 ===================== */
:root {
  --primary: #f7c8c3;
  --primary-dark: #e89a8e;
  --text-main: #2e2e2e;
  --text-muted: #6a6a6a;
  --bg-light: #faf9f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background: #fcf4f121;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
}

.page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

section {
  margin-top: 48px;
}

/* ===================== 导航栏 ===================== */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24);
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
h1.nav-logo{
  font-size:0;
}
.nav-logo span {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
}

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transform: translateX(-50%);
  transition: width 0.2s ease-out;
}

.nav-link:hover {
  color: var(--primary-dark);
}

.nav-link:hover::after {
  width: 60%;
}

.nav-link.is-active {
  color: var(--primary-dark);
}

.nav-link.is-active::after {
  width: 100%;
}

/* ===================== HERO 区 ===================== */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 32px;
  margin-top: 32px;
  padding: 40px 32px;
  border-radius: 20px;
  background: radial-gradient(circle at top left, #fff0eb 0, #ffffff 60%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.hero-text {
  border-right: 1px solid #eeded7;
  padding-right: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  font-weight: 700;
  margin: 0 0 16px;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.btn-primary {
  background: var(--primary-dark);
  color: #ffffff;
  border-radius: 999px;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(232, 154, 142, 0.35);
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
    background 0.15s ease-out;
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary-dark);
  border-radius: 999px;
  border: 1px solid var(--primary-dark);
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease-out, color 0.15s ease-out,
    box-shadow 0.15s ease-out;
}

.btn-primary:hover {
  background: #d87f72;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(232, 154, 142, 0.45);
}

.btn-secondary:hover {
  background: #fff2ef;
  box-shadow: 0 4px 10px rgba(232, 154, 142, 0.18);
}

.hero-illustration {
  background: #e3e3e3;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration-inner {
  width: 100%;
  height: 260px;
  border-radius: 14px;
  background: linear-gradient(135deg, #41a5ff 0%, #5ac8fa 100%);
  background-image: url('banner.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.hero-illustration-inner::before {
  left: -10%;
}

.hero-illustration-inner::after {
  right: -10%;
  bottom: 20%;
}

/* ===================== Tagesbotschaft ===================== */
.tagesbotschaft {
  margin-top: 40px;
  padding: 16px 24px;
  background: #fff7f3;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tagesbotschaft-title {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
}

.tagesbotschaft-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-left: 12px;
}

/* ===================== 情绪导航区 ===================== */
.emotion-nav {
  margin-top: 40px;
}

.emotion-title {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
}

.emotion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.emotion-card {
  border-radius: 16px;
  border: 1px solid #eee0da;
  background: #ffffff;
  padding: 16px 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: box-shadow 0.15s ease-out, transform 0.15s ease-out,
    border-color 0.15s ease-out, background 0.15s ease-out;
}

.emotion-card-icon {
  font-size: 22px;
  display:block;
  width:100%;
  text-align:center !important;
}
.emotion-card-icon img{
  width:80px;
  height:80px;
  border-radius:50%;
}
.emotion-card-icon img.img_1{
  background-color: #febcb3;
}
.emotion-card-icon img.img_2{
  background-color: #e0c2f8;
}
.emotion-card-icon img.img_3{
  background-color: #cfe5f9;
}
.emotion-card-icon img.img_4{
  background-color: #f0cf6a;
}
.emotion-card-title {
  font-size: 16px;
  font-weight: 600;
}

.emotion-card-text {
  font-size: 14px;
  line-height: 1.5;
  color: #4f4f4f;
}

.emotion-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.08);
  background: #fffaf7;
}

/* ===================== 阶段导航 ===================== */
.section-phases {
  margin-top: 48px;
  padding: 32px 24px;
  background: #faf9f7;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  border-radius: 20px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.phase-card {
  border-radius: 16px;
  background: #ffffff;
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid #eee0da;
  position: relative;
}
.phase-card::before{
  border-radius:16px;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* filter: blur(5px); */ /* 模糊度，值越大越模糊 */
  opacity: 0.5;  /* 透明度 */
  z-index: 0;
}
.phase-card.bak_1::before{
  background: linear-gradient(rgb(255 247 247 / 30%)), url(bak_1.jpg);
  background-size: cover;
  background-position: center;
  /* background-image: url(bak_1.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; */
}
/* .phase-card.bak_1::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: rgba(255, 247, 247, 0.3);
    z-index: 1;
} */
.phase-card.bak_2::before{
  background: linear-gradient(rgb(214 183 183 / 30%)), url(bak_2.jpg);
  background-size: cover;
  background-position: center;
}
.phase-card.bak_3::before{
  background: linear-gradient(rgb(255 255 255 / 50%)), url(bak_3.jpg);
  background-size: cover;
  background-position: center;
}
.phase-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff6c57;
}
.phase-label,.phase-title,.phase-text{
  z-index: 1;
}
.phase-title a{
  font-size: 16px;
  font-weight: 600;
}
.phase-title a:hover,
.phase-title a:focus{
  text-decoration: underline;
}
.phase-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ===================== 最新文章 ===================== */
.section-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
}

.section-articles {
  margin-top: 48px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  border-radius: 14px;
  border: 1px solid #eee0da;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease-out, transform 0.15s ease-out;
}

.article-card:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  transform: translateY(-3px);
}

.article-image {
  background: #dde5f0;
  height: 180px;
}
.article-image img{
  width:100%;
  height:100%;
  object-fit: cover;
}
.article-body {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-title {
  font-size: 16px;
  font-weight: 600;
}
.article-title a:hover,
.article-title a:focus{
  color:var(--primary-dark);
}
.relateds .items .item .conts a,
.relateds .items .item .conts .desc,
.article-desc,
.article-title a{
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.article-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}
.article-desc{
  -webkit-line-clamp: 3;
}
.article-tag {
  display: inline-block;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #f3f0ee;
  color: var(--text-muted);
}
.article-card .time{
  font-size:12px;
  color:#999;
  text-align:right;
}
/* ===================== 真实故事 ===================== */
.section-stories {
  background: #fff7f3;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.24);
  border-radius: 20px;
  padding: 32px 24px;
}

.stories {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 24px;
  align-items: center;
}

.stories-image {
  background: linear-gradient(135deg, #f7c8c3 0, #f2d16d 100%);
  border-radius: 16px;
  height: 220px;
}
@media(max-width:500px){
  .stories-image{
    height:160px;
  }
}
.stories-image img{
  width:100%;
  height:100%;
  object-fit: cover;
  border-radius: 16px;
}
.stories-content-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.stories-content-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.stories-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-dark);
}
/* 轮播切换 */
.stories_c{
  position:relative;
}
.carousel-container {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; /* 优化移动端滚动 */
}
.stories {
  flex: 0 0 100%;
  scroll-snap-align: start;
  transition: transform 0.5s ease;
}
.stories .time{
  font-size:12px;
  color:#999;
  text-align:right;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgb(29 29 29 / 70%);
  color:#fff;
  font-size:20px;
  font-weight:bold;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }
/* ===================== Über uns ===================== */
.section-about {
  background: #fffaf7;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.24);
  border-radius: 20px;
  padding: 32px 24px;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr;
  gap: 24px;
  align-items: flex-start;
}

.about-lead {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  margin-top:0;
}

.about-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 15px;
  color: var(--text-muted);
  padding-left:20px;
  border-left:1px solid #ddd;
}

.about-point-title {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom:8px;
}

/* ===================== Footer ===================== */
.footer {
  background: #2f2a28;
  color: #f1ebe7;
  padding: 32px;
  margin-top: 56px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 2.5fr;
  gap: 24px;
  font-size: 14px;
}

.footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer_bot_nav{
  display: grid;
  grid-template-columns: 1.5fr 1.5fr;
  gap: 24px;
}
.footer-nav,
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer a {
  color: #f1ebe7;
  font-size: 14px;
}

.footer-note {
  font-size: 13px;
  color: #d1c5be;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-text {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid #eeded7;
    padding-bottom: 24px;
  }

  .emotion-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stories {
    grid-template-columns: 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .about-points{
    padding-left:0;
    border-left:none;
    border-top:1px solid #ddd;
    padding-top:30px;
  }
}
/* 新增汉堡菜单样式 */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
  z-index: 1000;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle span {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nav-toggle span::before {
  top: -8px;
  left: 0;
}

.nav-toggle span::after {
  bottom: -8px;
  left: 0;
}

.nav-toggle.active span {
  background: transparent;
}

.nav-toggle.active span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active span::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* 移动端导航菜单样式 */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 24px 16px;
    border-radius: 0 0 20px 20px;
    flex-direction: column;
    gap: 24px;
    z-index: 100;
  }

  .nav-menu.active {
    display: flex;
    animation: fadeIn 0.3s ease;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    font-size: 18px;
  }

  .nav-link::after {
    display: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .nav-inner {
    padding: 0 16px;
  }

  .page-wrapper {
    padding: 0 16px 48px;
  }

  .nav-menu {
    gap: 20px;
  }

  .hero {
    padding: 28px 20px;
  }

  .hero-title {
    font-size: 32px;
  }

  .emotion-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .phases-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .tagesbotschaft {
    border-radius: 16px;
    align-items: flex-start;
  }

  .tagesbotschaft-text {
    margin-left: 0;
  }
}
.footer_bot{
  margin-top:40px;
  text-align: center;
  border-top: 1px solid #3c3c3c;
  padding-top: 40px;
}
/* 回到顶部 */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: 
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
  z-index: 1000;
}

.back-to-top:hover {
  background: #f5f5f5;
  box-shadow: 0 8px 10px rgb(232 154 142);
  transform: translateY(-2px);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 移动端适配 */
@media (max-width: 768px) {
  .back-to-top {
    width: 48px;
    height: 48px;
    bottom: 16px;
    right: 16px;
  }
}
/* 列表页 */
.breadcrumb {
  padding: 15px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}
.breadcrumb li a:hover,
.breadcrumb li a:focus{
  color:var(--primary-dark);
}
.breadcrumb li:not(:last-child)::after {
  content: ">";
  margin: 0 8px;
  color: #999;
}

.breadcrumb li:last-child {
  color: #333;
  font-weight: 500;
}
.page-wrapper .container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}
/* 左侧列表样式 */
.list-section {
  flex: 1;
  margin-top:0;
}

.list-section h1 {
  margin-bottom: 15px;
  font-size: 1.8rem;
  color: #222;
}

.list-items {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}    
.list-item {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  margin: 0 20px;
  display:flow-root;
}

.list-item:last-child {
  border-bottom: none;
}
.list-item .list-item_img{
  width:280px;
  height:190px;
  border-radius:16px;
  float:left;
  margin-right:20px;
  overflow: hidden;
}
.list-item .list-item_img img{
  width:100%;
  height:100%;
  object-fit: cover;
  border-radius:16px;
  transition: -webkit-transform 0.25s;
  transition: transform 0.25s;
  transition: transform 0.25s, -webkit-transform 0.25s;
}
.list-item .list-item_img img:hover{
  -webkit-transform: scale(1.06);
  transform: scale(1.06);
}
.list-item .list-item_conts{
  overflow:hidden;
}
.list-item .tit {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight:bold;
}
.hot_list .item .tit a,
.list-item .tit a{
  color:#333;
  line-height:1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.hot_list .item .tit a:hover,
.hot_list .item .tit a:focus,
.list-item .tit a:hover,
.list-item .tit a:focus{
  color:var(--primary-dark);
}
.list-item .meta {
  color: #666;
  font-size: 13px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.list-item .meta span.time {
  margin-right: 20px;
  color:#888;
}
.list-item .tags{
  font-size:12px;
}
.list-item .tags span.tag{
  display:inline-block;
  background-color:var(--primary-dark);
  color:#fff;
  padding:3px 6px;
  border-radius:5px;
  margin:2px 10px 2px 0;
}
.list-item .tags span.tag:last-of-type{
  margin-right:0;
}
.list-item .excerpt {
  color: #666;
  font-size:14px;
  line-height:24px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin:10px 0;
  height:72px;
}
@media(max-width:768px){
  .list-item .excerpt{
    height:auto;
  }
}
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 5px;
}

.pagination a {
  display: block;
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
}
.pagination a:hover,
.pagination a:focus,
.pagination .is-active {
  background-color: var(--primary-dark);
  color: #fff;
  border-color: var(--primary-dark);
}
/* 右侧栏样式 */
.sidebar {
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.widget {
  background-color: #fff;
  padding: 20px;
  border-radius: 16px;
  border:1px solid #eeccc7;
}
.widget h3 {
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--primary-dark);;
  font-size: 1.1rem;
}
.hot_list .item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}
.hot_list .item:hover {
  transform: translateY(-3px);
}
.item_num {
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background:linear-gradient(135deg, #cccccc 0%, #767676 100%);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
}
.hot_list .item:nth-of-type(1) .item_num ,
.hot_list .item:nth-of-type(2) .item_num ,.hot_list .item:nth-of-type(3) .item_num {
  background: linear-gradient(135deg, #ff84e6 0%, #d6b6b6 100%);
}
.hot_list .item .tit a{
  font-size:16px;
  font-weight:bold;
}
.featured .feat_item{
  box-shadow: 6px 8px 9px -5px #ff84e6;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 5px;
}
.featured .feat_item img {
  max-height: 150px;
  height: auto;
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
}
.featured .feat_item .tit {
  background-color: rgba(0, 0, 0, 0.6);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  height: 36px;
  margin-top: -40px;
  position: relative;
  color: #fff;
  line-height: 36px;
  padding: 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.featured .feat_item a:hover img {
  transition: all .2s linear;
  -webkit-transform: scale(1.06);
  transform: scale(1.06);
}
.featured .feat_item a:hover .tit {
  text-decoration: underline;
}
section.about-container,
section.article-container{
  margin-top:0;
}
section.article-container .article-content{
  background-color: #fff;
  padding: 20px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  line-height: 1.8;
}
.article_meta{
  margin: 15px 0;
  color:#666;
  font-size:14px;
  display:flow-root;
}
.article_meta .meta-item{
  float:left;
  margin-right:20px;
}
.article_meta .meta-item:last-of-type{
  margin-right:0;
}
.article_meta .meta-item a:hover,
.article_meta .meta-item a:focus{
  color:var(--primary-dark);
}
.meta-icon {
  color: var(--primary-dark); /* 图标颜色 */
}
.article-content #content{
  max-width:100%;
}
.article-content #content img{
  max-width:100%;
  height:auto;
}
#content h2,#content h3,#content h4,#content h5,#content h6{
  font-weight:bold;
  margin: 20px 0;
}
#content h2{
  color:#333;
}
#content h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #f38b8c, #b88fa8);
}
#content h2:hover::after {
  width: 110px; /* 悬停时竖线高度扩展 */
  transition: width 0.2s ease;
}
#content h3{
  color:#555;
  position:relative;
  padding-left:10px;
}
#content h3::before{
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 70%;
  background: linear-gradient(180deg, #f38b8c, #b88fa8);
  border-radius: 1px;
}
#content h3:hover::before {
  height: 100%; /* 悬停时竖线高度扩展 */
  transition: height 0.3s ease;
}
#content h4{
  color:#777;
}
#content h4::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, #f38b8c, transparent);
  opacity: 0.7;
}
#content h5{
  color:#999;
}
/* 目录容器样式 */
.p-toc-double {
  padding: 20px 40px;
  margin-bottom:30px;
  border-radius: 8px;
  background: #eeccd126;
  border:1px solid #f0a0ac5e;
}
.p-toc__ttl {
  display: block;
  text-align: center;
  font-size: 1.3rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0a0ac;
}
.p-toc__list {
  list-style-type: decimal;
  padding-left: 20px;
  margin: 0 auto;
}
.p-toc__childList {
  list-style-type: lower-alpha;
  padding-left: 30px;
}
.p-toc__list > li,
.p-toc__childList > li {
  margin-bottom: 4px;
  line-height: 1.6;
}
.p-toc__link {
  display: block;
  padding: 5px 0;
  color: #333;
  text-decoration: none;
  transition: all 0.3s;
}
.p-toc__link:hover {
  color: #E89A8E;
  transform: translateX(5px);
}
/* 表格样式 */
#content table {
  width: 100%;
  max-width: 100%;
  margin: 30px auto;
  border-collapse: collapse;
  box-shadow:0 0px 2px rgba(0,0,0,0.3);
  border-radius: 8px;
  overflow: hidden;
}
caption {
  font-size: 18px;
  font-weight: bold;
  color: #2c3e50;
  padding: 15px;
  caption-side: top;
  text-align: center;
}
thead tr.firstRow {
  background: linear-gradient(135deg, #f3a093, #949191);
  color: white;
}
th {
  padding: 8px;
  text-align: center;
  font-weight: bold;
  border: none;
  word-break: break-word;
}
td {
  padding: 8px;
  text-align: center;
  border-bottom: 1px solid #ecf0f1;
  transition: all 0.3s;
  word-break: break-word;
}
tbody tr:hover td {
  background-color: #f1f8ff;
  transform: translateY(-2px);
}
tbody tr:nth-child(odd) {
  background-color: #f8f9fa;
}
tbody tr:nth-child(even) {
  background-color: #ffffff;
}
/* 详情页新增样式 */
.is-style-balloon_box strong{
  position: relative;
  background: var(--primary-dark);
  color:#fff;
  /* border: 1px solid #dee2e6; */
  border-radius: 12px;
  padding: 10px 15px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}
.is-style-balloon_box strong::before {
  content: "💡";
  margin-right: 8px;
  font-size: 1.2rem;
  vertical-align: middle;
}
/* 斑马纹背景区块 - 核心内容区 */
.is-style-bg_stripe {
  background: repeating-linear-gradient(
    45deg,
    #f8f9fa,
    #f8f9fa 10px,
    #ffffff 10px,
    #ffffff 20px
  );
  border-radius: 12px;
  padding: 25px;
  margin: 20px 0 30px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}
/* .wp-block-list ul li::before{
  display:none;
} */
.wp-block-list li {
  padding: 8px 0 8px 35px;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.6;
}
.wp-block-list li::marker{
  display:none;
}
.wp-block-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 24px;
  height: 24px;
  background: var(--primary-dark);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
/* 文章标签 */
.article_tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 15px 0;
}

/* 图标样式强化 */
.article_tags .fas.fa-tags {
  color: var(--primary-dark);
  font-size: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.article_tags:hover .fas.fa-tags {
  transform: scale(1.1) rotate(10deg);
  color:var(--primary-dark);
}
.article_tags .tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 15px;
  background: linear-gradient(135deg, #ffffff, #f5f7fa);
  border: 1px solid var(--primary-dark);
  border-radius: 30px;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.article_tags .tag:hover {
  background: linear-gradient(135deg, #fed2cb, #fcc2b9);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}
/* 标签点击效果 */
.article_tags .tag:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
/* 标签动态光效 */
.article_tags .tag::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.4s ease;
}
.article_tags .tag:hover::after {
  left: 100%;
}
/* 响应式适配：移动端优化 */
@media (max-width: 768px) {
  .article_tags {
    padding: 10px;
    gap: 8px;
  }
  
  .article_tags .tag {
    padding: 4px 12px;
    font-size: 13px;
  }
  
  .article_tags .fas.fa-tags {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
}

/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
  .article_tags {
    background: linear-gradient(135deg, #2d3748, #1a202c);
    border-color: #3a4250;
  }
  
  .article_tags .tag {
    background: linear-gradient(135deg, #2d3748, #1a202c);
    border-color: #3a4250;
    color: #cbd5e0;
  }
  
  .article_tags .fas.fa-tags {
    background: #1a202c;
    color: #4a90e2;
  }
}
/* 上下篇导航容器 */
.article_nav {
  width: 100%;
  margin: 40px auto;
}

/* 导航链接容器 */
.nav-container {
  display: flex;
  justify-content: space-between;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.3s ease;
}
.nav-container:hover {
  /* box-shadow: 0 6px 16px rgba(0,0,0,0.12); */
  border:1px solid #eeccc7;
  transform: translateY(-3px);
}
/* 单个导航项 */
.nav-item {
  flex: 1;
  padding: 25px;
  display: flex;
  align-items: center;
  transition: background 0.3s;
}
.nav-item.prev {
  border-right: 1px solid #eee;
}
/* 导航方向图标 */
.nav-icon {
  font-size: 24px;
  color: var(--primary-dark);
  min-width: 40px;
}
.next .nav-icon{
  text-align:right;
}
/* 导航文本内容 */
.nav-content {
  flex: 1;
}
.nav-title {
  color: #333;
  font-weight: 600;
  font-size: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nav-item a.nav-title:hover {
  color: var(--primary-dark);
}
/* 作者介绍区块容器 */
.author-bio {
  width: 100%;
  margin: 40px auto;
  padding: 25px;
  background: #ffffff;
  border-radius: 14px;
  /* box-shadow: 0 5px 15px rgba(0,0,0,0.08); */
  border:1px solid #e0e0e0;
  transition: all 0.3s ease;
  display: flex;
  gap: 30px;
}

.author-bio:hover {
  /* box-shadow: 0 8px 20px rgba(0,0,0,0.12); */
  border:1px solid #eeccc7;
  transform: translateY(-3px);
}

/* 左侧区域 */
.author_left {
  flex: 0 0 100px; /* 固定宽度 */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 头像样式 */
.author-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  margin-bottom: 20px;
  transition: transform 0.3s;
}

.author-avatar:hover {
  transform: scale(1.03);
}

/* 作者信息 */
.author-info {
  text-align: center;
  width: 100%;
}

.author-name {
  font-size: 14px;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 10px;
  line-height: 1.3;
}

/* 右侧描述区域 */
.author_desc {
  flex: 1;
}
.author_desc p {
  font-size: 14px;
  line-height: 1.7;
  color: #34495e;
  text-align: justify;
}
.about-container{
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  padding:20px 30px;
}
.about-container  #content {
  margin: 0 auto;
  padding: 0 20px;
  color: #2e2e2e;
  line-height: 1.7;
}
.about-container h1.tit{
  border-bottom:1px solid #ddd;
  color: #2c3e50;
  margin-bottom: 30px;
  padding-bottom: 10px;
  font-weight:bold;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}
.about-container #content h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  position: relative;
  color: #2e2e2e;
}

.about-container #content h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #e89a8e;
}

.about-container #content p {
  margin: 14px 0;
  font-size: 1.05rem;
  color: #4a4a4a;
}

.about-container #content p:first-of-type {
  margin-top: 0;
}

/* 列表项特殊处理 */
.about-container #content ul {
  padding-left: 24px;
  margin: 20px 0;
}

.about-container #content li {
  margin: 10px 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .about-container #content {
    padding: 0 15px;
  }
  
  .about-container #content h2 {
    font-size: 1.4rem;
    margin: 32px 0 14px;
  }
  
  .about-container #content p {
    font-size: 1rem;
  }
}

/* 强调文本样式 */
.about-container #content strong {
  color: #e89a8e;
  font-weight: 600;
}

/* 链接样式（如果需要） */
.about-container #content a {
  color: #e89a8e;
  text-decoration: underline;
  transition: opacity 0.2s;
}

.about-container #content a:hover {
  opacity: 0.8;
}

/* 底部装饰线 */
.about-container #content::after {
  content: '';
  display: block;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, #f7c8c3, transparent);
  margin-top: 50px;
}
.relateds{
  margin-bottom:30px;
}
.relateds .tit{
  font-weight:bold;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--primary-dark);
  font-size: 1.2rem;
}
.relateds .items{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.relateds .items .item{
  border-radius: 14px;
  border: 1px solid #eee0da;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease-out, transform 0.15s ease-out;
  margin-bottom:20px;
}
.relateds .items .item:hover{
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  transform: translateY(-3px);
}
.relateds .items .item .conts{
  padding:20px;
}
.relateds .items .item img{
  width:100%;
  height:100%;
  object-fit: cover;
}
.relateds .items .item .conts a{
  font-size:16px;
  font-weight:bold;
  margin-bottom:10px;
  height:40px;
}
.relateds .items .item .conts a:hover,
.relateds .items .item .conts a:focus{
  color: var(--primary-dark);
}
.relateds .items .item .conts .desc{
  font-size:13px;
  color:#666;
  -webkit-line-clamp: 3;
  height:50px;
  margin-bottom:10px;
}
.relateds .items .item .conts .time{
  font-size:12px;
  color:#999;
  text-align:right;
}
.footer-logo img,
.nav-logo img{
  height:40px;
}
/* 响应式调整 */
@media (max-width: 992px) {
  .container {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .breadcrumb li {
    font-size: 0.8rem;
  }
  .list-section h1 {
    font-size: 1.5rem;
  }
  .list-item .list-item_img{
    float:none;
    margin-right:0;
    width:100%;
    height:auto;
    margin-bottom:20px;
  }
  #content table {
    margin: 15px auto;
  }
  caption{
    font-size:15px;
  }
  .nav-container {
    flex-direction: column;
  }
  
  .nav-item.prev {
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  .nav-item {
    padding: 20px;
  }
  .nav-icon {
    margin-right: 15px;
  }
  .nav-title{
    font-size:15px;
  }
  .author-bio {
    flex-direction: column;
    gap: 20px;
  }
  .author_left {
    flex-direction: column;
    text-align: center;
  }
  .author-avatar {
    width: 120px;
    height: 120px;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .author-info {
    text-align: center;
  }
  .relateds .items{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 15px;
  }
  .list-item h2 {
    font-size: 1.1rem;
  }
  .search-form {
    flex-direction: column;
  }
}