:is(.single-post,.single-guides) .wp-site-blocks > main.cs-article { max-width: 1280px; margin-inline: auto; padding: 64px clamp(24px,4vw,56px) 80px; }
.cs-article-hero { max-width: 980px; margin: 0 0 52px; }
.cs-article-back { margin: 0 0 26px; font-size: 13px; }
.cs-article-back a { color: #a2a7b1; text-decoration: none; }
.cs-article-back a::before { content: '←'; margin-right: 10px; }
.cs-article-hero h1 { margin: 0 0 28px; color: #f5f5f7; font-size: clamp(36px,4.8vw,66px); line-height: 1.12; font-weight: 600; letter-spacing: -.045em; text-wrap: balance; }
.cs-article-hero .wp-block-post-excerpt { max-width: 740px; margin: 0 0 30px; color: #a8adb7; font-size: 19px; line-height: 1.7; }
.cs-article-hero .wp-block-post-excerpt__excerpt { margin: 0; }
.cs-article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; color: #808793; font-size: 12px; }
.cs-article-meta > span:first-child { color: #eceef2; font-weight: 600; }
.cs-article-cover { margin: 0 0 54px; }
.cs-article-cover img { display: block; width: 100%; max-height: 580px; object-fit: cover; border-radius: 14px; }
.cs-article-layout { display: grid; grid-template-columns: minmax(0,740px) minmax(200px,1fr); gap: clamp(40px,6vw,90px); align-items: start; }
.cs-article-body { min-width: 0; font-size: 17px; line-height: 1.9; color: #b9bec7; overflow-wrap: break-word; }
.cs-article-body p { margin: 0 0 26px; }
.cs-article-body h2 { color: #f0f2f5; font-size: clamp(25px,2.8vw,34px); line-height: 1.25; letter-spacing: -.025em; font-weight: 600; margin: 56px 0 22px; scroll-margin-top: 130px; }
.cs-article-body h3 { color: #eceef2; font-size: 22px; line-height: 1.4; letter-spacing: -.015em; margin: 34px 0 16px; }
.cs-article-body strong { color: #eceef2; font-weight: 600; }
.cs-article-body a { color: #f0c36c; text-decoration-color: #f0c36c60; text-underline-offset: 4px; }
.cs-article-body :is(ul,ol) { padding-left: 24px; margin: 0 0 28px; }
.cs-article-body li { padding-left: 6px; margin: 10px 0; }
.cs-article-body li::marker { color: #ffa800; }
.cs-article-body img { max-width: 100%; height: auto; border-radius: 12px; }
.cs-article-body figure { margin: 32px 0; }
.cs-article-body :is(figcaption,caption) { color: #818894; font-size: 12px; line-height: 1.6; margin-top: 10px; }
.cs-article-body blockquote { margin: 30px 0; border-left: 2px solid #ffa800; padding: 8px 0 8px 24px; color: #d4d7dd; }
.cs-article-body code { color: #e9c982; background: #ffffff08; border-radius: 4px; padding: 2px 5px; font-size: .85em; }
.cs-article-body table { border-collapse: collapse; width: 100%; font-size: 14px; }
.cs-article-body :is(th,td) { text-align: left; border-bottom: 1px solid #ffffff18; padding: 12px; }
.cs-article-body iframe { max-width: 100%; aspect-ratio: 16/9; height: auto; }
.cs-article-body details { margin: 12px 0; padding: 20px 22px; border-radius: 10px; background: #191b1f; }
.cs-article-body summary { color: #eceef2; font-size: 15px; font-weight: 600; cursor: pointer; line-height: 1.6; }
.cs-article-body details p { font-size: 15px; margin: 16px 0 0; }
.cs-article-sidebar { position: sticky; top: 130px; }
.cs-article-toc { padding: 24px 0 24px 24px; border-left: 1px solid #ffffff16; }
.cs-article-toc h2 { margin: 0 0 18px; font-size: 13px; font-weight: 600; color: #eee; }
.cs-article-toc ul { margin: 0; padding: 0; list-style: none; }
.cs-article-toc li { margin-bottom: 14px; }
.cs-article-toc a { display: block; color: #858d9b; font-size: 12px; line-height: 1.6; text-decoration: none; }
.cs-article-toc a:hover { color: #ffa800; }
.cs-article-related { margin-top: 80px; padding-top: 48px; border-top: 1px solid #ffffff12; }
.cs-article-related > h2 { color: #f0f2f4; font-size: 30px; letter-spacing: -.03em; margin: 0 0 30px; }
.cs-article-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.cs-article-related-grid a { display: block; text-decoration: none; }
.cs-article-related-grid img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 10px; margin-bottom: 18px; }
.cs-article-related-grid time { font-size: 11px; color: #7d8593; }
.cs-article-related-grid h3 { color: #f0f2f5; font-size: 19px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; margin: 10px 0; }
.cs-article-related-grid p { color: #939ba8; font-size: 13px; line-height: 1.7; margin: 0; }
@media(max-width:800px) {
    :is(.single-post,.single-guides) .wp-site-blocks > main.cs-article { padding-top: 40px; }
    .cs-article-layout { display: flex; flex-direction: column-reverse; gap: 36px; }
    .cs-article-sidebar { position: static; width: 100%; }
    .cs-article-toc { border: 1px solid #ffffff14; border-radius: 10px; padding: 22px; }
    .cs-article-hero .wp-block-post-excerpt { font-size: 17px; }
    .cs-article-body { font-size: 16px; }
    .cs-article-related-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Compact editorial rail; keep the article's reading width. */
@media(min-width:801px) {
    .cs-article-layout { grid-template-columns: minmax(0,740px) minmax(210px,260px); gap: clamp(32px,4vw,60px); }
    .cs-article-sidebar { grid-column: 2; grid-row: 1; max-height: calc(100dvh - 150px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #34373d transparent; padding-right: 10px; }
    .cs-article-body { grid-column: 1; grid-row: 1; }
}
.cs-article-toc { padding: 0; border: 0; text-align: left; }
.cs-article-toc li { margin-bottom: 10px; }
.cs-article-products { margin-top: 28px; padding-top: 24px; border-top: 1px solid #ffffff16; text-align: left; }
.cs-article-products h2 { margin: 0 0 18px; font-size: 13px; line-height: 1.5; font-weight: 600; }
.cs-article-product { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 12px; align-items: start; padding: 14px 0; text-decoration: none; }
.cs-article-product + .cs-article-product { border-top: 1px solid #ffffff0d; }
.cs-article-product img { width: 58px; height: 58px; object-fit: cover; border-radius: 8px; }
.cs-article-product strong { display: block; color: #f3f3f5; font-size: 12px; font-weight: 500; line-height: 1.5; }
.cs-article-product-price { display: block; font-size: 12px; margin-top: 4px; color: #e8e9ec; }
.cs-article-product-price del { color: #7d8591; margin-right: 4px; }
.cs-article-product-price ins { text-decoration: none; }
.cs-article-product-link { display: block; color: #ffa800; font-size: 11px; margin-top: 6px; }
.cs-article-body .cs-article-video { display: block; width: 100%; border: 0; border-radius: 12px; background: #000; }
.cs-article-body details summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; }
.cs-article-body details summary::-webkit-details-marker { display: none; }
.cs-article-body details summary::marker { content: ''; }
.cs-article-body details summary::after { content: ''; flex: 0 0 18px; width: 18px; height: 18px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform 180ms ease; }
.cs-article-body details[open] summary::after { transform: rotate(180deg); }
.cs-article-body details > div { font-size: 15px; line-height: 1.8; margin-top: 16px; }
.cs-article-tags { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; }
.cs-article-tags .wp-block-post-terms__separator { display: none; }
.cs-article-tags a { display: inline-block; padding: 6px 12px; border: 1px solid #ffffff20; border-radius: 5px; color: #b9bec7; text-decoration: none; }
.cs-article-tags a:hover { border-color: #ffa800; color: #ffa800; }
@media(max-width:800px) {
    .cs-article-layout { flex-direction: column; }
    .cs-article-sidebar { order: 2; }
    .cs-article-body { width: 100%; }
    .cs-article-toc { padding: 22px; }
    .cs-article-products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
    .cs-article-products h2 { grid-column: 1/-1; }
}
@media(max-width:440px) { .cs-article-products { grid-template-columns: 1fr; } }
@media(prefers-reduced-motion:reduce) { .cs-article-body details summary::after { transition: none; } }
.cs-article-related-grid img { aspect-ratio: 2/1; max-height: 160px; height: auto; object-fit: cover; }
.cs-article-related-grid { align-items: stretch; }
.cs-article-related-grid article { height: 100%; }
.cs-article-related-grid article > a { display: flex; flex-direction: column; height: 100%; }
.cs-article-related-grid img { height: 150px; flex-shrink: 0; }
.cs-article-related-grid h3 { min-height: 3.9em; }
.cs-article-related-grid p { margin-top: auto; }

.cs-article-image-placeholder { display: block; width: 100%; height: 150px; flex-shrink: 0; border-radius: 10px; background: rgba(255,255,255,.035); margin-bottom: 18px; }
.cs-article-body .wca-yt-embed iframe { width: 100%; border: 0; border-radius: 12px; }
.cs-guides-archive { padding: 60px clamp(24px,4vw,56px) 90px; max-width: 1280px; margin-inline: auto; }
.cs-guides-archive h1 { font-size: clamp(40px,5vw,64px); }
.cs-guides-archive .wp-block-post-template { gap: 36px; padding-top: 32px; }
.cs-guides-archive .wp-block-post-template > li { padding: 24px; background: #ffffff04; border-radius: 12px; }
.cs-guides-archive h2 { font-size: 24px; line-height: 1.35; }
.cs-guides-archive h2 a { text-decoration: none; }
.cs-guides-archive .wp-block-post-excerpt { font-size: 15px; line-height: 1.8; color: #a8adb7; }
@media(max-width:700px) { .cs-guides-archive .wp-block-post-template { grid-template-columns: 1fr; } }

.cs-article-author { display:inline-flex; align-items:center; gap:10px; }
.cs-article-author .cs-author-avatar { display:block; width:40px; height:40px; border-radius:50%; object-fit:cover; flex-shrink:0; }
