/* A timeline layout using the blog's shared visual identity and content. */
html[data-layout-mode="social"] .publication { --sidebar-width: 294px; }
html[data-layout-mode="social"] .site-shell { display: grid; grid-template-columns: 218px minmax(0, 1fr); width: min(1280px, 100%); margin-inline: auto; }
html[data-layout-mode="social"] .site-shell > .header-bar { grid-column: 2; grid-row: 1; border-inline: 1px solid var(--line); }
html[data-layout-mode="social"] .header-bar-inner { width: 100%; padding-inline: 18px; gap: 12px; }
html[data-layout-mode="social"] .site-header { grid-column: 1; grid-row: 1 / 4; position: sticky; top: 0; align-self: start; height: 100dvh; overflow-y: auto; border: 0; border-right: 1px solid var(--line); background: var(--paper); }
html[data-layout-mode="social"] .masthead { width: 100%; min-height: 100%; padding: 27px 16px; display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; gap: 27px; }
html[data-layout-mode="social"] .brand { align-self: flex-start; }
html[data-layout-mode="social"] .brand-wordmark { width: auto; --brand-name-size: 24px; --brand-name-gap: 4px; }
html[data-layout-mode="social"] .main-navigation,
html[data-layout-mode="social"] .main-navigation.is-open { display: flex; position: static; flex: 0 0 auto; flex-basis: auto; order: 0; flex-direction: column; align-self: stretch; align-items: stretch; justify-content: flex-start; gap: 3px; padding: 0; min-height: 0; max-height: none; overflow: visible; border: 0; background: transparent; box-shadow: none; }
html[data-layout-mode="social"] .main-navigation > .nav-link { display: flex; flex: none; justify-content: flex-start; align-self: stretch; height: auto; min-height: 42px; margin: 0; padding: 9px 14px; border: 0; font-size: 15px; line-height: 1.4; font-weight: 500; border-radius: var(--radius) !important; }
html[data-layout-mode="social"] .main-navigation > .nav-link::before,
html[data-layout-mode="social"] .main-navigation > .nav-link::after { content: none; }
html[data-layout-mode="social"] .main-navigation > .nav-link:hover,
html[data-layout-mode="social"] .main-navigation > .nav-link.is-current { background: var(--accent-soft); color: var(--accent); }
html[data-layout-mode="social"] .main-navigation > .nav-link.is-current { font-weight: 600; }
html[data-layout-mode="social"] .header-actions { margin: 0; gap: 8px; flex-wrap: wrap; justify-content: flex-start; }
html[data-layout-mode="social"] .header-actions .icon-button { border-radius: var(--radius) !important; }
html[data-layout-mode="social"] .menu-toggle { display: none; }
html[data-layout-mode="social"] .site-shell > main { grid-column: 2; grid-row: 2; min-width: 0; border-right: 1px solid var(--line); }
html[data-layout-mode="social"] main > .site-container { display: flex; flex-direction: column; width: 100%; max-width: none; padding: 0; }
html[data-layout-mode="social"] .latest-strip { order: 0; min-height: 48px; padding: 10px 20px; margin: 0; gap: 12px; }
html[data-layout-mode="social"] .latest-label { font-size: 9px; color: var(--accent); }
html[data-layout-mode="social"] .latest-link { font-size: 11px; }
html[data-layout-mode="social"] .latest-date { font-size: 10px; }
html[data-layout-mode="social"] .category-tabs { order: 1; margin: 0; padding: 16px 20px; border-bottom: 1px solid var(--line); gap: 6px; }
html[data-layout-mode="social"] .category-tabs .pill { padding: 7px 11px; border: 0; border-radius: var(--radius) !important; font-size: 11px; color: var(--muted); }
html[data-layout-mode="social"] .category-tabs .pill:hover { color: var(--accent); background: var(--accent-soft); }
html[data-layout-mode="social"] .category-tabs .pill.is-active { color: var(--accent); background: var(--accent-soft); }
html[data-layout-mode="social"] .content-layout { order: 2; display: grid; grid-template-columns: minmax(0, 1fr) var(--sidebar-width); gap: 0; margin: 0; padding: 0; align-items: start; }
html[data-layout-mode="social"] .content-main { min-width: 0; border-right: 1px solid var(--line); }
html[data-layout-mode="social"] .writing-section { padding: 0; }
html[data-layout-mode="social"] .section-heading { margin: 0; padding: var(--space-content) 20px; border-bottom: 1px solid var(--line); gap: 12px; }
html[data-layout-mode="social"] .section-heading h2 { font-size: 20px; line-height: 1.4; letter-spacing: -.4px; }
html[data-layout-mode="social"] .section-note { font-size: 8px; }
html[data-layout-mode="social"] .count-label { color: var(--muted); background: var(--surface-raised); }
html[data-layout-mode="social"] .post-grid,
html[data-layout-mode="social"] .topic-grid,
html[data-layout-mode="social"] .latest-layouts,
html[data-layout-mode="social"] .latest-layout,
html[data-layout-mode="social"] .latest-feature__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; min-width: 0; }
html[data-layout-mode="social"] .latest-layout + .latest-layout { padding: 0; border: 0; }
html[data-layout-mode="social"] .post-card { display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 20px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); }
html[data-layout-mode="social"] .post-card:hover { background: color-mix(in srgb, var(--surface-raised) 35%, var(--paper)); }
html[data-layout-mode="social"] .post-card .post-card-footer { display: contents; }
html[data-layout-mode="social"] .post-card .card-author { order: -3; display: flex; align-items: center; gap: 9px; margin-bottom: 6px; color: var(--ink); font-size: 13px; font-weight: 600; }
html[data-layout-mode="social"] .post-card .post-meta { order: -2; margin: 0 0 12px; font-size: 10px; line-height: 1.6; color: var(--muted); }
html[data-layout-mode="social"] .post-card h2 { margin: 0 0 10px; font-size: 18px; font-weight: 600; line-height: 1.45; letter-spacing: -.3px; }
html[data-layout-mode="social"] .post-card > p { margin: 0 0 15px; color: var(--ink); font-size: 13px; line-height: 1.8; }
html[data-layout-mode="social"] .post-card .post-cover { order: 2; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 13px; border: 1px solid var(--line); border-radius: var(--radius) !important; }
html[data-layout-mode="social"] .post-card .post-cover img { height: 100%; object-fit: cover; transform: none; }
html[data-layout-mode="social"] .post-card .read-link { order: 3; align-self: flex-end; color: var(--accent); font-size: 11px; }
html[data-layout-mode="social"] .latest-brief,
html[data-layout-mode="social"] .latest-feature__list .latest-brief { display: flex; flex-direction: column-reverse; gap: 14px; margin: 0; padding: 20px; border: 0; border-bottom: 1px solid var(--line); background: var(--surface); }
html[data-layout-mode="social"] .latest-brief__cover { position: relative; align-self: stretch; min-height: 0; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--radius) !important; }
html[data-layout-mode="social"] .latest-brief__cover > img { position: static; width: 100%; height: 100%; object-fit: cover; transform: none; filter: none; }
html[data-layout-mode="social"] .latest-brief h3,
html[data-layout-mode="social"] .latest-feature__list .latest-brief h3 { margin: 0 0 14px; font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: -.25px; }
html[data-layout-mode="social"] .latest-brief .post-meta { margin-bottom: 11px; font-size: 10px; }
html[data-layout-mode="social"] .latest-brief__footer { color: var(--muted); font-size: 10px; }
html[data-layout-mode="social"] .latest-brief__footer .read-link { color: var(--accent); font-size: 11px; }
html[data-layout-mode="social"] .cover-story,
html[data-layout-mode="social"] .latest-feature__lead > .cover-story { min-height: 0; height: auto; background: var(--surface); border: 0; border-bottom: 1px solid var(--line); border-radius: 0 !important; }
html[data-layout-mode="social"] .cover-story-link { position: relative; display: flex; flex-direction: column-reverse; gap: 15px; padding: 20px; min-height: 0; height: auto; color: var(--ink); }
html[data-layout-mode="social"] .cover-story-link::after { content: none; }
html[data-layout-mode="social"] .cover-story-image { position: static; inset: auto; z-index: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; filter: none; transform: none; border: 1px solid var(--line); border-radius: var(--radius) !important; }
html[data-layout-mode="social"] .cover-story-content,
html[data-layout-mode="social"] .cover-story-small .cover-story-content,
html[data-layout-mode="social"] .latest-feature__lead .cover-story-content { position: static; padding: 0; color: var(--ink); }
html[data-layout-mode="social"] .cover-story h2,
html[data-layout-mode="social"] .cover-story-small h2,
html[data-layout-mode="social"] .latest-feature__lead .cover-story h2 { max-width: none; font-size: 18px; line-height: 1.5; letter-spacing: -.3px; font-weight: 600; }
html[data-layout-mode="social"] .story-category { padding: 0; margin-bottom: 10px; color: var(--accent); background: transparent; font-size: 11px; font-weight: 500; letter-spacing: 0; text-transform: none; }
html[data-layout-mode="social"] .story-excerpt { display: block; max-width: none; margin-top: 12px; overflow: visible; color: var(--ink); font-size: 13px; line-height: 1.8; }
html[data-layout-mode="social"] .story-meta { margin-top: 12px; color: var(--muted); font-size: 10px; }
html[data-layout-mode="social"] .cover-story-small .story-meta > :nth-child(n+2) { display: inline; }
html[data-layout-mode="social"] .hero-grid { order: 3; display: grid; grid-template-columns: minmax(0, 1fr) var(--sidebar-width); grid-template-rows: auto auto; gap: 0; min-height: 0; margin: 0; padding: 0; border-top: 1px solid var(--line); }
html[data-layout-mode="social"] .hero-grid > .cover-story-lead { grid-column: 1; grid-row: 1; border-right: 1px solid var(--line); }
html[data-layout-mode="social"] .hero-stack { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-right: 1px solid var(--line); }
html[data-layout-mode="social"] .hero-reading { grid-column: 2; grid-row: 1 / 3; align-self: start; margin: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius) !important; background: var(--surface); }
html[data-layout-mode="social"] .hero-reading > h2 { font-size: 21px; margin-bottom: 18px; }
html[data-layout-mode="social"] .reading-item { padding-block: 16px; }
html[data-layout-mode="social"] .reading-item h3 { font-size: 13px; line-height: 1.5; }
html[data-layout-mode="social"] .editorial-sidebar { position: sticky; top: 16px; display: grid; grid-template-columns: minmax(0,1fr); align-content: start; gap: 16px; margin: 0; padding: 16px; }
html[data-layout-mode="social"] .editorial-sidebar > * { grid-column: auto; }
html[data-layout-mode="social"] .sidebar-block { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius) !important; background: var(--surface); box-shadow: var(--card-shadow); }
html[data-layout-mode="social"] .sidebar-title { margin-bottom: 17px; font-size: 19px; line-height: 1.4; }
html[data-layout-mode="social"] .category-directory a { gap: 8px; font-size: 12px; }
html[data-layout-mode="social"] .category-count { color: var(--muted); background: transparent; }
html[data-layout-mode="social"] .trending-item { padding-block: 13px; border-color: var(--line); }
html[data-layout-mode="social"] .trending-link { font-size: 12px; line-height: 1.55; }
html[data-layout-mode="social"] .trending-rank { color: var(--subtle); }
html[data-layout-mode="social"] .editor-picks { order: 4; margin: 0; padding: 0; border-top: 1px solid var(--line); }
html[data-layout-mode="social"] .editor-picks__heading { margin: 0; padding: 20px; }
html[data-layout-mode="social"] .editor-picks__heading::before,
html[data-layout-mode="social"] .editor-picks__heading::after { content: none; }
html[data-layout-mode="social"] .editor-picks__heading h2 { font-size: 20px; text-align: left; }
html[data-layout-mode="social"] .editor-picks__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0; padding: 0; }
html[data-layout-mode="social"] .editor-picks__item { padding: 20px; border: 1px solid var(--line); }
html[data-layout-mode="social"] .editor-pick__cover { aspect-ratio: 16 / 9; box-shadow: none; border-radius: var(--radius) !important; }
html[data-layout-mode="social"] .editor-pick__category { color: var(--accent); background: var(--surface); }
html[data-layout-mode="social"] .editor-pick__text h3 { display: block; min-height: 0; overflow: visible; font-size: 15px; line-height: 1.5; }
html[data-layout-mode="social"] .editor-pick__number { color: var(--subtle); font-size: 26px; }
html[data-layout-mode="social"] .topic-sections { order: 5; padding: 0; }
html[data-layout-mode="social"] .topic-section { margin: 0; padding: 0; }
html[data-layout-mode="social"] .topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
html[data-layout-mode="social"] .topic-grid .post-card { border-right: 1px solid var(--line); }
html[data-layout-mode="social"] .pagination-wrap { margin: 0; padding: 22px 16px; }
html[data-layout-mode="social"] .pagination { flex-wrap: wrap; }
html[data-layout-mode="social"] .pagination a,
html[data-layout-mode="social"] .pagination > span { border-radius: var(--radius) !important; }
html[data-layout-mode="social"] .listing-header { order: 0; padding: var(--space-control) 20px var(--space-content); margin: 0; border-bottom: 1px solid var(--line); }
html[data-layout-mode="social"] .listing-header h1 { font-size: 28px; line-height: 1.35; margin-bottom: var(--space-control); }
html[data-layout-mode="social"] .listing-header > p { font-size: 13px; margin-bottom: 0; }
html[data-layout-mode="social"] .listing-toolbar { margin-bottom: var(--space-control); }
html[data-layout-mode="social"] .public-search { margin-top: 18px; }
html[data-layout-mode="social"] .public-search input { border-radius: var(--radius) !important; }
/* Topic profiles and search use the same timeline as the home feed. */
html[data-layout-mode="social"] .listing-header:not(.search-header) { padding-top: var(--space-control); background: var(--surface); }
html[data-layout-mode="social"] .listing-header:not(.search-header)::before { content: none; }
html[data-layout-mode="social"] .listing-header:not(.search-header) h1 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 27px; }
html[data-layout-mode="social"] .listing-header:not(.search-header) h1 .count-label { margin: 0; font-size: 11px; }
html[data-layout-mode="social"] .listing-header .listing-toolbar { align-items: center; gap: 12px; margin-bottom: var(--space-control); }
html[data-layout-mode="social"] .listing-header .back-link { margin: 0; font-size: 11px; }
html[data-layout-mode="social"] .search-header { background: var(--surface); }
html[data-layout-mode="social"] .search-header h1 { font-size: 25px; letter-spacing: -.5px; }
html[data-layout-mode="social"] .search-header .public-search { width: 100%; max-width: none; padding: 8px; border: 1px solid var(--line); background: var(--paper); }
html[data-layout-mode="social"] .search-header .public-search input { min-height: 38px; padding: 8px 10px; border: 0; background: transparent; box-shadow: none; }
html[data-layout-mode="social"] .search-header .public-search .button { min-height: 38px; padding: 8px 18px; }

/* A complete post view: real author, full text, media, date and sharing. */
html[data-layout-mode="social"] .article-page { width: 100%; max-width: none; min-width: 0; margin: 0; }
html[data-layout-mode="social"] .article-reading-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--sidebar-width); align-items: start; gap: 0; }
html[data-layout-mode="social"] .article-reading-main { display: flex; flex-direction: column; align-items: stretch; min-width: 0; padding-bottom: 12px; border-right: 1px solid var(--line); background: var(--surface); }
html[data-layout-mode="social"] .mode-reading-heading { display: flex; order: 0; align-items: center; gap: 26px; min-height: 60px; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 20px; font-weight: 600; }
html[data-layout-mode="social"] .mode-reading-heading .mode-reading-back { display: inline-flex; flex: none; align-items: center; justify-content: center; min-width: 28px; min-height: 28px; margin: 0; font-size: 0; }
html[data-layout-mode="social"] .mode-reading-heading .mode-reading-back > span { display: inline-flex; font-size: 18px; }
html[data-layout-mode="social"] .mode-reading-heading .mode-reading-back .fa-icon { width: 20px; height: 20px; }
html[data-layout-mode="social"] .mode-reading-heading .mode-label--social { display: inline; }
html[data-layout-mode="social"] .mode-reading-heading .mode-label--forum { display: none; }
html[data-layout-mode="social"] .article-message,
html[data-layout-mode="social"] .article-message-content,
html[data-layout-mode="social"] .article-content-with-share,
html[data-layout-mode="social"] .article-content-column,
html[data-layout-mode="social"] .article-main { display: contents; }
html[data-layout-mode="social"] .mode-author-panel { display: grid; order: 1; grid-template-columns: 42px minmax(0, 1fr); align-items: center; column-gap: 11px; row-gap: 0; margin: 0; padding: 20px 20px 12px; border: 0; background: transparent; text-align: left; }
html[data-layout-mode="social"] .mode-author-avatar { display: inline-flex; grid-column: 1; grid-row: 1 / 3; align-items: center; justify-content: center; width: 42px; height: 42px; margin: 0; background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; }
html[data-layout-mode="social"] .mode-author-name { grid-column: 2; align-self: end; margin: 0; color: var(--ink); font-size: 14px; line-height: 1.5; font-weight: 600; }
html[data-layout-mode="social"] .mode-author-role { grid-column: 2; align-self: start; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
html[data-layout-mode="social"] .mode-author-bio { display: none; }
html[data-layout-mode="social"] .mode-author-topics { display: flex; grid-column: 2; flex-wrap: wrap; gap: 6px 10px; margin: 6px 0 0; color: var(--accent); font-size: 11px; line-height: 1.6; }
html[data-layout-mode="social"] .mode-author-topics a:hover { text-decoration: underline; }
html[data-layout-mode="social"] .article-header { order: 2; width: 100%; max-width: none; margin: 0; padding: 4px 20px var(--space-content); border: 0; }
html[data-layout-mode="social"] .article-header .article-toolbar { display: none; }
html[data-layout-mode="social"] .article-header h1 { margin: 0 0 var(--space-control); font-size: clamp(21px, 2.1vw, 26px); font-weight: 600; letter-spacing: -.45px; line-height: 1.45; }
html[data-layout-mode="social"] .article-lead { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
html[data-layout-mode="social"] .article-main .article-body { order: 3; width: auto; max-width: none; margin: 0 20px var(--space-section); color: var(--ink); font-size: 15px; line-height: 1.85; }
html[data-layout-mode="social"] .article-body p { margin: 0 0 18px; }
html[data-layout-mode="social"] .article-body h2 { margin: 24px 0 12px; font-size: 21px; font-weight: 600; line-height: 1.45; letter-spacing: -.35px; }
html[data-layout-mode="social"] .article-body h3 { margin: 22px 0 10px; font-size: 18px; font-weight: 600; line-height: 1.5; letter-spacing: -.2px; }
html[data-layout-mode="social"] .article-body h4 { font-size: 16px; font-weight: 600; }
html[data-layout-mode="social"] .article-body blockquote { margin: 18px 0; padding: 12px 16px; font-size: 16px; line-height: 1.8; }
html[data-layout-mode="social"] .article-body pre { max-width: 100%; padding: 14px; }
html[data-layout-mode="social"] .article-body img { width: auto; max-width: 100%; height: auto; margin: 18px auto; }
html[data-layout-mode="social"] .article-reading-main .article-cover { order: 4; width: auto; max-width: none; margin: 0 20px 16px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius) !important; }
html[data-layout-mode="social"] .article-reading-main .article-cover img { width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; }
html[data-layout-mode="social"] .mode-message-toolbar { display: flex; order: 5; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 0 20px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.8; }
html[data-layout-mode="social"] .mode-message-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; color: var(--muted); font-size: 11px; }
html[data-layout-mode="social"] .mode-message-toolbar .mode-message-number { color: var(--subtle); }
html[data-layout-mode="social"] .article-share-rail,
html[data-layout-mode="social"] .article-share--top { display: none; }
html[data-layout-mode="social"] .article-main .article-share--bottom { display: flex; order: 6; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin: 0 20px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-inline: 0; background: transparent; }
html[data-layout-mode="social"] .article-share--bottom .article-share-heading { display: flex; flex: 1 1 120px; flex-direction: column; gap: 2px; margin: 0; font-size: 11px; }
html[data-layout-mode="social"] .article-share--bottom .article-share-actions { display: flex; flex: 0 1 auto; flex-wrap: wrap; justify-content: flex-start; width: auto; gap: 6px; }
html[data-layout-mode="social"] .article-share--bottom .article-share-action { flex: 0 0 36px; width: 36px; height: 36px; min-height: 36px; padding: 8px; background: transparent; }
html[data-layout-mode="social"] .article-main .article-footer { display: flex; order: 7; width: auto; max-width: none; flex-wrap: wrap; justify-content: flex-start; gap: 12px; margin: 0 20px; padding: 16px 0 8px; border: 0; color: var(--muted); font-size: 11px; }
html[data-layout-mode="social"] .article-footer .author-line { display: none; }
html[data-layout-mode="social"] .article-reading-layout > .article-sidebar { position: sticky; top: 16px; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 16px; margin: 0; padding: 16px; }
html[data-layout-mode="social"] .author-avatar { border-radius: var(--radius) !important; background: var(--accent-soft); color: var(--accent); }
html[data-layout-mode="social"] .related-section { order: 3; width: calc(100% - var(--sidebar-width)); margin: 0; padding: 0; border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
html[data-layout-mode="social"] .related-section .topic-grid { grid-template-columns: minmax(0, 1fr); }
html[data-layout-mode="social"] .static-page .article-reading-main { min-height: 420px; }
html[data-layout-mode="social"] .site-footer { grid-column: 2; grid-row: 3; margin: 0; padding: 24px 20px; background: var(--paper); border: 1px solid var(--line); }
html[data-layout-mode="social"] .footer-grid { width: 100%; grid-template-columns: minmax(0,1fr); gap: 18px; }
html[data-layout-mode="social"] .footer-brand .brand-wordmark { --brand-name-size: 21px; }
html[data-layout-mode="social"] .footer-about p,
html[data-layout-mode="social"] .footer-meta { font-size: 11px; }
html[data-layout-mode="social"] .empty-public { margin: 16px; padding: 40px 20px; }
@media (max-width: 1100px) {
    html[data-layout-mode="social"] .site-shell { grid-template-columns: 190px minmax(0,1fr); }
    html[data-layout-mode="social"] .brand-wordmark { --brand-name-size: 22px; }
    html[data-layout-mode="social"] .masthead { padding-inline: 12px; }
    html[data-layout-mode="social"] .main-navigation > .nav-link { font-size: 14px; }
    html[data-layout-mode="social"] .content-layout,
    html[data-layout-mode="social"] .article-reading-layout { grid-template-columns: minmax(0,1fr); }
    html[data-layout-mode="social"] .article-reading-main { border-right: 0; }
    html[data-layout-mode="social"] .article-reading-layout > .article-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html[data-layout-mode="social"] .related-section { width: 100%; border-right: 0; }
    html[data-layout-mode="social"] .content-main { border-right: 0; }
    html[data-layout-mode="social"] .editorial-sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }
    html[data-layout-mode="social"] .hero-grid { grid-template-columns: minmax(0,1fr); }
    html[data-layout-mode="social"] .hero-reading { grid-column: 1; grid-row: 3; margin: 16px; }
    html[data-layout-mode="social"] .hero-stack,
    html[data-layout-mode="social"] .hero-grid > .cover-story-lead { border-right: 0; }
}
@media (max-width: 700px) {
    html[data-layout-mode="social"] .site-shell { display: block; width: 100%; }
    html[data-layout-mode="social"] .site-header { position: sticky; height: auto; overflow: visible; border-right: 0; border-bottom: 1px solid var(--line); }
    html[data-layout-mode="social"] .masthead { min-height: 0; padding: 14px 14px 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; }
    html[data-layout-mode="social"] .brand-wordmark { --brand-name-size: 23px; }
    html[data-layout-mode="social"] .header-actions { margin-left: auto; flex-wrap: nowrap; }
    html[data-layout-mode="social"] .main-navigation,
    html[data-layout-mode="social"] .main-navigation.is-open { order: 3; flex-basis: 100%; flex-direction: row; align-items: center; align-self: stretch; gap: 4px; margin: 0; padding: 8px 0; overflow-x: auto; scrollbar-width: thin; }
    html[data-layout-mode="social"] .main-navigation > .nav-link { min-height: 36px; padding: 8px 12px; align-self: auto; font-size: 12px; }
    html[data-layout-mode="social"] .header-bar-inner { padding-inline: 14px; }
    html[data-layout-mode="social"] .header-bar-shortcuts { flex-shrink: 0; }
    html[data-layout-mode="social"] .header-latest { min-width: 0; }
    html[data-layout-mode="social"] .latest-strip { padding-inline: 14px; }
    html[data-layout-mode="social"] .latest-link { min-width: 0; }
    html[data-layout-mode="social"] .category-tabs { padding: 12px 14px; }
    html[data-layout-mode="social"] .section-heading { padding: var(--space-content) 14px; }
    html[data-layout-mode="social"] .post-card,
    html[data-layout-mode="social"] .latest-brief,
    html[data-layout-mode="social"] .latest-feature__list .latest-brief,
    html[data-layout-mode="social"] .cover-story-link { padding: 18px 14px; }
    html[data-layout-mode="social"] .post-card h2 { font-size: 17px; }
    html[data-layout-mode="social"] .editorial-sidebar { grid-template-columns: minmax(0,1fr); padding: 14px; }
    html[data-layout-mode="social"] .hero-reading { margin: 14px; }
    html[data-layout-mode="social"] .editor-picks__grid,
    html[data-layout-mode="social"] .topic-grid { grid-template-columns: minmax(0,1fr); }
    html[data-layout-mode="social"] .editor-picks__heading { padding: 20px 14px; }
    html[data-layout-mode="social"] .listing-header { padding: var(--space-control) 14px var(--space-content); }
    html[data-layout-mode="social"] .listing-header h1 { font-size: 25px; }
    html[data-layout-mode="social"] .search-header .public-search { gap: 4px; padding: 5px; }
    html[data-layout-mode="social"] .search-header .public-search .button { padding-inline: 12px; }
    html[data-layout-mode="social"] .mode-reading-heading { min-height: 54px; padding: 12px 14px; font-size: 18px; }
    html[data-layout-mode="social"] .mode-author-panel { padding: 16px 14px 12px; }
    html[data-layout-mode="social"] .article-header { padding: 4px 14px 14px; }
    html[data-layout-mode="social"] .article-header h1 { font-size: 22px; }
    html[data-layout-mode="social"] .article-main .article-body { margin-inline: 14px; font-size: 15px; }
    html[data-layout-mode="social"] .article-reading-main .article-cover { margin-inline: 14px; }
    html[data-layout-mode="social"] .mode-message-toolbar,
    html[data-layout-mode="social"] .article-main .article-share--bottom,
    html[data-layout-mode="social"] .article-main .article-footer { margin-inline: 14px; }
    html[data-layout-mode="social"] .article-reading-layout > .article-sidebar { grid-template-columns: minmax(0, 1fr); padding: 14px; }
    html[data-layout-mode="social"] .article-share--bottom .article-share-actions { flex-wrap: wrap; }

    html[data-layout-mode="social"] .site-footer { padding: 24px 14px; }
}
@media print {
    html[data-layout-mode="social"] .site-shell,
    html[data-layout-mode="social"] .content-layout,
    html[data-layout-mode="social"] .article-reading-layout { display: block; }
    html[data-layout-mode="social"] .article-reading-main { display: block; border: 0; }
    html[data-layout-mode="social"] .mode-reading-heading,
    html[data-layout-mode="social"] .article-reading-layout > .article-sidebar { display: none; }
    html[data-layout-mode="social"] .related-section { width: 100%; }
    html[data-layout-mode="social"] .site-header { position: static; height: auto; overflow: visible; }
    html[data-layout-mode="social"] .main-navigation { flex-direction: row; flex-wrap: wrap; }
}
