 * {
     box-sizing: border-box
 }

 html,
 body {
     margin: 0;
     padding: 0
 }

 body {
     font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
     background: #f4f6fb;
     color: #1f2937;
     line-height: 1.8;
 }

 a {
     color: #2563eb;
     text-decoration: none
 }

 a:hover {
     text-decoration: underline
 }

 img {
     display: block;
     max-width: 100%;
     height: auto
 }

 .container {
     width: 100%;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 16px
 }

 .site-top {
     background: linear-gradient(135deg, #111827, #1f2937);
     color: #fff;
 }

 .site-top-inner {
     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 20px;
     min-height: 70px;
 }

 .site-left {
     display: flex;
     flex-direction: column;
 }

 .logo {
     font-size: 26px;
     font-weight: 800;
     color: #fff;
 }

 .site-desc {
     font-size: 12px;
     opacity: .8;
     margin-top: 4px;
 }

 .search-form {
     display: flex;
     align-items: center;
     gap: 6px;
 }

 .search-input {
     width: 240px;
     height: 38px;
     border: 1px solid rgba(255, 255, 255, .2);
     background: rgba(255, 255, 255, .08);
     color: #fff;
     border-radius: 8px;
     padding: 0 10px;
     outline: none;
 }

 .search-input::placeholder {
     color: rgba(255, 255, 255, .6);
 }

 .search-btn {
     height: 38px;
     border: 0;
     background: #3b82f6;
     color: #fff;
     border-radius: 8px;
     padding: 0 14px;
     cursor: pointer;
 }

 .nav-bar {
     background: #fff;
     border-bottom: 1px solid #e5e7eb;
 }

 .nav-inner {
     display: flex;
     align-items: center;
     gap: 18px;
     min-height: 52px;
     flex-wrap: wrap;
 }

 .nav-inner a {
     color: #111827;
     font-size: 15px;
     font-weight: 600;
 }

 .main-wrap {
     padding: 22px 0 30px
 }

 .layout {
     display: grid;
     grid-template-columns: 1fr 320px;
     gap: 22px;
 }

 .card {
     background: #fff;
     border-radius: 18px;
     padding: 18px;
     box-shadow: 0 4px 18px rgba(15, 23, 42, .05);
 }

 .block-title {
     display: flex;
     align-items: center;
     justify-content: space-between;
     margin: 0 0 16px;
 }

 .block-title h2,
 .block-title h3 {
     margin: 0;
     font-size: 22px;
     color: #111827;
 }

 .block-title span {
     font-size: 13px;
     color: #6b7280;
 }

 .hero-grid {
     display: grid;
     grid-template-columns: 1.35fr .95fr;
     gap: 20px;
     margin-bottom: 22px;
 }

 .slider {
     position: relative;
     overflow: hidden;
     border-radius: 18px;
     min-height: 360px;
     background: #111827;
 }

 .slide-item {
     position: relative;
     display: block;
     height: 360px;
     overflow: hidden;
 }

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

 .slide-mask {
     position: absolute;
     left: 0;
     right: 0;
     bottom: 0;
     padding: 22px;
     background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, .05));
     color: #fff;
 }

 .slide-mask h2 {
     margin: 0 0 8px;
     font-size: 28px;
     line-height: 1.4;
 }

 .slide-mask p {
     margin: 0;
     font-size: 14px;
     opacity: .92;
     line-height: 1.8;
 }

 .feature-list {
     display: grid;
     grid-template-columns: 1fr;
     gap: 14px;
 }

 .feature-item {
     display: flex;
     gap: 12px;
     padding: 12px;
     background: #fff;
     border: 1px solid #eef2f7;
     border-radius: 16px;
 }

 .feature-thumb {
     width: 120px;
     height: 84px;
     border-radius: 12px;
     overflow: hidden;
     flex: 0 0 120px;
     background: #e5e7eb;
 }

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

 .feature-body a {
     display: block;
     font-size: 16px;
     font-weight: 700;
     color: #111827;
     line-height: 1.6;
     margin-bottom: 6px;
 }

 .meta {
     font-size: 12px;
     color: #6b7280;
     margin-bottom: 6px;
 }

 .desc {
     font-size: 13px;
     color: #4b5563;
     line-height: 1.7;
 }

 .recommend-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 16px;
 }

 .recommend-item {
     border: 1px solid #eef2f7;
     border-radius: 16px;
     overflow: hidden;
     background: #fff;
 }

 .recommend-thumb {
     display: block;
     aspect-ratio: 16/10;
     background: #e5e7eb;
     overflow: hidden;
 }

 .recommend-thumb img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform .25s ease;
 }

 .recommend-item:hover .recommend-thumb img {
     transform: scale(1.04);
 }

 .recommend-body {
     padding: 12px 12px 14px;
 }

 .recommend-body a {
     color: #111827;
     font-size: 16px;
     font-weight: 700;
     line-height: 1.6;
     display: block;
     min-height: 52px;
 }

 .recommend-body .desc {
     margin-top: 8px;
 }

 .post-list {
     margin: 0;
     padding: 0;
     list-style: none;
 }

 .post-list li {
     padding: 14px 0;
     border-bottom: 1px solid #eef2f7;
 }

 .post-list li:last-child {
     border-bottom: 0
 }

 .post-list a.title {
     display: block;
     color: #111827;
     font-size: 18px;
     font-weight: 700;
     line-height: 1.6;
 }

 .thumb-list {
     margin: 0;
     padding: 0;
     list-style: none;
 }

 .thumb-list li {
     display: flex;
     gap: 12px;
     padding: 12px 0;
     border-bottom: 1px solid #eef2f7;
 }

 .thumb-list li:last-child {
     border-bottom: 0
 }

 .thumb {
     width: 96px;
     height: 68px;
     flex: 0 0 96px;
     border-radius: 10px;
     overflow: hidden;
     background: #e5e7eb;
 }

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

 .sidebar-links {
     margin: 0;
     padding: 0;
     list-style: none;
 }

 .sidebar-links li {
     padding: 10px 0;
     border-bottom: 1px dashed #e5e7eb;
 }

 .sidebar-links li:last-child {
     border-bottom: 0
 }

 .content-title {
     font-size: 34px;
     line-height: 1.45;
     margin: 0 0 12px;
     color: #111827;
 }

 .content-meta {
     color: #6b7280;
     font-size: 13px;
     padding-bottom: 14px;
     border-bottom: 1px solid #eef2f7;
     margin-bottom: 18px;
 }

 .cover-box {
     margin-bottom: 18px;
     border-radius: 18px;
     overflow: hidden;
     background: #e5e7eb;
 }

 .cover-box img {
     width: 100%;
     max-height: 420px;
     object-fit: cover;
 }

 .intro-box {
     background: #f8fafc;
     border-left: 4px solid #3b82f6;
     padding: 14px 16px;
     border-radius: 10px;
     color: #334155;
     margin-bottom: 20px;
 }

 .article-content {
     font-size: 17px;
     color: #1f2937;
     word-break: break-word;
 }

 .article-content p {
     margin: 0 0 16px;
 }

 .tags-box {
     margin-top: 24px;
     padding-top: 16px;
     border-top: 1px solid #eef2f7;
 }

 .tags-box a {
     display: inline-block;
     margin: 0 8px 8px 0;
     padding: 6px 12px;
     background: #eff6ff;
     color: #1d4ed8;
     border-radius: 999px;
     font-size: 13px;
 }

 .pagination {
     margin-top: 24px;
     display: flex;
     gap: 8px;
     flex-wrap: wrap;
 }

 .pagination a,
 .pagination span {
     display: inline-block;
     padding: 8px 12px;
     background: #fff;
     border: 1px solid #e5e7eb;
     border-radius: 10px;
     color: #334155;
 }

 .pagination .current {
     background: #2563eb;
     color: #fff;
     border-color: #2563eb;
 }

 .empty {
     color: #6b7280;
     padding: 10px 0;
 }

 .site-footer {
     background: #111827;
     color: rgba(255, 255, 255, .75);
     margin-top: 28px;
 }

 .footer-inner {
     padding: 22px 0;
     text-align: center;
     font-size: 13px;
 }

 @media (max-width:1024px) {
     .layout {
         grid-template-columns: 1fr
     }

     .hero-grid {
         grid-template-columns: 1fr
     }
 }

 @media (max-width:820px) {
     .recommend-grid {
         grid-template-columns: repeat(2, 1fr)
     }
 }

 @media (max-width:640px) {

     .site-top-inner {
         flex-direction: row;
         align-items: center;
     }

     .logo {
         font-size: 20px;
     }

     .search-input {
         width: 140px;
     }

 }