/* BLOG-002: separate feed, guest discussion and desktop-only photo bounds. */
@media(min-width:761px){
 .ds-journal--article .ds-journal-photo>a{display:flex;justify-content:center}
 .ds-journal--article .ds-journal-photo img{width:auto;height:auto;max-width:100%;max-height:min(720px,calc(100dvh - 180px));object-fit:contain}
}
.ds-updates-layout{display:grid;grid-template-columns:160px minmax(0,660px) 220px;align-items:start;gap:28px;max-width:1120px;margin:0 auto}
.ds-journal--updates,.ds-journal--updates :is(h1,h2,h3,p,a,span,button,label,input,textarea,summary){font-family:Arial,Helvetica,sans-serif}
.ds-updates-main{min-width:0}
.ds-updates-sidebar,.ds-updates-about{position:sticky;top:28px}
.ds-updates-sidebar nav{display:flex;flex-direction:column;gap:8px}
.ds-updates-sidebar nav a{display:flex;align-items:center;min-height:44px;padding:10px 14px;border-radius:6px;font-size:17px;font-weight:700}
.ds-updates-sidebar nav .is-active{background:#2c2c2c;color:#fff}
.ds-updates-sidebar>p{margin:28px 14px 0;font-weight:700;font-size:14px;line-height:22px}
.ds-updates-sidebar>p span{color:#999;font-size:12px;font-weight:400}
.ds-updates-intro{margin-bottom:24px}
.ds-updates-intro .ds-journal-kicker{margin:0 0 6px;color:#999;font-size:13px}
.ds-updates-intro h1{margin:0 0 10px;font-size:34px;line-height:1.2}
.ds-updates-intro>p:last-child{margin:0;color:#aaa;font-size:16px}
.ds-updates-tabs{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:16px;border-bottom:1px solid #333}
.ds-updates-tabs a{display:inline-flex;align-items:center;min-height:42px;padding:8px 17px;border:1px solid #444;border-radius:22px;font-size:15px;color:#ccc}
.ds-updates-tabs a[aria-current=page]{background:#eee;border-color:#eee;color:#171717;font-weight:700}
.ds-updates-tabs a:hover{border-color:#888}
.ds-updates-toolbar{display:flex;justify-content:space-between;gap:12px;margin:18px 0;color:#999;font-size:13px}
.ds-updates-feed{display:flex;flex-direction:column;gap:28px}
.ds-update{min-width:0;overflow:hidden;border-radius:7px;background:#222;border:1px solid #303030}
.ds-update-author{display:flex;align-items:center;gap:12px;padding:20px 22px}
.ds-update-avatar{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#cc0033;color:#fff;font:bold 14px/1 sans-serif}
.ds-update-author>div{min-width:0}
.ds-update-author-name{display:block;font-size:16px;font-weight:700;line-height:21px}
.ds-update-author .ds-journal-meta{gap:3px 10px;font-size:12px;line-height:18px;color:#999}
.ds-update-author .ds-journal-order-date{display:none}
.ds-update-kind{margin-left:auto;color:#aaa;font-size:12px;white-space:nowrap}
.ds-update-cover{display:block;overflow:hidden;background:#191919}
.ds-update-cover img{display:block;width:100%;height:auto;aspect-ratio:16/9;max-height:none;object-fit:cover;object-position:50% var(--ds-cover-y,50%)}
.ds-update-cover--portrait img{object-fit:cover}
.ds-update-copy{padding:22px 22px 0}
.ds-update-copy h2{margin:0 0 14px;color:#eee;font-size:27px;line-height:1.25;font-weight:700;letter-spacing:normal;text-transform:none;overflow-wrap:anywhere}
.ds-update-excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;max-height:78px;margin:0 0 10px;font-size:17px;line-height:26px;color:#ddd}
.ds-update-read{display:inline-flex;align-items:center;min-height:44px;font-weight:700;font-size:15px;color:#ddd!important}
.ds-updates-about{padding:20px;background:#222;border:1px solid #333;border-radius:7px;font-size:14px;line-height:22px}
.ds-updates-about h2{margin:0 0 12px;color:#eee;font-size:17px;line-height:23px;font-weight:700;text-transform:none}
.ds-updates-about p{margin:0 0 14px;color:#aaa;font-size:14px;line-height:22px}
.ds-updates-about a{display:inline-flex;min-height:44px;align-items:center;color:#ddd;text-decoration:underline;text-underline-offset:4px}
.ds-updates-about hr{height:1px;margin:18px 0;border:0;background:#444}
.ds-updates-about button{width:100%;min-height:44px;padding:10px;border:0;border-radius:6px;background:#cc0033;color:#fff;font:700 14px/20px sans-serif;cursor:pointer}
.ds-comments{padding:26px 20px;border-top:1px solid #383838;background:#252525;font-size:15px;line-height:23px}
.ds-comments--compact{margin:16px 22px 22px;padding:18px;border:0;border-radius:6px;background:#383838}
.ds-comments [hidden]{display:none!important}
.ds-comments-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.ds-comments-heading h2{margin:0;font-size:16px;line-height:24px;font-weight:700;text-transform:none;color:#eee}
.ds-comments-heading h2 span{margin-left:5px;color:#aaa;font-weight:400}
.ds-comments-list:empty{display:none}
.ds-comment{display:flex;gap:10px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #ffffff12}
.ds-comment-avatar{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;margin-top:1px;border-radius:50%;background:#626262;color:#fff;font-size:13px;text-transform:uppercase}
.ds-comment>div{min-width:0;flex:1}
.ds-comment-name{color:#eee;font-size:14px;font-weight:700}
.ds-comment-kind{display:inline-block;margin-left:8px;color:#aaa;font-size:11px;font-weight:400}
.ds-comment p{margin:2px 0 0;font-size:15px;line-height:23px;color:#ddd;white-space:pre-wrap;overflow-wrap:anywhere}
.ds-comment time{display:block;margin-top:5px;color:#aaa;font-size:11px}
.ds-comments--compact .ds-comments-compose:not([open])~.ds-comments-status:empty{display:none}
.ds-comments-compose{margin-top:12px}
.ds-comments-compose summary{display:flex;align-items:center;min-height:46px;cursor:pointer;list-style:none;color:#ddd;font-size:15px;font-weight:400;text-decoration:underline;text-underline-offset:4px}
.ds-comments-compose summary::-webkit-details-marker{display:none}
.ds-comments-compose summary:focus-visible{outline:3px solid #bd5363;outline-offset:3px}
.ds-comments-compose[open] summary{margin-bottom:10px}
.ds-comment-fields{display:flex;flex-direction:column;gap:8px}
.ds-comment-fields label{margin:8px 0 0;color:#eee;font-size:14px}
.ds-comment-fields :where(input,textarea){display:block;width:100%;max-width:100%;margin:0;padding:12px;border:1px solid #626262;border-radius:6px;background:#222;color:#eee;resize:vertical;font:400 16px/24px sans-serif;box-shadow:none}
.ds-comment-fields input{min-height:46px}
.ds-comment-fields textarea{min-height:102px}
.ds-comment-fields textarea::placeholder{color:#aaa}
.ds-comment-public-note{margin:12px 0 8px;color:#aaa;font-size:13px;line-height:20px}
.ds-comment-consent{display:flex;align-items:flex-start;gap:9px;margin:0 0 16px;font-size:13px;line-height:20px;color:#bbb}
.ds-comment-consent input{appearance:auto!important;display:block!important;flex:0 0 18px;width:18px;height:18px;margin:2px 0 0;accent-color:#cc0033;cursor:pointer}
.ds-comment-consent a{color:#ddd;text-decoration:underline;text-underline-offset:3px}
.ds-comments button{font-family:inherit;cursor:pointer}
.ds-comments form button[type=submit]{display:inline-flex;align-items:center;justify-content:center;min-height:46px;margin:0;padding:11px 20px;border:0;border-radius:6px;background:#cc0033;color:#fff;font-size:15px;font-weight:700}
.ds-comments form button:disabled{opacity:.6;cursor:wait}
.ds-comments-refresh,.ds-comments-more{min-height:40px;padding:7px 10px;border:1px solid #666;border-radius:5px;background:transparent;color:#ddd;font-size:12px}
.ds-comments-more{margin-top:12px}
.ds-comments-status{margin:12px 0 0;color:#ddd;font-size:14px;line-height:21px}
.ds-comments-status:empty{display:none}
.ds-comments-status.is-error{color:#ffb5b5}
.ds-comment-honeypot{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden;pointer-events:none}
@media(max-width:1200px){.ds-updates-layout{grid-template-columns:160px minmax(0,660px);max-width:850px}.ds-updates-about{display:none}}
@media(max-width:960px){.ds-updates-layout{display:block;max-width:660px}.ds-updates-sidebar{display:none}}
@media(max-width:760px){
 .ds-journal--updates{padding:24px 10px 40px}
 .ds-updates-intro,.ds-updates-tabs,.ds-updates-toolbar{margin-left:8px;margin-right:8px}
 .ds-updates-intro h1{font-size:30px}
 .ds-updates-intro>p:last-child{font-size:15px;line-height:23px}
 .ds-updates-tabs{gap:6px;padding-bottom:14px}
 .ds-updates-tabs a{font-size:14px;min-height:42px;padding:8px 14px}
 .ds-updates-feed{gap:22px}
 .ds-update-author{gap:10px;padding:17px 16px}
 .ds-update-author .ds-journal-meta{font-size:11px;gap:2px 6px}
 .ds-update-kind{font-size:11px}
 .ds-update-copy{padding:19px 17px 0}
 .ds-update-copy h2{font-size:23px;line-height:29px}
 .ds-update-excerpt{font-size:16px;line-height:25px;max-height:75px}
 .ds-comments{padding:22px 18px}
 .ds-comments--compact{margin:14px 16px 18px;padding:15px}
 .ds-comments form button[type=submit]{width:100%;padding:11px 12px;font-size:14px}
 .ds-comments-heading h2{font-size:15px}
}
.ds-related-carousel .ds-related-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.ds-related-carousel .ds-related-heading h2{margin:0}
.ds-related-carousel .ds-related-controls{display:flex;gap:8px}
.ds-related-carousel .ds-related-controls[hidden]{display:none}
.ds-related-controls button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #666;border-radius:50%;background:transparent;color:#eee;font:400 30px/1 Arial,sans-serif;cursor:pointer}
.ds-related-controls button:disabled{opacity:.3;cursor:default}
.ds-related-carousel ul.ds-related-track{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 32px)/3);gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding:0;padding:0 0 10px;scrollbar-width:thin;scrollbar-color:#666 #222}
.ds-related-track>li{min-width:0;scroll-snap-align:start}
.ds-related-carousel.ds-journal-next a.ds-related-card{display:flex;flex-direction:column;justify-content:flex-start;gap:0;height:100%;min-height:44px;overflow:hidden;border:1px solid #444;border-radius:7px;background:#292929;color:#eee;text-decoration:none;text-align:left}
.ds-related-cover{display:block;overflow:hidden;background:radial-gradient(ellipse at center,#393939,#202020 80%)}
.ds-related-cover img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% var(--ds-cover-y,50%);padding:0;box-sizing:border-box}
.ds-related-cover--portrait img{object-fit:cover}
.ds-related-title{display:block;padding:13px;font:700 16px/23px Arial,Helvetica,sans-serif;overflow-wrap:anywhere}
.ds-journal--feed .ds-section-nav{margin:20px 0 28px}
.ds-journal--article .ds-section-nav{margin:0 0 24px}
.ds-journal--article .ds-section-nav a{font-size:14px}
.ds-related-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;padding-top:16px;border-top:1px solid #444}
.ds-related-carousel.ds-journal-next .ds-related-actions>a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;line-height:21px;color:#ddd;text-decoration:underline;text-underline-offset:4px}
.ds-related-carousel.ds-journal-next .ds-related-actions>.ds-related-inquiry{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border:0;border-radius:6px;background:#cc0033;color:#fff;text-align:center;text-decoration:none;font:700 14px/21px Arial,Helvetica,sans-serif;cursor:pointer}
.ds-related-inquiry:focus-visible{outline:3px solid #bd5363;outline-offset:3px}
.ds-related-card:hover .ds-related-title{text-decoration:underline;text-underline-offset:3px}
.ds-related-track:focus-visible,.ds-related-card:focus-visible,.ds-related-controls button:focus-visible{outline:3px solid #bd5363;outline-offset:3px}
@media(max-width:960px) and (min-width:761px){.ds-related-carousel ul.ds-related-track{grid-auto-columns:calc((100% - 16px)/2)}}
@media(max-width:760px){
 .ds-related-carousel ul.ds-related-track{grid-auto-columns:86%;gap:12px}
 .ds-related-carousel .ds-related-controls{display:none}
 .ds-related-title{font-size:15px;line-height:22px}
 .ds-journal--feed .ds-section-nav,.ds-journal--article .ds-section-nav{margin-left:0;margin-right:0}
 .ds-section-nav{gap:6px}
 .ds-section-nav a{padding:8px 12px;font-size:14px}
 .ds-related-actions{align-items:stretch;flex-direction:column;gap:8px;margin-top:14px;padding-top:12px}
 .ds-related-actions>.ds-related-inquiry{width:100%}
}

/* BLOG-005: compact reactions, chronological post links, discussion after recommendations. */
.ds-journal--feed .ds-journal-card-cover img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:4/3;object-fit:cover;object-position:50% var(--ds-cover-y,50%)}
.ds-related-title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:95px;box-sizing:border-box}
.ds-post-actions{padding:20px 22px;border-top:1px solid #ffffff0d;margin-top:18px}
.ds-journal-entry>.ds-post-actions{padding:16px 20px;margin-top:0}
.ds-post-action-row{display:flex;align-items:center;gap:24px}
.ds-post-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:48px;min-height:44px;padding:6px 4px;border:0;background:transparent;color:#aaa!important;font:400 15px/22px Arial,Helvetica,sans-serif;text-decoration:none!important;cursor:pointer}
.ds-post-action svg{flex:0 0 24px}
.ds-post-action[aria-pressed=true]{color:#ec365d!important}
.ds-post-action:disabled{opacity:.6;cursor:wait}
.ds-post-action[hidden],.ds-like-fallback[hidden]{display:none!important}
.ds-like-fallback{cursor:default}
.ds-post-action:hover{color:#eee!important}
.ds-post-action:focus-visible,.ds-post-navigation a:focus-visible{outline:3px solid #bd5363;outline-offset:3px}
.ds-reaction-status{margin:0;color:#ffb5b5;font-size:13px;line-height:20px}
.ds-reaction-status:empty{display:none}
.ds-post-navigation{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1px;margin:18px 0 24px;border:1px solid #383838;border-radius:7px;background:#383838;overflow:hidden}
.ds-post-navigation>a,.ds-post-navigation>.ds-post-nav-empty{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:100px;padding:18px 20px;background:#222;color:#ddd;text-decoration:none}
.ds-post-navigation>:last-child{text-align:right}
.ds-post-navigation a:hover{background:#2b2b2b}
.ds-post-nav-label{color:#aaa;font-size:13px;line-height:20px}
.ds-post-nav-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font:700 15px/22px Arial,Helvetica,sans-serif;overflow-wrap:anywhere}
.ds-post-nav-empty{opacity:.35}
.ds-journal--article .ds-comments{margin-top:24px;border:1px solid #383838;border-radius:7px;scroll-margin-top:18px}
.ds-comments-heading{flex-wrap:wrap;gap:10px 14px;margin-bottom:18px}
.ds-comments-heading h2{font-size:19px}
.ds-comments-sort{display:flex;gap:2px;margin-left:auto;border-radius:20px;background:#383838;padding:3px}
.ds-comments-sort button{min-height:36px;padding:6px 11px;border:0;border-radius:18px;background:transparent;color:#bbb;font:700 12px/18px Arial,Helvetica,sans-serif}
.ds-comments-sort button[aria-pressed=true]{background:#eee;color:#222}
.ds-comments-sort button:focus-visible{outline:3px solid #bd5363;outline-offset:2px}
.ds-comments-sort button:disabled{cursor:wait}
.ds-comments-refresh{min-height:36px;border-color:#555}
.ds-comments-compose{margin:0 0 20px}
.ds-comments-compose summary{min-height:60px;padding:12px 16px;border:1px solid #555;border-radius:6px;background:#222;color:#aaa;text-decoration:none}
.ds-comments-compose summary:before{content:'Г';display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;margin-right:12px;border-radius:50%;background:#505050;color:#ddd;font:400 15px/1 Arial}
.ds-comment{gap:12px;padding:18px 0}
.ds-comment-avatar{flex-basis:36px;width:36px;height:36px;font-size:16px}
.ds-comment p{font-size:16px;line-height:25px;margin-top:5px}
.ds-comment-name{font-size:15px}
.ds-comment time{margin-top:8px}
@media(max-width:760px){
 .ds-post-actions{padding:13px 17px;margin-top:12px}
 .ds-post-action-row{gap:20px}
 .ds-post-navigation>a,.ds-post-navigation>.ds-post-nav-empty{padding:14px 12px;min-height:110px}
 .ds-post-nav-title{font-size:13px;line-height:19px;-webkit-line-clamp:3}
 .ds-post-nav-label{font-size:11px;line-height:17px}
 .ds-related-title{min-height:92px}
 .ds-comments-heading h2{font-size:18px}
 .ds-comments-sort{margin-left:0}
 .ds-comments-sort button{font-size:11px;padding:6px 9px}
 .ds-comments-refresh{font-size:11px}
}
