.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: start; padding-bottom: 60px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--dim); margin-bottom: 24px; flex-wrap: wrap; }
.breadcrumb a { color: var(--dim); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb-sep { color: var(--sub); }

.article-head { margin-bottom: 32px; }
.article-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.article-date { font-size: 13px; color: var(--dim); }
.article-readtime { font-size: 13px; color: var(--dim); padding: 3px 10px; border-radius: 100px; background: var(--bg3); border: 1px solid var(--sub); }
.article-h1 { font-size: clamp(24px, 4vw, 40px); font-weight: 700; line-height: 1.2; margin-bottom: 18px; }
.article-excerpt { font-size: 18px; color: var(--mid); line-height: 1.7; border-left: 3px solid var(--bord); padding-left: 18px; margin-bottom: 28px; }
.article-cover { border-radius: 14px; overflow: hidden; margin-bottom: 36px; }
.article-cover img { width: 100%; max-height: 538px; object-fit: cover; display: block; }

.article-body { font-size: 16px; line-height: 1.8; color: var(--text); overflow-wrap: anywhere; word-break: break-word; }
.article-body * { max-width: 100%; box-sizing: border-box; }
.article-body h2 { font-size: 22px; font-weight: 700; margin: 36px 0 14px; color: var(--text); }
.article-body h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; color: var(--mid); }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body li { margin-bottom: 6px; }
.article-body blockquote { border-left: 4px solid var(--bord); background: var(--bg3); padding: 14px 20px; border-radius: 0 10px 10px 0; margin: 24px 0; color: var(--mid); font-style: italic; }
.article-body img { max-width: 100%; border-radius: 10px; margin: 16px 0; }
.article-body a { color: var(--gold); text-decoration: underline; overflow-wrap: anywhere; word-break: break-word; }
.article-body a:hover { color: var(--gl); }
.article-body strong { color: var(--text); }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.article-body th, .article-body td { border: 1px solid var(--sub); padding: 10px 14px; font-size: 14px; }
.article-body th { background: var(--bg3); font-weight: 700; }
.article-body pre { max-width: 100%; overflow-x: auto; border-radius: 10px; }
.article-body code { word-break: break-word; }
.article-body iframe, .article-body video, .article-body embed, .article-body object { max-width: 100%; }

.related-section { margin-top: 56px; }
.related-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.related-card { background: var(--bg2); border: 1.5px solid var(--sub); border-radius: 12px; padding: 16px 18px; text-decoration: none; color: inherit; display: block; transition: border-color .2s, box-shadow .2s; }
.related-card:hover { border-color: var(--bord); box-shadow: 0 4px 16px rgba(22,163,74,.08); }
.related-card-title { font-size: 14px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; color: var(--text); }
.related-card-date { font-size: 12px; color: var(--dim); }

.article-sidebar { position: sticky; top: 80px; }
.sidebar-block { background: var(--bg2); border: 1.5px solid var(--sub); border-radius: 14px; padding: 20px; margin-bottom: 20px; }
.sidebar-title { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.sidebar-list { list-style: none; margin: 0; padding: 0; }
.sidebar-list li { margin-bottom: 10px; }
.sidebar-list li:last-child { margin-bottom: 0; }
.sidebar-link { color: var(--mid); text-decoration: none; font-size: 14px; line-height: 1.45; }
.sidebar-link:hover { color: var(--gold); }
.blog-cta { background: linear-gradient(135deg, var(--gold), var(--gl)); border-radius: 14px; padding: 22px; color: #fff; text-align: center; }
.blog-cta-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.blog-cta-text { font-size: 13px; opacity: .88; margin-bottom: 16px; line-height: 1.5; }
.btn-white { background: #fff; color: var(--gold); font-weight: 700; }
.btn-white:hover { background: var(--bg3); }

.share-bar { display: flex; align-items: center; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--sub); flex-wrap: wrap; }
.share-label { font-size: 13px; color: var(--dim); font-weight: 600; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--sub); background: #fff; color: var(--mid); transition: all .2s; }
.share-btn:hover { border-color: var(--bord); color: var(--gold); }
.article-author { margin-top: 20px; }
.article-author-card { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; border: 1.5px solid var(--sub); background: var(--bg2); border-radius: 12px; padding: 10px 12px; transition: border-color .2s, box-shadow .2s; }
.article-author-card:hover { border-color: var(--bord); box-shadow: 0 4px 16px rgba(22,163,74,.08); }
.article-author-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--sub); }
.article-author-avatar-placeholder { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: var(--bg3); color: var(--mid); border: 1px solid var(--sub); }
.article-author-meta { display: flex; flex-direction: column; gap: 2px; }
.article-author-label { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .04em; }
.article-author-name { font-size: 14px; color: var(--text); font-weight: 600; line-height: 1.2; }

@media(max-width:900px){
  .article-layout{grid-template-columns:1fr}
  .article-sidebar{position:static}
}

@media(max-width:640px){
  .article-layout{gap:24px}
  .article-body{font-size:15px;line-height:1.72}
  .article-body h2{font-size:20px;line-height:1.3}
  .article-body h3{font-size:17px;line-height:1.35}
  .article-body ul,.article-body ol{margin-left:18px}
  .article-body table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;white-space:normal}
  .article-body th,.article-body td{font-size:13px;padding:8px 10px;white-space:normal;word-break:break-word}
}