/* Shared size floors: rem keeps reading-size preferences effective. Required
   source credits stay present and wrap rather than being clipped or removed. */
/* The photograph itself is a native button, with the same story route as its
   headline. Text, save controls and license links stay above the photo layer. */
html[data-reader-theme] #featured [data-feature-open]{cursor:pointer}
html[data-reader-theme] #featured .feature-image{display:block;position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent;overflow:hidden;z-index:0;cursor:pointer}
html[data-reader-theme] #featured .feature-image img{display:block;position:static;inset:auto;width:100%;height:100%;z-index:auto}
html[data-reader-theme] #featured .feature-card:after{z-index:1;pointer-events:none}
html[data-reader-theme] #featured :is(.feature-topline,.feature-copy){z-index:2}
html[data-reader-theme] #featured .feature-image:focus-visible{outline:3px solid var(--reader-link);outline-offset:-5px}
html:is([data-reader-size=large],[data-reader-size=extra-large],[data-reader-font=atkinson],[data-reader-font=opendyslexic],[data-reader-spacing=relaxed],[data-reader-theme=light],[data-reader-theme=paper]) #featured .feature-image{position:static;inset:auto;height:220px;flex:none}
@media(max-width:760px){html[data-reader-theme] #featured .feature-image{position:static;inset:auto;height:210px;flex:none}}
html[data-reader-theme] #featured .feature-source-photo>.feature-image{position:static;inset:auto;height:auto;max-height:300px;flex:none}
html[data-reader-theme] #featured .feature-source-photo>.feature-image img{height:auto;max-height:300px;object-fit:contain!important;transform:none!important;background:var(--bg)}
html[data-reader-theme] :is(.utility-inner,.utility-inner .beta-tools,.premium-button,.beta-label,.beta-feedback,.utility-accessibility,.meta,.meta time,.reuse-credit,.image-credit,.source-photo-credit,.source-check,.read-time,.collection-status,.saved-status,.day-label,.tag,.eyebrow,.context-label,.excerpt-attribution,.source-byline,.reprint-notice,.context-reviewed,.context-intro,.dialog-note,.visual-caption,.footer-bottom,.footer-legal,.legal-footer,.legal-date,.feed-tools,.feed-tools select,.text-story-marker,.prototype-note,.premium-scope,.premium-availability,.premium-limit-availability,.premium-preview>span,.plan-name,.plan-price>span,.plan-billing,.premium-billing-summary,.reading-font-note,.light-second-category,.light-second-schedule,.section-label>span,.section-label h2,.load-area>span){font-size:max(.75rem,12px)!important;line-height:1.6}
html[data-reader-theme] :is(.image-credit,.reuse-credit,.meta,.collection-status,.footer-legal,.legal-footer,.beta-tools){overflow-wrap:anywhere;white-space:normal}
html[data-reader-theme] :is(button:not(.story-title-button),.visual-credit-details summary,.reader-notes summary,.context-evidence summary,.source-figure summary,.utility-accessibility,.beta-feedback,.footer-legal a,.legal-footer a,.daily-archive a){min-width:44px;min-height:44px}
html[data-reader-theme] #featured .feature-topline .bookmark{min-width:44px;min-height:44px;flex-shrink:0}
html[data-reader-theme] :is(.icon-button,.bookmark){width:44px;height:44px;flex-shrink:0}
html[data-reader-theme] :is(.utility-accessibility,.beta-feedback,.footer-legal a,.legal-footer a){display:inline-flex;align-items:center}
html[data-reader-theme] .utility-inner{height:auto;gap:4px 18px;flex-wrap:wrap;padding-block:4px}
html[data-reader-theme] .beta-tools{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px}
html[data-reader-theme] .beta-label{padding:2px 5px}
html[data-reader-theme] .header{height:auto;min-height:100px;gap:12px;padding-block:18px;flex-wrap:wrap}
html[data-reader-theme] .brand-shell{display:flex;align-items:center;flex-wrap:wrap;gap:8px;max-width:100%}
html[data-reader-theme] .logo-motion-toggle{position:static;opacity:1;flex-shrink:0}
html[data-reader-theme] .header-actions{min-height:44px;flex-shrink:0}
html[data-reader-theme] .saved-button{min-height:44px;padding:8px}
html[data-reader-theme] .card-footer{flex-wrap:wrap;gap:8px 12px}
html[data-reader-theme] .meta{flex-wrap:wrap;gap:4px 7px}
html[data-reader-theme] .feed-tools select{min-height:44px;max-width:100%}
html[data-reader-theme] .category{flex-shrink:0;min-width:max-content}
html[data-reader-theme] .collection-status{align-items:center;gap:8px 18px}
html[data-reader-theme] .feature-copy .image-credit{max-height:none;overflow:visible}
/* Let desktop overlay cards contribute their text height to the grid. Larger
   credits must not collide with the category/save row or be clipped. */
@media(min-width:761px){
 html[data-reader-theme] #featured .feature-card:not(.feature-source-photo){display:flex;flex-direction:column;height:auto;min-width:0}
 html[data-reader-theme] #featured .feature-card:not(.feature-source-photo) .feature-copy{position:relative;inset:auto;left:auto;right:auto;bottom:auto;margin-top:auto;padding:20px;min-width:0}
 /* Reserve photo space only while text actually overlays the image. */
 html[data-reader-theme=dark][data-reader-size=standard][data-reader-font=standard][data-reader-spacing=standard] #featured .feature-card:not(.feature-source-photo):not(.feature-text) .feature-copy{padding:110px 24px 24px}
 html[data-reader-theme] #featured .feature-card:not(.feature-source-photo) .feature-topline{z-index:3}
 html[data-reader-theme] #featured .feature-copy .visual-credit-details{max-width:100%;overflow-wrap:anywhere}
}
@media(max-width:760px){
 html[data-reader-theme] .header .brand{gap:14px}
 html[data-reader-theme] .header-actions{margin-left:auto}
 html[data-reader-theme] .feed-top{align-items:flex-start;gap:16px;flex-wrap:wrap}
 html[data-reader-theme] .feed-tools{max-width:100%;align-items:flex-start}
 html[data-reader-theme] #featured .feature-topline .tag{max-width:calc(100% - 56px)}
 html[data-reader-theme] .footer-legal{gap:8px 18px}
}

/* Pricing units wrap at narrow widths instead of forcing the larger labels outside a plan. */
html[data-reader-theme] .plan-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px;white-space:normal}
html[data-reader-theme] .plan-price>span{margin-left:0}
