/* News detail layout only. All article-body typography belongs to components/article.css. */
.by-story{padding-block:30px 60px;background:#fff;color:var(--theme-text-color)}
.by-story>.ct-container{max-width:1280px}
.by-story-breadcrumb{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;font-size:13px;line-height:1.7;color:#777;margin-bottom:40px}
.by-story-breadcrumb a{color:inherit}
.by-story-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:64px;align-items:start}
.by-story-article{min-width:0}
.by-story-article :is(h2,h3)[id]{scroll-margin-top:110px}
.by-story-header{margin-bottom:36px;padding-bottom:26px;border-bottom:1px solid #e5e5e5}
.by-story-header h1{font-size:clamp(30px,2.3vw,42px);line-height:1.2;letter-spacing:-.025em;margin:0 0 22px}
.by-story-meta{display:flex;gap:15px;align-items:center;font-size:13px;color:#777;line-height:1.6}
.by-story-author{border-left:1px solid #ddd;padding-left:15px;color:var(--theme-palette-color-1);font-weight:600}
.by-story-sidebar{min-width:0;align-self:stretch;border-left:1px solid #eee;padding-left:28px}
.by-story-sidebar-inner{position:sticky;top:calc(var(--header-height,77px) + var(--wp-admin--admin-bar--height,0px) + 24px)}
.by-story-sidebar h2{font-size:20px;line-height:1.4;margin:0 0 20px;letter-spacing:-.015em}
.by-story-toc{padding:22px;background:#f7f7f7;border-top:3px solid var(--theme-palette-color-1);border-radius:0 0 5px 5px;margin-bottom:32px;max-height:48dvh;overflow-y:auto}
.by-story-toc ul{margin:0;padding:0;list-style:none}
.by-story-toc li{margin:0 0 12px;font-size:13px;line-height:1.6}
.by-story-toc li:last-child{margin:0}
.by-story-toc a{display:block;color:#555}
.by-story-toc a:hover{color:var(--theme-palette-color-1)}
.by-story-toc-h3{padding-left:12px;border-left:1px solid #ddd}
.by-story-related{margin-bottom:28px}
.by-story-related-item{display:flex;align-items:center;gap:13px;padding-block:15px;border-bottom:1px solid #e8e8e8;color:inherit;font-size:14px;line-height:1.5;font-weight:600}
.by-story-related-item:first-child{padding-top:0}
.by-story-related-item:hover{color:var(--theme-palette-color-1)}
.by-story-related-image{display:block;flex:0 0 68px;aspect-ratio:1;overflow:hidden}
.by-story-related-image img{display:block;width:100%;height:100%;object-fit:contain}
.by-story-post-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:48px;padding-top:26px;border-top:1px solid #ddd}
.by-story-post-nav a{min-width:0;color:inherit}
.by-story-post-nav span{display:block;font-size:12px;color:var(--theme-palette-color-1);margin-bottom:10px}
.by-story-post-nav strong{font-size:15px;line-height:1.5;font-weight:600}
.by-story-post-nav a:hover strong{color:var(--theme-palette-color-1)}
@media(max-width:1000px){.by-story-layout{grid-template-columns:minmax(0,1fr) 260px;gap:32px}.by-story-sidebar{padding-left:20px}.by-story-toc{padding:18px}.by-story-header h1{font-size:32px}}
@media(max-width:768px){.by-story{padding-block:22px 35px}.by-story-breadcrumb{font-size:12px;margin-bottom:28px}.by-story-layout{grid-template-columns:1fr;gap:36px}.by-story-header{margin-bottom:26px;padding-bottom:22px}.by-story-header h1{font-size:28px;line-height:1.25;margin-bottom:18px}.by-story-sidebar{padding:30px 0 0;border-left:0;border-top:1px solid #ddd}.by-story-sidebar-inner{position:static}.by-story-toc{max-height:none}.by-story-post-nav{gap:20px;margin-top:32px}.by-story-post-nav strong{font-size:14px}}
