/* ChannelPress selectable public designs. Shared variables are emitted by Appearance. */
.cp-theme{background:var(--cp-bg,#fafafa);color:var(--cp-text,#272727);font-family:var(--cp-font-family,system-ui,sans-serif);font-size:var(--cp-font-size,16px);line-height:var(--cp-line-height,1.8)}
.cp-theme h1,.cp-theme h2,.cp-theme h3{color:var(--cp-text,#272727)}
.cp-theme a{color:var(--cp-accent,#3f5f79)}
.cp-theme .prose{font-family:var(--cp-font-family,system-ui,sans-serif);font-size:var(--cp-article-size,18px);line-height:var(--cp-line-height,1.8);color:var(--cp-text,#272727)}
.cp-theme .prose h2{font-size:calc(var(--cp-heading-size,30px)*.82)}
.cp-theme .prose h3{font-size:calc(var(--cp-heading-size,30px)*.72)}
.cp-theme .article-detail>h1,.cp-theme .section-heading h1,.cp-theme .static-page h1{font-size:var(--cp-heading-size,30px)}
.cp-theme .form-card,.cp-theme .community-card,.cp-theme .notice,.cp-theme .content-table{background:var(--cp-panel,#fff);border-color:var(--cp-border,#dedede)}
.cp-theme .form-card label,.cp-theme .editor-layout label{color:var(--cp-text,#272727)}
.cp-theme-layout *{min-width:0}
.cp-theme-site{width:min(calc(100% - 64px),var(--cp-content-width,1260px));margin:0 auto;display:flex;flex-direction:column;min-height:100vh}
.cp-theme-header{flex-shrink:0;padding-top:22px}
.cp-theme-header a,.cp-theme-footer a{text-decoration:none}
.cp-theme-header a:hover,.cp-theme-footer a:hover{text-decoration:underline}
.cp-theme-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap;font-size:14px}
.cp-theme-header-actions a{white-space:nowrap;color:var(--cp-text,#272727)}
.cp-theme-header-actions .cp-theme-write{padding:7px 12px;border:1px solid var(--cp-accent,#3f5f79);border-radius:4px;color:var(--cp-accent,#3f5f79)}
.cp-theme-brand-row{display:flex;align-items:center;gap:26px;min-height:77px;padding:10px 0 20px}
.cp-theme-wordmark{font-size:31px;font-weight:650;letter-spacing:-1px;color:var(--cp-text,#272727)!important;line-height:1.2;overflow-wrap:anywhere}
.cp-theme-header-tagline{max-width:290px;color:var(--cp-muted,#666);font-size:14px}
.cp-theme-brand-row>.cp-theme-header-actions{margin-left:auto}
.cp-theme-channel-nav{display:flex;align-items:center;gap:0;flex-wrap:wrap;border-top:1px solid var(--cp-border,#dedede);border-bottom:1px solid var(--cp-border,#dedede);padding:6px 0}
.cp-theme-channel-nav>a{font-size:15px;line-height:1.4;padding:11px 15px;color:var(--cp-text,#272727)}
.cp-theme-channel-nav>a:first-child{padding-left:0}
.cp-theme-channel-nav>a[aria-current=page]{font-weight:600;color:var(--cp-accent,#3f5f79)}
.cp-theme-search-strip{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:15px 0;color:var(--cp-muted,#666);font-size:14px}
.cp-theme-search-strip>span{max-width:65%}
.cp-theme-search-form{display:flex;align-items:center;border:1px solid var(--cp-border,#dedede);background:var(--cp-panel,#fff);border-radius:4px;max-width:350px;width:100%;min-width:180px;margin:0}
.cp-theme-search-form input{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:4px;min-height:42px;flex:1;padding:8px 11px;font-size:14px;color:var(--cp-text,#272727);width:100%}
.cp-theme-search-form button{border:0;background:transparent;color:var(--cp-muted,#666);display:grid;place-items:center;width:43px;min-height:42px;padding:8px;flex-shrink:0}
.cp-theme-search-form .icon{width:19px;height:19px}
.cp-theme-language select{font:inherit;font-size:14px;border:1px solid var(--cp-border,#dedede);border-radius:4px;background:var(--cp-panel,#fff);color:var(--cp-text,#272727);max-width:150px;min-height:38px;padding:5px 8px}
.cp-theme-main{flex:1;width:100%;padding:32px 0 56px}
.cp-theme-footer{border-top:1px solid var(--cp-border,#dedede);padding:24px 0 30px;display:flex;align-items:center;gap:13px;color:var(--cp-muted,#666);font-size:14px;flex-wrap:wrap}
.cp-theme-footer-brand{font-weight:600;color:var(--cp-text,#272727)!important}
.cp-theme-footer nav{display:flex;flex-wrap:wrap;gap:20px;margin-left:auto}
.cp-theme-preview-notice{padding:12px 16px;border:1px solid var(--cp-border,#dedede);background:var(--cp-panel,#fff);font-size:14px;margin-top:14px}
.cp-theme-preview-notice a{margin-left:12px;text-decoration:underline}
.cp-theme-section-head{display:flex;gap:25px;justify-content:space-between;align-items:flex-start;margin:0 0 22px}
.cp-theme-section-head h1{font-size:var(--cp-heading-size,30px);font-weight:600;letter-spacing:-.5px;margin:0 0 8px;line-height:1.4}
.cp-theme-section-head p{color:var(--cp-muted,#666);max-width:800px;margin:0;font-size:15px}
.cp-theme-section-head>span{font-size:14px;white-space:nowrap;color:var(--cp-muted,#666);padding-top:8px}
.cp-theme-feed-controls{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--cp-border,#dedede);margin-bottom:26px}
.cp-theme-feed-controls nav{display:flex;gap:24px}
.cp-theme-feed-controls a{padding:10px 0;border-bottom:2px solid transparent;font-size:15px;color:var(--cp-muted,#666);text-decoration:none}
.cp-theme-feed-controls a[aria-current=page]{color:var(--cp-text,#272727);border-color:var(--cp-accent,#3f5f79)}
.cp-theme-mode-label{display:block;padding:10px 0;font-size:14px;color:var(--cp-muted,#666)}
.cp-theme-story{margin:0;overflow-wrap:anywhere}
.cp-theme-story a{text-decoration:none;color:var(--cp-text,#272727)}
.cp-theme-story a:hover{color:var(--cp-accent,#3f5f79)}
.cp-theme-story-image{display:block;background:var(--cp-accent-soft,#eee);overflow:hidden;border-radius:3px}
.cp-theme-story-image img{display:block;width:100%;height:100%;object-fit:cover}
.cp-theme-story-copy{padding-top:15px}
.cp-theme-story-meta{display:flex;gap:16px;align-items:center;flex-wrap:wrap;color:var(--cp-muted,#666);font-size:14px;margin-bottom:8px}
.cp-theme-story-meta a{color:var(--cp-accent,#3f5f79)}
.cp-theme-story h2{font-size:calc(var(--cp-heading-size,30px)*.77);font-weight:600;line-height:1.5;margin:0 0 10px;letter-spacing:-.35px}
.cp-theme-story-summary{font-size:var(--cp-font-size,16px);line-height:1.85;margin:0 0 13px;color:var(--cp-muted,#666);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.cp-theme-story-bottom{display:flex;gap:16px;align-items:center;flex-wrap:wrap;font-size:14px;color:var(--cp-muted,#666)}
.cp-theme-story-bottom a{color:var(--cp-muted,#666)}
.cp-theme-story-read{margin-left:auto}
.cp-theme-directory h2,.cp-theme-recent h2{font-size:18px;font-weight:600;margin:0 0 14px}
.cp-theme-directory nav{display:grid}
.cp-theme-directory a{display:block;padding:15px 0;border-bottom:1px solid var(--cp-border,#dedede);text-decoration:none}
.cp-theme-directory a:first-child{padding-top:0}
.cp-theme-directory strong{display:block;font-size:16px;font-weight:500;color:var(--cp-text,#272727)}
.cp-theme-directory span{display:block;font-size:14px;color:var(--cp-muted,#666);margin-top:3px;line-height:1.7}
.cp-theme-recent{border-top:2px solid var(--cp-text,#272727);padding-top:20px;margin-top:32px}
.cp-theme-recent ol{margin:0;padding-left:22px}
.cp-theme-recent li{padding:9px 0 9px 5px;font-size:15px;line-height:1.8}
.cp-theme-layout .pagination{margin:30px 0 0}
/* Editorial: a paper masthead, wide lead column and a ruled directory sidebar. */
.cp-theme-paper-header{padding-top:15px}
.cp-theme-utility{display:flex;align-items:center;gap:24px;font-size:14px;color:var(--cp-muted,#666);border-bottom:1px solid var(--cp-border,#dedede);padding-bottom:12px}
.cp-theme-utility>.cp-theme-header-actions{margin-left:auto}
.cp-theme-paper-name{text-align:center;padding:27px 15px 24px}
.cp-theme-paper-name>a{font-family:var(--cp-font-family,Georgia,serif);font-weight:650;font-size:48px;line-height:1.2;letter-spacing:-1.6px;color:var(--cp-text,#272727);overflow-wrap:anywhere}
.cp-theme-paper-name p{font-size:14px;color:var(--cp-muted,#666);margin:10px 0 0}
.cp-theme-paper-header .cp-theme-channel-nav{border-top:3px double var(--cp-text,#272727);border-bottom:3px double var(--cp-text,#272727);justify-content:center}
.cp-theme-paper-header .cp-theme-channel-nav>a:first-child{padding-left:15px}
.cp-theme-paper-header .cp-theme-search-strip{border-bottom:1px solid var(--cp-border,#dedede)}
.cp-theme-editorial-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:38px}
.cp-theme-editorial-aside{border-left:1px solid var(--cp-border,#dedede);padding-left:30px}
.cp-theme-story-lead .cp-theme-story-image{aspect-ratio:16/8}
.cp-theme-story-lead h2{font-size:calc(var(--cp-heading-size,30px)*1.03);line-height:1.4}
.cp-theme-editorial-rows{margin-top:28px;border-top:1px solid var(--cp-border,#dedede)}
.cp-theme-story-row{display:grid;grid-template-columns:180px minmax(0,1fr);gap:24px;padding:24px 0;border-bottom:1px solid var(--cp-border,#dedede)}
.cp-theme-story-row:not(.cp-theme-has-image){grid-template-columns:minmax(0,1fr)}
.cp-theme-story-row .cp-theme-story-image{aspect-ratio:4/3;align-self:start}
.cp-theme-story-row .cp-theme-story-copy{padding-top:0}
.cp-theme-story-row h2{font-size:22px}
.cp-theme-story-row .cp-theme-story-summary{-webkit-line-clamp:2;font-size:15px}
/* Magazine: dominant visual lead, two highlights and a three-column image grid. */
.cp-theme-magazine-header .cp-theme-channel-nav{border-top:2px solid var(--cp-accent,#3f5f79)}
.cp-theme-magazine-opening{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:30px}
.cp-theme-story-feature .cp-theme-story-image{aspect-ratio:16/9}
.cp-theme-story-feature h2{font-size:32px}
.cp-theme-magazine-opening.cp-theme-single{grid-template-columns:minmax(0,1fr)}
.cp-theme-magazine-highlights{display:grid;gap:24px}
.cp-theme-story-highlight{display:grid;grid-template-columns:132px minmax(0,1fr);gap:16px;border-bottom:1px solid var(--cp-border,#dedede);padding-bottom:23px}
.cp-theme-story-highlight:not(.cp-theme-has-image){grid-template-columns:1fr}
.cp-theme-story-highlight .cp-theme-story-image{aspect-ratio:1}
.cp-theme-story-highlight .cp-theme-story-copy{padding:0}
.cp-theme-story-highlight h2{font-size:20px}
.cp-theme-story-highlight .cp-theme-story-summary{-webkit-line-clamp:2;font-size:14px}
.cp-theme-story-highlight .cp-theme-story-read{display:none}
.cp-theme-magazine-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 26px;border-top:1px solid var(--cp-border,#dedede);padding-top:30px;margin-top:30px}
.cp-theme-story-card .cp-theme-story-image{aspect-ratio:16/10}
.cp-theme-story-card h2{font-size:22px}
/* Journal: a centered reading column with numbered entries and small optional images. */
.cp-theme-journal .cp-theme-site{max-width:920px}
.cp-theme-journal-header{padding-top:20px;text-align:center}
.cp-theme-journal-tools{display:flex;align-items:center;justify-content:space-between;font-size:14px;margin-bottom:30px;text-align:left;gap:20px}
.cp-theme-journal-name{display:inline-block;font-size:38px;font-weight:600;letter-spacing:-1.3px;line-height:1.2;color:var(--cp-text,#272727)!important;overflow-wrap:anywhere}
.cp-theme-journal-tagline{font-size:15px;color:var(--cp-muted,#666);margin:13px 0 24px}
.cp-theme-journal .cp-theme-channel-nav{justify-content:center;border-top:0}
.cp-theme-journal .cp-theme-channel-nav>a:first-child{padding-left:15px}
.cp-theme-journal .cp-theme-search-strip{justify-content:center}
.cp-theme-journal .cp-theme-main{padding-top:38px}
.cp-theme-journal .cp-theme-section-head{max-width:760px;margin-left:auto;margin-right:auto}
.cp-theme-journal .cp-theme-feed-controls{max-width:760px;margin-left:auto;margin-right:auto}
.cp-theme-journal-list{counter-reset:cp-entry;list-style:none;padding:0;margin:0 auto;max-width:760px}
.cp-theme-journal-list>li{counter-increment:cp-entry;display:grid;grid-template-columns:42px minmax(0,1fr);gap:18px;border-bottom:1px solid var(--cp-border,#dedede);padding:30px 0}
.cp-theme-journal-list>li:first-child{padding-top:10px}
.cp-theme-journal-list>li::before{content:counter(cp-entry,decimal-leading-zero);font-size:14px;font-variant-numeric:tabular-nums;color:var(--cp-muted,#666);padding-top:8px}
.cp-theme-story-journal{display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:24px}
.cp-theme-story-journal .cp-theme-story-copy{grid-column:1;grid-row:1;padding:0}
.cp-theme-story-journal .cp-theme-story-image{grid-column:2;grid-row:1;aspect-ratio:1;align-self:center}
.cp-theme-story-journal:not(.cp-theme-has-image){grid-template-columns:1fr}
.cp-theme-story-journal h2{font-size:calc(var(--cp-heading-size,30px)*.87);font-weight:550}
.cp-theme-story-journal .cp-theme-story-summary{font-size:var(--cp-font-size,16px);-webkit-line-clamp:3}
.cp-theme-journal .article-layout{display:block;max-width:760px;margin:auto}
.cp-theme-journal .article-aside{display:none}
.cp-theme-journal .static-page{max-width:760px}
/* Portal: persistent category directory and dense subject panels. */
.cp-theme-portal-header{padding-top:12px}
.cp-theme-portal-header .cp-theme-brand-row{gap:25px}
.cp-theme-portal-header .cp-theme-search-form{margin-left:auto;max-width:320px}
.cp-theme-portal-header .cp-theme-header-actions{gap:12px;margin-left:0}
.cp-theme-portal .cp-theme-channel-nav{background:var(--cp-panel,#fff);border:1px solid var(--cp-border,#dedede);border-radius:4px;padding:4px 13px}
.cp-theme-portal .cp-theme-channel-nav>a{padding:10px 13px}
.cp-theme-portal-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:26px}
.cp-theme-portal-directory{background:var(--cp-panel,#fff);border:1px solid var(--cp-border,#dedede);border-radius:4px;align-self:start;padding:20px}
.cp-theme-portal-directory .cp-theme-directory a{padding:12px 0}
.cp-theme-portal-directory .cp-theme-directory strong{font-size:15px}
.cp-theme-portal-directory .cp-theme-directory span{font-size:14px;line-height:1.6}
.cp-theme-portal-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.cp-theme-portal-group{background:var(--cp-panel,#fff);border:1px solid var(--cp-border,#dedede);border-radius:4px;padding:20px}
.cp-theme-portal-group>header{display:flex;align-items:center;gap:15px;justify-content:space-between;border-bottom:2px solid var(--cp-accent,#3f5f79);padding-bottom:10px;margin-bottom:4px}
.cp-theme-portal-group>header h2{font-size:19px;margin:0;font-weight:600}
.cp-theme-portal-group>header a{color:var(--cp-text,#272727);text-decoration:none}
.cp-theme-portal-group>header span{font-size:14px;color:var(--cp-muted,#666);white-space:nowrap}
.cp-theme-story-compact{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:15px;padding:17px 0;border-bottom:1px solid var(--cp-border,#dedede)}
.cp-theme-story-compact:last-child{border-bottom:0;padding-bottom:0}
.cp-theme-story-compact .cp-theme-story-copy{grid-column:1;grid-row:1;padding:0}
.cp-theme-story-compact .cp-theme-story-image{grid-column:2;grid-row:1;aspect-ratio:1.1;align-self:center}
.cp-theme-story-compact:not(.cp-theme-has-image){grid-template-columns:1fr}
.cp-theme-story-compact h2{font-size:18px;line-height:1.6;margin-bottom:7px;font-weight:550}
.cp-theme-story-compact .cp-theme-story-meta{font-size:14px;margin-bottom:5px;gap:10px}
.cp-theme-story-compact .cp-theme-story-meta>a{display:none}
.cp-theme-story-compact .cp-theme-story-bottom{gap:10px;font-size:14px}
.cp-theme-layout .auth-page{max-width:930px;grid-template-columns:minmax(0,1fr) minmax(320px,440px);gap:40px;margin:15px auto}
.cp-theme-layout .auth-intro h1{font-size:var(--cp-heading-size,30px)}
.cp-theme-layout .article-layout{grid-template-columns:minmax(0,1fr) 250px}
.cp-theme-layout .article-detail>h1{line-height:1.5}
.cp-theme-layout .profile-banner{background:var(--cp-panel,#fff);border:1px solid var(--cp-border,#dedede)}
.cp-theme-layout .form-card input,.cp-theme-layout .form-card select,.cp-theme-layout .form-card textarea{background:var(--cp-panel,#fff);color:var(--cp-text,#272727);border-color:var(--cp-border,#dedede)}
@media(max-width:1100px){.cp-theme-header-actions{gap:12px}.cp-theme-brand-row{gap:20px}.cp-theme-header-tagline{display:none}.cp-theme-magazine-opening{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.cp-theme-story-highlight{grid-template-columns:90px minmax(0,1fr)}.cp-theme-story-highlight h2{font-size:18px}.cp-theme-story-highlight .cp-theme-story-summary{display:none}.cp-theme-editorial-layout{grid-template-columns:minmax(0,1fr) 230px;gap:25px}.cp-theme-editorial-aside{padding-left:23px}.cp-theme-portal-groups{gap:18px}.cp-theme-portal-group{padding:17px}.cp-theme-story-compact{grid-template-columns:minmax(0,1fr) 72px}.cp-theme-portal-layout{grid-template-columns:180px minmax(0,1fr);gap:20px}.cp-theme-portal-directory{padding:17px}.cp-theme-layout .article-layout{grid-template-columns:minmax(0,1fr) 220px;gap:28px}}
@media(max-width:860px){.cp-theme-site{width:calc(100% - 40px)}.cp-theme-brand-row{flex-wrap:wrap}.cp-theme-wordmark{font-size:27px}.cp-theme-header-actions{font-size:14px}.cp-theme-channel-nav>a{font-size:14px;padding:10px 11px}.cp-theme-search-strip{gap:18px}.cp-theme-search-strip>span{display:none}.cp-theme-search-strip>.cp-theme-search-form{max-width:420px}.cp-theme-editorial-layout{grid-template-columns:minmax(0,1fr)}.cp-theme-editorial-aside{display:none}.cp-theme-magazine-opening{grid-template-columns:minmax(0,1fr)}.cp-theme-magazine-highlights{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.cp-theme-story-highlight{display:block}.cp-theme-story-highlight .cp-theme-story-image{aspect-ratio:16/9;margin-bottom:12px}.cp-theme-magazine-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-theme-portal-layout{grid-template-columns:minmax(0,1fr)}.cp-theme-portal-directory{display:none}.cp-theme-layout .article-layout{display:block}.cp-theme-layout .article-aside{display:none}.cp-theme-layout .editor-layout{grid-template-columns:minmax(0,1fr)}.cp-theme-layout .editor-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.cp-theme-layout .auth-page{display:block;max-width:520px}.cp-theme-layout .auth-intro{margin-bottom:24px}.cp-theme-portal-header .cp-theme-search-form{order:3;max-width:none;width:100%;flex-basis:100%;margin:0}.cp-theme-portal-header .cp-theme-header-actions{margin-left:auto}.cp-theme-paper-name>a{font-size:42px}.cp-theme-section-head>span{white-space:normal;max-width:90px;text-align:right}}
@media(max-width:560px){.cp-theme-site{width:calc(100% - 30px)}.cp-theme-header{padding-top:13px}.cp-theme-brand-row{padding:6px 0 15px;gap:15px}.cp-theme-wordmark{font-size:26px}.cp-theme-header-actions{gap:10px;font-size:14px}.cp-theme-header-actions .cp-theme-write{padding:6px 9px}.cp-theme-magazine-header .cp-theme-header-actions{width:100%;margin-left:0;justify-content:flex-start}.cp-theme-channel-nav{padding:3px 0}.cp-theme-channel-nav>a{padding:10px 9px;font-size:14px}.cp-theme-channel-nav>a:first-child{padding-left:0}.cp-theme-search-strip{padding:13px 0;gap:12px;align-items:stretch}.cp-theme-search-form{min-width:0}.cp-theme-language select{max-width:110px}.cp-theme-main{padding:24px 0 36px}.cp-theme-section-head{gap:12px;margin-bottom:17px}.cp-theme-section-head h1{font-size:min(var(--cp-heading-size,30px),28px)}.cp-theme-section-head p{font-size:14px;line-height:1.8}.cp-theme-section-head>span{font-size:14px;padding-top:4px;max-width:62px}.cp-theme-feed-controls{margin-bottom:20px}.cp-theme-feed-controls a{font-size:14px}.cp-theme-story h2{font-size:22px}.cp-theme-story-summary{font-size:15px}.cp-theme-story-bottom{gap:11px;font-size:14px}.cp-theme-story-meta{font-size:14px;gap:11px}.cp-theme-story-read{margin-left:0}.cp-theme-story-row{grid-template-columns:95px minmax(0,1fr);gap:15px;padding:20px 0}.cp-theme-story-row h2{font-size:18px;line-height:1.6}.cp-theme-story-row .cp-theme-story-summary{display:none}.cp-theme-story-row .cp-theme-story-image{aspect-ratio:1}.cp-theme-story-lead h2,.cp-theme-story-feature h2{font-size:25px}.cp-theme-magazine-highlights{gap:18px}.cp-theme-story-highlight h2{font-size:18px}.cp-theme-story-highlight .cp-theme-story-meta a{display:none}.cp-theme-story-highlight .cp-theme-story-bottom>a:first-child{display:none}.cp-theme-magazine-grid{gap:25px;grid-template-columns:minmax(0,1fr);margin-top:22px;padding-top:22px}.cp-theme-story-card{display:grid;grid-template-columns:100px minmax(0,1fr);gap:15px;border-bottom:1px solid var(--cp-border,#dedede);padding-bottom:21px}.cp-theme-story-card .cp-theme-story-copy{padding:0}.cp-theme-story-card .cp-theme-story-image{aspect-ratio:1}.cp-theme-story-card h2{font-size:19px}.cp-theme-story-card .cp-theme-story-summary{display:none}.cp-theme-story-card:not(.cp-theme-has-image){grid-template-columns:1fr}.cp-theme-paper-name{padding:20px 0 19px}.cp-theme-paper-name>a{font-size:36px}.cp-theme-utility{gap:14px;flex-wrap:wrap}.cp-theme-utility>time{font-size:14px}.cp-theme-utility>.cp-theme-header-actions{margin-left:0;width:100%;justify-content:flex-start}.cp-theme-paper-header .cp-theme-channel-nav{justify-content:flex-start}.cp-theme-paper-header .cp-theme-channel-nav>a:first-child{padding-left:0}.cp-theme-journal-tools{align-items:flex-start;gap:12px;margin-bottom:24px}.cp-theme-journal-tools .cp-theme-header-actions{justify-content:flex-end}.cp-theme-journal-name{font-size:33px}.cp-theme-journal-tagline{font-size:14px;margin-bottom:18px}.cp-theme-journal .cp-theme-channel-nav{justify-content:flex-start}.cp-theme-journal .cp-theme-channel-nav>a:first-child{padding-left:0}.cp-theme-journal-list>li{grid-template-columns:25px minmax(0,1fr);gap:12px;padding:24px 0}.cp-theme-story-journal{grid-template-columns:minmax(0,1fr) 75px;gap:15px}.cp-theme-story-journal h2{font-size:21px}.cp-theme-story-journal .cp-theme-story-summary{-webkit-line-clamp:2;font-size:15px}.cp-theme-story-journal .cp-theme-story-bottom{font-size:14px}.cp-theme-story-journal .cp-theme-story-read{display:none}.cp-theme-portal-groups{grid-template-columns:minmax(0,1fr);gap:20px}.cp-theme-portal-group{padding:17px}.cp-theme-portal-group>header h2{font-size:18px}.cp-theme-story-compact{grid-template-columns:minmax(0,1fr) 82px;gap:15px}.cp-theme-story-compact h2{font-size:18px}.cp-theme-portal-header .cp-theme-header-actions{width:100%;justify-content:flex-start;margin:0}.cp-theme-portal-header .cp-theme-search-form{order:0}.cp-theme-layout .editor-sidebar{display:block}.cp-theme-layout .auth-page{margin:5px auto}.cp-theme-footer{padding:22px 0;font-size:14px;gap:10px}.cp-theme-footer nav{width:100%;gap:17px;margin:0}.cp-theme-main .article-detail>h1,.cp-theme-main .static-page h1{font-size:min(var(--cp-heading-size,30px),29px)}.cp-theme-page-search{display:flex;flex-wrap:wrap}.cp-theme-page-search input{min-width:0;flex:1}.cp-theme-page-search button{min-width:95px}}
@media(prefers-reduced-motion:reduce){.cp-theme *{scroll-behavior:auto!important}}

/* Social: a compact central stream with separate navigation and reading guide. */
.cp-theme-x .cp-theme-header{border-bottom:1px solid var(--cp-border);padding-top:8px}
.cp-theme-x .cp-theme-brand-row{padding-bottom:12px;min-height:65px;flex-wrap:wrap}
.cp-theme-x .cp-theme-main{padding-top:20px}
.cp-theme-x .cp-theme-section-head,.cp-theme-x .cp-theme-feed-controls{margin-left:210px;margin-right:280px}
.cp-theme-x .cp-theme-section-head h1{font-size:24px}
.cp-theme-x .cp-theme-section-head p{font-size:14px;max-width:520px}
.cp-theme-x .cp-theme-section-head>span{display:none}
.cp-theme-x .cp-theme-feed-controls{margin-bottom:0}
.cp-theme-social-layout{display:grid;grid-template-columns:185px minmax(0,1fr) 255px;gap:25px;align-items:start}
.cp-theme-discovery-nav{display:grid;gap:5px}
.cp-theme-discovery-nav>a{display:flex;gap:13px;align-items:center;padding:12px 13px;color:var(--cp-text);text-decoration:none;border-radius:6px;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.cp-theme-discovery-nav>a:hover,.cp-theme-discovery-nav>a[aria-current=page]{background:var(--cp-accent-soft);font-weight:600}
.cp-theme-discovery-nav .icon,.cp-theme-channel-symbol{width:22px;height:22px;flex-shrink:0;display:inline-grid;place-items:center;color:var(--cp-muted);font-size:21px}
.cp-theme-social-stream{background:var(--cp-panel);border:1px solid var(--cp-border);border-top:0}
.cp-theme-social-nav{position:sticky;top:20px;padding-top:8px}
.cp-theme-social-post{display:grid;grid-template-columns:39px minmax(0,1fr);gap:11px;padding:19px 18px;border-bottom:1px solid var(--cp-border);overflow-wrap:anywhere}
.cp-theme-social-post:last-child{border-bottom:0}
.cp-theme-social-avatar .avatar{width:39px;height:39px;font-size:15px;border-radius:50%;background:var(--cp-accent-soft);color:var(--cp-text)}
.cp-theme-social-byline{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:14px;line-height:1.6}
.cp-theme-social-byline>a{font-weight:650;color:var(--cp-text);text-decoration:none}
.cp-theme-social-byline>span,.cp-theme-social-byline>time{color:var(--cp-muted);font-size:13px}
.cp-theme-social-channel{display:inline-block;font-size:13px;text-decoration:none;margin-top:4px}
.cp-theme-social-post h2{font-size:19px;line-height:1.55;margin:6px 0;font-weight:600}
.cp-theme-social-post h2 a{color:var(--cp-text);text-decoration:none}
.cp-theme-social-post p{font-size:15px;line-height:1.75;margin:0 0 13px}
.cp-theme-social-image{display:block;aspect-ratio:16/9;border:1px solid var(--cp-border);border-radius:10px;overflow:hidden;background:var(--cp-accent-soft)}
.cp-theme-social-image img{display:block;width:100%;height:100%;object-fit:cover}
.cp-theme-social-actions{display:flex;gap:18px;justify-content:space-between;flex-wrap:wrap;margin-top:14px;font-size:13px;color:var(--cp-muted)}
.cp-theme-social-actions a,.cp-theme-social-actions>span{display:flex;gap:6px;align-items:center;color:var(--cp-muted);text-decoration:none}
.cp-theme-social-actions .icon{width:17px;height:17px}
.cp-theme-social-aside{padding-top:15px}
.cp-theme-social-aside .cp-theme-recent{padding-top:19px;border-top:0;margin-top:22px;background:var(--cp-panel);border:1px solid var(--cp-border);border-radius:8px;padding:19px}
.cp-theme-social-aside .cp-theme-recent ol{padding-left:18px}
.cp-theme-social-aside .cp-theme-recent li{font-size:14px;padding:7px 0}
.cp-theme-social-aside .cp-theme-directory{margin-top:25px}
.cp-theme-x .pagination{margin-left:210px;margin-right:280px}
/* Discovery: image cards and a compact vertical channel directory. No fake video controls. */
.cp-theme-video .cp-theme-site{max-width:1500px}
.cp-theme-video-header{padding-top:10px}
.cp-theme-video-header .cp-theme-brand-row{gap:24px;flex-wrap:wrap;padding-bottom:16px}
.cp-theme-video-header .cp-theme-wordmark{display:flex;align-items:center;gap:9px;font-size:25px}
.cp-theme-discover-mark{display:grid;place-items:center;width:28px;height:28px;color:var(--cp-accent)}
.cp-theme-discover-mark svg{width:28px;height:28px}
.cp-theme-video-header .cp-theme-search-form{margin-left:auto;flex:1;max-width:550px;border-radius:30px}
.cp-theme-video-header .cp-theme-search-form input{border-radius:30px}
.cp-theme-video-header .cp-theme-header-actions{margin-left:auto;gap:12px}
.cp-theme-video .cp-theme-channel-nav{border-top:0;border-bottom:0;gap:9px;padding:8px 0 12px}
.cp-theme-video .cp-theme-channel-nav>a{border-radius:7px;background:var(--cp-accent-soft);padding:7px 14px;font-size:14px}
.cp-theme-video .cp-theme-channel-nav>a[aria-current=page]{background:var(--cp-text);color:var(--cp-panel)}
.cp-theme-video .cp-theme-section-head{margin-left:200px}
.cp-theme-video .cp-theme-feed-controls{margin-left:200px}
.cp-theme-video-layout{display:grid;grid-template-columns:175px minmax(0,1fr);gap:25px;align-items:start}
.cp-theme-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:31px 22px}
.cp-theme-video-thumbnail{display:block;position:relative;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:var(--cp-accent-soft);color:var(--cp-muted);text-decoration:none}
.cp-theme-video-thumbnail img{width:100%;height:100%;object-fit:cover;display:block}
.cp-theme-video-placeholder{display:grid;place-items:center;width:100%;height:100%;font-size:24px;font-weight:600;text-align:center;padding:20px;overflow-wrap:anywhere}
.cp-theme-video-category{position:absolute;bottom:9px;right:9px;color:#fff;background:rgba(0,0,0,.72);font-size:12px;border-radius:3px;padding:2px 6px;max-width:calc(100% - 18px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cp-theme-video-info{display:grid;grid-template-columns:33px minmax(0,1fr);gap:10px;margin-top:12px}
.cp-theme-video-avatar .avatar{width:33px;height:33px;font-size:14px;background:var(--cp-accent-soft);color:var(--cp-text);border-radius:50%}
.cp-theme-video-card h2{font-size:17px;line-height:1.55;font-weight:600;margin:0 0 5px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.cp-theme-video-card h2 a{color:var(--cp-text);text-decoration:none}
.cp-theme-video-author{font-size:13px;color:var(--cp-muted)!important;text-decoration:none}
.cp-theme-video-meta{display:flex;gap:10px;flex-wrap:wrap;color:var(--cp-muted);font-size:13px;margin-top:2px}
.cp-theme-video-meta a{color:inherit;text-decoration:none}
.cp-theme-video .pagination{margin-left:200px}
/* Search: light chrome and useful title/snippet/source hierarchy. */
.cp-theme-search .cp-theme-header{padding-top:13px}
.cp-theme-search-header .cp-theme-brand-row{flex-wrap:wrap;gap:26px}
.cp-theme-search-header .cp-theme-wordmark{font-size:27px;letter-spacing:-.8px}
.cp-theme-search-header .cp-theme-search-form{max-width:600px;flex:1;min-width:220px;border-radius:24px;box-shadow:0 1px 3px #0000000b}
.cp-theme-search-header .cp-theme-search-form input{border-radius:24px;min-height:46px}
.cp-theme-search-header .cp-theme-header-actions{font-size:13px;gap:12px}
.cp-theme-search .cp-theme-channel-nav{border-top:0;padding-top:0;padding-bottom:0}
.cp-theme-search .cp-theme-channel-nav>a{padding:11px 17px;font-size:14px;border-bottom:2px solid transparent}
.cp-theme-search .cp-theme-channel-nav>a[aria-current=page]{border-color:var(--cp-accent)}
.cp-theme-search .cp-theme-section-head h1{font-size:24px}
.cp-theme-search .cp-theme-section-head p{font-size:14px}
.cp-theme-search .cp-theme-feed-controls{max-width:800px;border-bottom:0;margin-bottom:20px}
.cp-theme-search .cp-theme-feed-controls a{font-size:14px;padding-top:0}
.cp-theme-results-layout{display:grid;grid-template-columns:minmax(0,800px) minmax(200px,1fr);gap:70px;align-items:start}
.cp-theme-results-list{display:grid;gap:30px}
.cp-theme-result{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;overflow-wrap:anywhere}
.cp-theme-result.cp-theme-result-image{grid-template-columns:minmax(0,1fr) 116px}
.cp-theme-result-source{display:flex;gap:10px;align-items:center;text-decoration:none;color:var(--cp-text)!important;margin-bottom:7px;font-size:13px;line-height:1.55}
.cp-theme-result-source strong{display:block;font-weight:500;font-size:14px}
.cp-theme-result-source>span:last-child>span{color:var(--cp-muted);font-size:12px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}
.cp-theme-result-mark{display:grid;place-items:center;width:28px;height:28px;flex-shrink:0;border-radius:50%;background:var(--cp-accent-soft);font-size:12px}
.cp-theme-result h2{font-size:21px;font-weight:500;line-height:1.55;margin:0 0 6px}
.cp-theme-result h2 a{text-decoration:none;color:var(--cp-accent)}
.cp-theme-result h2 a:hover{text-decoration:underline}
.cp-theme-result p{margin:0;font-size:14px;line-height:1.85;color:var(--cp-muted);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.cp-theme-result p time{font-size:13px}
.cp-theme-result-links{display:flex;flex-wrap:wrap;gap:20px;font-size:13px;margin-top:7px}
.cp-theme-result-links a{text-decoration:none}
.cp-theme-result-thumbnail{display:block;aspect-ratio:1.2;align-self:center;border-radius:7px;overflow:hidden;background:var(--cp-accent-soft)}
.cp-theme-result-thumbnail img{display:block;width:100%;height:100%;object-fit:cover}
.cp-theme-results-aside{border:1px solid var(--cp-border);border-radius:7px;padding:22px;background:var(--cp-panel)}
.cp-theme-search .pagination{max-width:800px;justify-content:flex-start}
/* News: separate lead, briefs and directory; subject sections below the opening. */
.cp-theme-yahoo-header .cp-theme-brand-row{flex-wrap:wrap;gap:28px;padding-top:3px}
.cp-theme-yahoo-header .cp-theme-wordmark{font-size:34px;font-weight:750;letter-spacing:-1.2px;color:var(--cp-accent)!important}
.cp-theme-yahoo-header .cp-theme-search-form{flex:1;max-width:520px;margin-left:auto;border-radius:20px}
.cp-theme-yahoo-header .cp-theme-search-form input{border-radius:20px}
.cp-theme-yahoo .cp-theme-channel-nav{border-top:2px solid var(--cp-text);padding-top:4px;padding-bottom:4px}
.cp-theme-yahoo .cp-theme-channel-nav>a{font-weight:600;font-size:14px;padding:10px 17px}
.cp-theme-yahoo .cp-theme-section-head h1{font-size:26px}
.cp-theme-yahoo .cp-theme-section-head p{font-size:14px}
.cp-theme-yahoo .cp-theme-feed-controls{margin-bottom:22px}
.cp-theme-news-opening{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 235px;gap:28px;align-items:start}
.cp-theme-news-lead .cp-theme-story-lead h2{font-size:26px}
.cp-theme-news-lead .cp-theme-story-lead .cp-theme-story-image{aspect-ratio:16/10}
.cp-theme-news-briefs{border-top:2px solid var(--cp-text)}
.cp-theme-story-brief{padding:18px 0;border-bottom:1px solid var(--cp-border)}
.cp-theme-story-brief .cp-theme-story-image{display:none}
.cp-theme-story-brief .cp-theme-story-copy{padding:0}
.cp-theme-story-brief h2{font-size:19px;line-height:1.6}
.cp-theme-story-brief .cp-theme-story-summary{-webkit-line-clamp:2;font-size:14px;margin-bottom:9px}
.cp-theme-story-brief .cp-theme-story-read{display:none}
.cp-theme-story-brief .cp-theme-story-meta,.cp-theme-story-brief .cp-theme-story-bottom{font-size:13px}
.cp-theme-news-guide{padding:20px;background:var(--cp-panel);border:1px solid var(--cp-border);border-radius:6px}
.cp-theme-news-guide .cp-theme-recent{margin:0 0 23px;padding:0 0 19px;border-top:0;border-bottom:1px solid var(--cp-border)}
.cp-theme-news-guide .cp-theme-recent li{font-size:14px;padding:5px 0}
.cp-theme-news-guide .cp-theme-directory span{display:none}
.cp-theme-news-guide .cp-theme-directory a{padding:9px 0}
.cp-theme-news-guide .cp-theme-directory strong{font-size:14px}
.cp-theme-news-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin-top:35px;border-top:1px solid var(--cp-border);padding-top:25px;align-items:start}
.cp-theme-news-group>h2{font-size:20px;border-bottom:2px solid var(--cp-text);padding-bottom:10px;margin:0}
.cp-theme-news-group>h2 a{color:var(--cp-text);text-decoration:none}
.cp-theme-news-group .cp-theme-story-compact{grid-template-columns:minmax(0,1fr) 78px}
.cp-theme-news-group .cp-theme-story-compact:not(.cp-theme-has-image){grid-template-columns:minmax(0,1fr)}
.cp-theme-news-group .cp-theme-story-compact h2{font-size:17px}
@media(max-width:1200px){
 .cp-theme-social-layout{grid-template-columns:160px minmax(0,1fr) 230px;gap:20px}
 .cp-theme-x .cp-theme-section-head,.cp-theme-x .cp-theme-feed-controls,.cp-theme-x .pagination{margin-left:180px;margin-right:250px}
 .cp-theme-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cp-theme-news-opening{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 210px;gap:23px}
 .cp-theme-news-guide{padding:16px}
 .cp-theme-news-sections{gap:24px}
 .cp-theme-results-layout{gap:35px}
}
@media(max-width:1000px){
 .cp-theme-social-layout{grid-template-columns:150px minmax(0,1fr);gap:20px}
 .cp-theme-social-aside{display:none}
 .cp-theme-x .cp-theme-section-head,.cp-theme-x .cp-theme-feed-controls,.cp-theme-x .pagination{margin-left:170px;margin-right:0}
 .cp-theme-video-header .cp-theme-header-actions,.cp-theme-search-header .cp-theme-header-actions,.cp-theme-yahoo-header .cp-theme-header-actions{flex-basis:100%;justify-content:flex-start;margin-left:0}
 .cp-theme-news-opening{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
 .cp-theme-news-guide{display:none}
 .cp-theme-news-sections{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cp-theme-results-layout{grid-template-columns:minmax(0,1fr)}
 .cp-theme-results-aside{display:none}
}
@media(max-width:860px){
 .cp-theme-video-layout{grid-template-columns:minmax(0,1fr)}
 .cp-theme-video-nav{display:none}
 .cp-theme-video .cp-theme-section-head,.cp-theme-video .cp-theme-feed-controls,.cp-theme-video .pagination{margin-left:0}
 .cp-theme-video-header .cp-theme-brand-row{gap:17px}
 .cp-theme-video-header .cp-theme-search-form{max-width:none;min-width:180px}
 .cp-theme-search-header .cp-theme-search-form{min-width:180px}
 .cp-theme-yahoo-header .cp-theme-search-form{max-width:none}
}
@media(max-width:620px){
 .cp-theme-social-layout{grid-template-columns:minmax(0,1fr)}
 .cp-theme-social-nav{display:none}
 .cp-theme-x .cp-theme-section-head,.cp-theme-x .cp-theme-feed-controls,.cp-theme-x .pagination{margin-left:0;margin-right:0}
 .cp-theme-social-post{padding:17px 13px;grid-template-columns:33px minmax(0,1fr);gap:9px}
 .cp-theme-social-avatar .avatar{width:33px;height:33px;font-size:13px}
 .cp-theme-social-actions{gap:12px}
 .cp-theme-social-actions>span{display:none}
 .cp-theme-news-opening{grid-template-columns:minmax(0,1fr);gap:25px}
 .cp-theme-news-sections{grid-template-columns:minmax(0,1fr);gap:27px}
 .cp-theme-news-lead .cp-theme-story-lead h2{font-size:24px}
 .cp-theme-story-brief{display:grid;grid-template-columns:85px minmax(0,1fr);gap:14px}
 .cp-theme-story-brief .cp-theme-story-image{display:block;aspect-ratio:1}
 .cp-theme-story-brief:not(.cp-theme-has-image){grid-template-columns:minmax(0,1fr)}
 .cp-theme-story-brief .cp-theme-story-summary{display:none}
 .cp-theme-story-brief h2{font-size:18px}
}
@media(max-width:560px){
 .cp-theme-video-grid{grid-template-columns:minmax(0,1fr);gap:28px}
 .cp-theme-video-header .cp-theme-search-form,.cp-theme-search-header .cp-theme-search-form,.cp-theme-yahoo-header .cp-theme-search-form{flex-basis:100%;min-width:0;order:3}
 .cp-theme-video-header .cp-theme-header-actions,.cp-theme-search-header .cp-theme-header-actions,.cp-theme-yahoo-header .cp-theme-header-actions{order:2;gap:11px}
 .cp-theme-video-header .cp-theme-wordmark{font-size:25px}
 .cp-theme-search-header .cp-theme-wordmark{font-size:27px}
 .cp-theme-yahoo-header .cp-theme-wordmark{font-size:30px}
 .cp-theme-video .cp-theme-channel-nav{gap:7px}
 .cp-theme-video .cp-theme-channel-nav>a{padding:6px 10px;font-size:13px}
 .cp-theme-result.cp-theme-result-image{grid-template-columns:minmax(0,1fr) 78px;gap:13px}
 .cp-theme-result h2{font-size:20px}
 .cp-theme-result p{font-size:14px;-webkit-line-clamp:3}
 .cp-theme-results-list{gap:28px}
 .cp-theme-result-links{gap:13px;font-size:12px}
 .cp-theme-result-thumbnail{aspect-ratio:1;border-radius:5px}
 .cp-theme-yahoo .cp-theme-channel-nav>a{padding:9px 10px}
}

/* Keep long translated sorting labels inside the shared feed controls. */
.cp-theme-feed-controls{flex-wrap:wrap}
.cp-theme-feed-controls nav{min-width:0;max-width:100%;flex-wrap:wrap;column-gap:18px;row-gap:0}
.cp-theme-feed-controls a{min-width:0;max-width:100%;overflow-wrap:anywhere}

/* Section totals keep their natural width beside translated headings. */
.cp-theme-section-head{flex-wrap:wrap;column-gap:16px;row-gap:8px}
.cp-theme-section-head>div{min-width:0;max-width:100%;flex:1 1 180px}
.cp-theme-section-head h1,.cp-theme-section-head p{overflow-wrap:anywhere}
.cp-theme-section-head>span{flex:0 0 auto;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:start}
