/* Single Post Styles */
.single-post-wrapper { padding-top:40px; padding-bottom:60px; background:#ffffff; font-size:16px; line-height:1.6; }
.single-post-article { max-width:860px; margin:60px auto 50px; }
/* Redesigned Single Post Layout */
.single-post-wrapper { padding:40px 0 60px; background:#fff; font-size:16px; line-height:1.65; }
.single-hero { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:44px; margin:0 auto 50px; max-width:1200px; padding:0 40px; }
.hero-main { max-width:980px; }
.breadcrumbs { font-size:13px; color:#555; margin-bottom:10px; }
.breadcrumbs a { color:#0a3c66; text-decoration:none; }
.breadcrumbs a:hover { text-decoration:underline; }
.sep { color:#999; margin:0 4px; }
.hero-title { font-size:44px; line-height:1.15; font-weight:700; margin:6px 0 18px; letter-spacing:.5px; }
.hero-meta { display:flex; flex-wrap:wrap; gap:14px; margin-bottom:24px; }
.hero-meta span { font-size:13px; background:#f4f6f8; padding:6px 12px; border-radius:20px; display:inline-flex; align-items:center; gap:6px; }
.hero-meta .date-badge { background:#ffe9e9; color:#b30024; }
.hero-image-wrap { margin:0 0 10px; }
.hero-image { width:100%; height:auto; display:block; border-radius:4px; box-shadow:0 4px 16px rgba(0,0,0,.06); }
.meta-badge { background:#002a4e !important; color:#fff; }
.single-body { max-width:1200px; margin:0 auto 60px; padding:0 40px; }
.share-inline { display:flex; align-items:center; gap:16px; background:#f7f9fb; border:1px solid #e2e6ea; padding:16px 24px; border-radius:8px; margin:0 0 40px; }
.share-inline .share-label { font-weight:600; color:#002a4e; }
.share-btn { background:#fff; border:1px solid #d5dae0; padding:6px 11px; cursor:pointer; font-size:15px; border-radius:50%; width:42px; height:42px; display:flex; align-items:center; justify-content:center; transition:.2s; color:#002a4e; }
.share-btn:hover { background:#002a4e; color:#fff; }
.entry-content h2, .entry-content h3 { margin-top:46px; font-weight:600; color:#002a4e; scroll-margin-top:120px; }
.entry-content p { margin:0 0 22px; }
.entry-content img { max-width:100%; height:auto; border-radius:6px; margin:28px auto; display:block; }
.entry-content p, .entry-content li { word-break:break-word; overflow-wrap:anywhere; }
.entry-content code, .entry-content pre { white-space:pre-wrap; word-break:break-word; overflow-wrap:anywhere; }
.entry-content table { width:100%; border-collapse:collapse; display:block; overflow-x:auto; }
.toc-box { position:sticky; top:100px; padding:24px 24px 28px; background:#ffffff; border:1px solid #e2e6ea; border-radius:10px; max-height:70vh; overflow:auto; }
.toc-empty { font-size:13px; color:#66727d; line-height:1.5; margin:0; }
.toc-title { font-size:15px; font-weight:700; margin:0 0 14px; color:#002a4e; }
.toc-list { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.toc-link { display:block; font-size:14px; line-height:1.35; text-decoration:none; color:#0a3c66; padding:4px 6px; border-radius:4px; transition:.15s; }
.toc-link:hover { background:none; color:inherit; }
.toc-link.active { background:none; color:#c4002f; font-weight:600; border-left:3px solid #c4002f; padding-left:10px; }
.toc-item.level-3 .toc-link { padding-left:18px; font-size:13px; }
.single-related { max-width:1200px; margin:0 auto 10px; }
.related-title { font-size:22px; font-weight:600; margin:10px 0 24px; color:#002a4e; }
.related-grid { display:grid; gap:24px; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); }
.related-item { background:#fff; border:1px solid #e2e6ea; border-radius:10px; padding:18px 20px; text-decoration:none; display:flex; gap:16px; align-items:center; transition:.2s; }
.related-item:hover { border-color:#c4002f; box-shadow:0 3px 12px rgba(0,0,0,.08); }
.related-thumb { width:64px; height:64px; object-fit:cover; border-radius:6px; }
.related-name { font-size:15px; font-weight:500; color:#002a4e; line-height:1.3; }
.post-not-found { text-align:center; padding:80px 0; }
@media (max-width:1100px){ .single-hero { grid-template-columns:1fr; } .hero-toc { position:relative; } .toc-box{ top:auto; max-height:none; } }
@media (max-width:1100px){ .single-hero { padding:0 24px; } .single-body{ padding:0 24px; } }
@media (max-width:900px){ .hero-main{ max-width:100%; } }
@media (max-width:768px){ .hero-title{font-size:34px;} .share-inline{flex-wrap:wrap;} .related-grid{grid-template-columns:1fr;} }
.post-header { margin-bottom:24px; }
.post-title { font-size:42px; line-height:1.15; margin:12px 0 12px; font-weight:700; letter-spacing:.5px; }
.post-badge, .post-featured-label { display:inline-block; font-size:12px; font-weight:600; text-transform:uppercase; letter-spacing:.5px; padding:4px 10px; border-radius:4px; background:#002a4e; color:#fff; margin-right:8px; }
.post-featured-label { background:#c4002f; }
.post-meta { display:flex; flex-wrap:wrap; gap:14px; font-size:13px; color:#555; }
.post-meta .meta-item i { margin-right:5px; color:#c4002f; }
.post-figure { margin:0 0 28px; }
.featured-img { width:100%; height:auto; border-radius:8px; display:block; box-shadow:0 4px 18px rgba(0,0,0,.08); }
.post-intro { font-size:18px; font-weight:500; margin:0 0 28px; color:#222; }
.post-share-bar { display:flex; align-items:center; gap:10px; padding:12px 16px; background:#f7f9fb; border:1px solid #e2e6ea; border-radius:6px; margin:0 0 30px; }
.post-share-bar .share-label { font-weight:600; color:#002a4e; margin-right:6px; }
.share-btn { background:#fff; border:1px solid #d5dae0; padding:6px 10px; font-size:14px; cursor:pointer; border-radius:4px; transition:.2s; color:#002a4e; }
.share-btn:hover { background:#002a4e; color:#fff; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top:42px; font-weight:600; color:#002a4e; }
.entry-content p { margin:0 0 20px; }
.entry-content img { max-width:100%; height:auto; border-radius:6px; margin:20px auto; display:block; }
.post-footer { margin-top:40px; padding-top:30px; border-top:1px solid #e3e8ec; }
.post-nav .nav-link { font-size:14px; font-weight:600; text-decoration:none; color:#002a4e; }
.post-nav .nav-link:hover { color:#c4002f; }
.related-posts { max-width:860px; margin:0 auto 30px; }
.related-title { font-size:20px; font-weight:600; margin:10px 0 18px; color:#002a4e; }
.related-grid { display:grid; gap:20px; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); }
.related-item { display:flex; flex-direction:row; gap:12px; padding:12px; border:1px solid #e2e6ea; border-radius:6px; background:#fff; text-decoration:none; transition:.2s; align-items:center; }
.related-item:hover { border-color:#c4002f; box-shadow:0 3px 12px rgba(0,0,0,.06); }
.related-thumb { width:58px; height:58px; object-fit:cover; border-radius:4px; flex-shrink:0; }
.related-name { font-size:14px; font-weight:500; color:#002a4e; line-height:1.3; }
.post-not-found { text-align:center; padding:60px 0; }
/* Removed reading progress bar */
@media (max-width: 768px){ .post-title{font-size:32px;} .post-meta{font-size:12px; gap:10px;} .post-share-bar{flex-wrap:wrap;} }
