:root{
  --max-w: 1200px;           
  --gap: 24px;                
  --container-padding: 16px;
  
  --bg: #ffffff;
  --surface: #f6f7f8;
  --text: #0f1724;
  --muted: #6b7280;
  --accent: #0043ff; 
  --card-bg: #ffffff;
  --border: #e6e9ee;
  --radius: 8px;
  --shadow: 0 6px 18px rgba(15,23,36,0.06);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

html, body, a, div, main, span, table, tr, td, strong, ul, ol, li, h1, h2, h3, p, input {
    font-weight: inherit;
    font-size: inherit;
    list-style: none;
    border-spacing: 0;
    border: 0;
    border-collapse: collapse;
    text-decoration: none;
    padding: 0;
    margin: 0;
}
*, *::before, *::after {
    box-sizing: border-box;
}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font-family);
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.55;
}
img{max-width: 100%;height: auto;vertical-align: middle;}

.container{
  width: calc(100% - 2*var(--container-padding));
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* 4) Header */
.site{background: #f8fafc;}
.site__header{
    background: #fff;
 box-shadow: 0 8px 12px rgba(0, 0, 0, .02);
}
.site__header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  height:72px;
}
.brand{
  font-weight:700;
  font-size:20px;
  color:var(--accent);
  letter-spacing:1px;
}
.oeb-m a{
  margin-left:16px;
  color:var(--muted);
  text-decoration:none;
}
.oeb-m a:hover{ color:var(--text) }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* 博客文章卡片 */
.blog-item {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.blog-item:hover {
  transform: translateY(-5px);
}

/* Logo */
.brand img {
  max-height: 30px;
  width: auto;
  display: block;
}
.site__main{
  display:grid;
  grid-template-columns: 1fr 320px; 
  gap: var(--gap);
  align-items:start;
  padding: calc(var(--gap)) 0;
}

.posts{
  display:grid;
  grid-template-columns: 1fr; 
  gap: var(--gap);
}
/*HOME*/
.oebn-news li{margin-bottom: 2rem;}
.center-link{display: flex;padding: 1rem;box-shadow: 5px 0px 50px 5px #EFEAEA;border-radius: 1rem;background: #fff;}
.oebn-himg{margin-right: 2rem;}
.oebn-hile{padding-right: 2rem;}
.oebn-himg img{border-radius: 1rem;max-width: 200px;}
.cent-p{font-size: 20px;color: #161616;font-weight: 600;margin-bottom: 1rem;}
.cent-t{font-size: 14px;color: #747474;margin-bottom: 1rem;line-height: 1.8;display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;}
.cent-o{font-size: 14px;color: #747474;text-align: right;}
/* 单篇卡片 */
.post-card{
  background:var(--card-bg);
  border:1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
}
.post-card__thumb{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
}
.post-card__body{
  padding:16px;
}
.post-card__title{
  margin:0 0 8px;
  font-size:18px;
}
.post-card__title a{
  color:var(--text);
  text-decoration:none;
}
.post-card__excerpt{
  margin:0 0 10px;
  color:var(--muted);
  font-size:14px;
}
.post-card__meta{
  font-size:13px;
  color:var(--muted);
}
/*CCC*/
.site__sidebar{
  position:relative;
}
.widget{
  border-radius:8px;
  margin-bottom:16px;
}
.widget__title{ margin:0 0 8px; font-size:15px; color:var(--text) }
/*HEXE*/
.oebn-he{padding: 25px;box-shadow: 9px 10px 29px #dbdbdb;margin-bottom: 1rem;border-radius: 1rem;background: #fff;}
.he-b,.he-o{display: flex;flex-flow: column;}
.he-b{margin-bottom: 1rem;}
.he-b img,.he-o img{max-height: 50px;}
.he-b span,.he-o span{margin-left: 1rem;}
.he-xz{display: flex;justify-content: space-around;margin-top: 1rem;}
.he-xz a{border: 1px #dbdbdb solid;border-radius: 2rem;padding: .5rem 2rem;font-size: 14px;}
.bn-bt{background: #f3bc36;color: #161616;}
.ok-bt{background: #161616;color: #fff;}
/*hot*/
.oebn-hot{margin-bottom: 2rem;}
.oebn-hot li{padding: 25px;box-shadow: 9px 10px 29px #dbdbdb;border-radius: 1rem;margin-bottom: 1rem;background: #fff;}
.oebn-hot li a{display: block;font-size: 14px;color: #161616;border-left: 3px #0043ff solid;padding-left: 1rem;}
.oebn-tags ul {display: flex;flex-flow: wrap;background: #fff;box-shadow: 9px 10px 29px #dbdbdb;padding: 25px;border-radius: 1rem;font-size: 14px;color: #161616;}
.oebn-tags a{background: #ECEDF4;
    padding: 8px;
    border-radius: 20px;
    font-size: 14px;
    margin-right: 8px;margin-bottom: 8px;display: block;}
/* 8) Footer */
.site__footer{
  border-top:1px solid var(--border);
  padding:20px 0;
  margin-top:40px;
  background:transparent;
}
.site__footer .container{ display:flex; align-items:center; justify-content:center }
.footer{text-align: center;
    background: #f5f6f9;
    color: #ccc;
    padding: 20px 0;display: flex;flex-flow: column;}
    .footer a{display: inline-block;margin: .4rem;color: #ccc;font-size: 14px;}
/*seah*/
.oebn-so input{height: 34px;
    padding: 13px;
    border-radius: 11px;
    background: #ededed;
    border: 1px solid #ededed;
    transition: .3s;}
/*exe*/
.ok,.bn{display: flex;}
.ok-left{display: flex;}
.ok-logo img,.bn-logo img{max-width: 70px;}
.ok-text,.bn-text{}
.ok-text span,.bn-text span{}
.ok-riht{}
.ok-riht a{}
.ok-btn{}
.bn-btn{}
@media (max-width:1024px){
  .site__main{ grid-template-columns: 1fr 300px; }
  .posts{ grid-template-columns: repeat(1, 1fr); } /* 单列卡片 */
  .post-card__thumb{ height:220px; }
}

@media (max-width:720px){
  .site__main{ grid-template-columns: 1fr; }
  .site__sidebar{ order: 2; }
  .posts{ grid-template-columns: 1fr; }
  .site__header .container{ height:64px; padding:0 8px; }
  .site__nav a{ margin-left:10px; font-size:14px; }
  .center-link{flex-flow: column;}
  .oebn-himg{margin: 0;}
  .oebn-hile{padding: 0;}
  .oebn-himg img{max-width: 100%;margin-bottom: 1rem;}
}

a{ color:var(--accent) }
a:focus{ outline:3px solid color-mix(in srgb, var(--accent) 20%, white); outline-offset:3px }

