.news-detail-page .news-story-section {
    --story-surface: var(--panel-strong, #fff);
    --story-text: var(--text, #12385f);
    --story-muted: var(--muted, #476b87);
    --story-line: var(--line, #dce5f2);
    --story-accent: var(--palette-action, #0e61c6);
    --story-blue: var(--palette-blue-900, #1d7bf3);
    margin-top: 64px;
    padding: 32px 0 56px;
    background: var(--bg, #f8feff);
}
html[data-theme="dark"] .news-detail-page .news-story-section { --story-accent: var(--palette-blue-300, #94cfec); }
.news-story-wrap { width: min(calc(100% - 48px), 1240px); margin-inline: auto; }
.news-detail-page .news-story-panel { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 32px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.news-detail-page .news-story-main { margin: 0; padding: clamp(22px, 3vw, 40px); border: 1px solid var(--story-line); border-radius: 20px; background: var(--story-surface) !important; }
.news-detail-page .news-story-breadcrumb { margin-bottom: 24px; padding-bottom: 18px; }
.news-detail-page .news-story-breadcrumb ol { gap: 8px; padding: 0; line-height: 1.5; }
.news-detail-page .news-story-breadcrumb ol > li + li::before { content: none; }
.news-detail-page .news-story-breadcrumb li { flex: 0 0 auto; }
.news-detail-page .news-story-breadcrumb li:last-child { display: block; flex: 1 1 auto; min-width: 0; max-width: none; }
.news-detail-page .news-story-breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 2px; color: var(--story-muted); }
.news-detail-page .news-story-category { border-radius: 999px; padding: 6px 12px; background: var(--palette-action, #0e61c6); line-height: 1.4; }
.news-detail-page .news-story-header h1 { margin: 18px 0; font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.2; letter-spacing: -.025em; overflow-wrap: normal; text-wrap: pretty; }
.news-detail-page .news-story-lead { font-size: 1rem; font-style: normal; line-height: 1.75; margin-bottom: 22px; }
.news-detail-page .news-story-byline { flex-wrap: wrap; gap: 12px; padding: 18px 0; border-block: 1px solid var(--story-line); line-height: 1.5; }
.news-detail-page .news-story-avatar { width: 40px; height: 40px; flex-basis: 40px; background: var(--palette-action, #0e61c6); }
.news-detail-page .news-story-author { display: grid; gap: 2px; min-width: 0; flex: 1 1 130px; }
.news-detail-page .news-story-author span { font-size: .7rem; }
.news-detail-page .news-story-author strong { font-size: .85rem; }
.news-detail-page .news-story-byline > time { padding-left: 0; border: 0; font-size: .78rem; }
.news-detail-page .news-story-meta { margin-left: 0; font-size: .75rem; }
.news-detail-page .news-story-share { gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.news-detail-page .news-story-share > span { width: auto; padding: 0; margin-right: auto; border: 0; font-weight: 600; }
.news-detail-page .news-story-share a { width: 40px; height: 40px; border: 1px solid var(--story-line); border-radius: 50%; color: var(--story-accent); background: color-mix(in srgb, var(--story-blue) 8%, var(--story-surface)); }
.news-detail-page .news-story-share a:hover { color: #fff; background: var(--palette-action, #0e61c6); }
.news-detail-page .news-story-hero { border: 1px solid var(--story-line); border-radius: 14px; }
.news-detail-page .news-story-hero img { aspect-ratio: 16/9; max-height: none; }
.news-detail-page .news-story-hero #img-tag { padding: 10px 14px; font-size: .72rem; line-height: 1.6; text-align: left; background: var(--story-surface); }
.news-detail-page .news-story-body { width: 100%; min-width: 0; max-width: 70ch; padding: 28px 0 0; }
.news-detail-page .news-story-body .article-content { font-size: 1rem; line-height: 1.85; white-space: normal; }
.news-detail-page .news-story-body .rich-text-content { line-height: inherit; }
/* Keep prose inside its column without breaking ordinary Indonesian words. */
.news-detail-page .news-story-body :is(.article-content, .rich-text-content) {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}
.news-detail-page .news-story-body .rich-text-content,
.news-detail-page .news-story-body .rich-text-content * {
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    -webkit-hyphens: manual;
    hyphens: manual;
}
.news-detail-page .news-story-body .rich-text-content :is(p, li) {
    text-align: justify;
    text-align-last: start;
}
.news-detail-page .news-story-body .rich-text-content :is(a, code, pre) {
    overflow-wrap: anywhere;
}
.news-detail-page .news-story-body .rich-text-content pre {
    white-space: pre-wrap;
    max-width: 100%;
}
.news-detail-page .news-story-body :is(h2,h3) { letter-spacing: -.015em; }
.news-detail-page .news-story-source { align-items: flex-start; margin-top: 24px; padding: 16px; border-radius: 0 12px 12px 0; }
.news-detail-page .news-story-source > i { margin-top: 4px; }
.news-detail-page .news-story-source > div { min-width: 0; }
.news-detail-page .news-story-source span { margin-bottom: 6px; font-size: .75rem; }
.news-detail-page .news-story-source strong { line-height: 1.65; overflow-wrap: anywhere; }
.news-detail-page .news-story-source ul { margin: 0; padding-left: 18px; list-style: disc; font-size: .82rem; line-height: 1.8; }
.news-detail-page .news-story-source a { color: var(--story-accent); text-decoration: underline; text-underline-offset: 3px; }
.news-story-back { display: inline-flex; gap: 10px; align-items: center; margin-top: 28px; color: var(--story-accent); font-size: .85rem; font-weight: 700; text-decoration: none; }
.news-detail-page .news-story-sidebar { gap: 20px; padding-top: 0; border: 0; }
.news-detail-page .news-story-side-section { padding: 20px; border: 1px solid var(--story-line); border-radius: 16px; background: var(--story-surface); }
.news-detail-page .news-story-sidebar h2 { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--story-line); font-size: .95rem; text-transform: none; }
.news-detail-page .news-story-sidebar h2 span { padding: 0; color: var(--story-text); background: transparent; }
.news-detail-page .news-story-related { gap: 16px; }
.news-detail-page .news-story-related > a { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
.news-detail-page .news-story-related > a + a { padding-top: 16px; border-top: 1px solid var(--story-line); }
.news-detail-page .news-story-related img { width: 76px; height: 64px; border-radius: 9px; }
.news-detail-page .news-story-related strong { font-size: .8rem; line-height: 1.5; overflow-wrap: normal; }
.news-detail-page .news-story-related time { font-size: .7rem; line-height: 1.5; }
.news-detail-page .news-story-more { display: flex; justify-content: center; gap: 10px; margin-top: 18px; padding: 10px; border-radius: 9px; color: var(--story-accent) !important; }
.news-detail-page .news-story-side-categories a { gap: 12px; padding: 9px 0; line-height: 1.5; }
.news-detail-page .news-story-side-categories strong { flex-shrink: 0; }
.news-detail-page .news-story-section a:focus-visible { outline: 3px solid var(--story-accent); outline-offset: 4px; }
@media (max-width: 1050px) {
    .news-detail-page .news-story-panel { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .news-detail-page .news-story-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news-detail-page .news-story-side-section:last-child:nth-child(odd) { grid-column: 1/-1; }
}
@media (max-width: 600px) {
    .news-story-wrap { width: calc(100% - 24px); }
    .news-detail-page .news-story-section { padding: 18px 0 32px !important; }
    .news-detail-page .news-story-main { padding: 20px 16px; border-radius: 16px; }
    .news-detail-page .news-story-header h1 { font-size: clamp(1.6rem, 6.5vw, 2rem); }
    .news-detail-page .news-story-lead { font-size: .92rem; }
    .news-detail-page .news-story-byline > time { flex-basis: 100%; }
    .news-detail-page .news-story-meta { margin-top: -4px; }
    .news-detail-page .news-story-sidebar { grid-template-columns: 1fr; }
    .news-detail-page .news-story-body .article-content { font-size: .96rem; }
}
