/* Supplied WeeklyTrail wordmark. Existing custom logo selections keep their layout. */
.wt-brand-wordmark{display:block;width:240px;height:auto;max-width:100%;object-fit:contain;flex:none}
.wordmark:has(>.wt-brand-wordmark){display:inline-flex;align-items:center;gap:0;line-height:1;min-width:0;flex:none}
.reader-header .reader-wordmark:has(>.wt-brand-wordmark){width:240px;max-width:240px;flex:0 1 240px;min-width:0}
.reader-header .reader-wordmark>.wt-brand-wordmark{width:100%;height:auto;max-height:54px;object-fit:contain}
.site-footer .wordmark>.wt-brand-wordmark{width:220px}
.reader-rail-foot .wt-rail-brand{display:block;width:170px;margin-bottom:7px}
.reader-rail-foot .wt-brand-wordmark{width:100%}
.closed-brand:has(>.wt-brand-wordmark){gap:0;line-height:1}
.closed-brand>.wt-brand-wordmark{width:220px}
.closed-footer>.wt-brand-wordmark{width:145px;margin:0 auto}
.logo-options:has(input[value="/static/brand/wt-wordmark-440.webp"]){grid-template-columns:repeat(2,minmax(0,1fr))}
.logo-options label{min-width:0}
.logo-options input[value="/static/brand/wt-wordmark-440.webp"]+span img{width:148px;height:48px;object-fit:contain;max-width:100%}
.design-preview.has-full-logo .preview-masthead #preview-logo{width:148px;height:auto;max-height:38px;object-fit:contain;flex:none}
.design-preview.has-full-logo .preview-masthead>strong{display:none}
@media(max-width:1100px)and (min-width:761px){.reader-header .reader-wordmark:has(>.wt-brand-wordmark){width:190px;max-width:190px;flex-basis:190px}}
@media(max-width:760px){
 .reader-header .reader-wordmark:has(>.wt-brand-wordmark){width:clamp(130px,calc(100vw - 180px),220px);max-width:220px;flex:0 1 auto;min-width:0}
 .reader-header .reader-wordmark>.wt-brand-wordmark{max-height:49px;object-position:left center}
 .reader-header .reader-header-inner{min-height:62px}
 .masthead .wordmark>.wt-brand-wordmark{width:220px;max-height:52px}
 .closed-brand>.wt-brand-wordmark{width:min(220px,70vw)}
}
