/* Feature cards use their format's natural shape, not the timeline card geometry. */
body .wisekal-story-feature{min-width:0}
body .wisekal-story-feature>:is(.wisekal-story-photo,.wisekal-story-copy){min-width:0}
body .wisekal-story-feature :is(h2,.wisekal-story-excerpt,.wisekal-quote-credit){overflow-wrap:anywhere}

/* A quotation and its source form one paper note, without a second grid column. */
body .wisekal-story-feature.wisekal-quote-story{display:block;border-left:4px solid #d99b21}
body .wisekal-story-feature.wisekal-quote-story .wisekal-story-photo{height:auto;min-height:0;overflow:visible}
body .wisekal-story-feature.wisekal-quote-story .bwp-format-quote{display:block;height:auto;min-height:0;margin:0;padding:40px 40px 12px;border:0;border-radius:0;background:transparent;box-shadow:none}
body .wisekal-story-feature.wisekal-quote-story .bwp-quote-mark{left:15px;top:6px}
body .wisekal-story-feature.wisekal-quote-story blockquote{max-width:900px;margin-inline:auto!important}
body .wisekal-story-feature.wisekal-quote-story .wisekal-story-copy{padding:0 36px 24px}
body .wisekal-story-feature.wisekal-quote-story .wisekal-story-copy:empty{display:none}
body .wisekal-story-feature.wisekal-quote-story .wisekal-quote-credit{margin:8px 0 0!important}

/* Gallery stays a complete media card. Its optional text/link is a caption below. */
body .wisekal-filterable-journal .wisekal-story-feature.wisekal-gallery-story{display:block;box-sizing:border-box;width:100%;max-width:none;padding-bottom:0!important}
body .wisekal-story-feature.wisekal-gallery-story .wisekal-story-photo{height:auto;min-height:0}
body .wisekal-filterable-journal .wisekal-journal-results .wisekal-story-feature.wisekal-gallery-story .wisekal-story-photo .bwp-format-gallery{display:block;height:clamp(230px,40vw,440px)!important;aspect-ratio:auto;min-height:0;border-radius:0}
body .wisekal-story-feature.wisekal-gallery-story .bwp-gallery-open{position:relative;display:block;width:100%;height:100%;padding:0;border:0;overflow:hidden;background:transparent}
body .wisekal-story-feature.wisekal-gallery-story .bwp-gallery-open img{display:block;width:100%;height:100%!important;max-height:none;object-fit:cover}
body .wisekal-story-feature.wisekal-gallery-story .wisekal-story-copy{padding:20px 26px}
body .wisekal-story-feature.wisekal-gallery-story .wisekal-story-copy h2{margin-bottom:8px}
body .wisekal-story-feature.wisekal-gallery-story .wisekal-story-excerpt:last-child{margin-bottom:0}
body .wisekal-story-feature.wisekal-gallery-story .wisekal-gallery-actions{padding:0;margin-top:12px}

/* The video cover and the revealed player share the same 16:9 space. */
body .wisekal-story-feature.wisekal-video-story{align-items:start}
body .wisekal-story-feature.wisekal-video-story .wisekal-story-photo{height:auto;min-height:0}
body .wisekal-story-feature.wisekal-video-story .bwp-format-video{height:auto;min-height:0;aspect-ratio:16/9;border-radius:0}
body .wisekal-story-feature.wisekal-video-story :is(.bwp-video-cover,.bwp-video-player){position:absolute;inset:0;width:100%;height:100%}
body .wisekal-story-feature.wisekal-video-story .bwp-video-player :is(video,iframe,figure){width:100%;height:100%;min-height:0;object-fit:contain}

/* Keep the approved corner badges on features in every selectable loop layout. */
body .wisekal-story-feature .bwp-gallery-open::after,
body .wisekal-story-feature .bwp-video-cover-label{position:absolute;top:auto;left:auto;right:14px;bottom:14px;transform:none;display:block;padding:9px 13px;background:#254a38;color:#fffdf7;border:1px solid #fffdf7b3;border-radius:5px;font:600 14px/1.4 var(--wp--preset--font-family--system-sans,sans-serif);box-shadow:0 2px 7px #172c2233;pointer-events:none;z-index:2}
body .wisekal-story-feature .bwp-gallery-open::after{content:'▧  Gallery'}
body .wisekal-story-feature .bwp-video-cover-label::before{content:'▶';margin-right:6px}
body .wisekal-story-feature :is(.bwp-gallery-open,.bwp-video-cover):focus-visible{outline:3px solid #b17a14;outline-offset:-5px}
body .wisekal-story-feature .bwp-gallery-open:hover::after,
body .wisekal-story-feature .bwp-video-cover:hover .bwp-video-cover-label{background:#376348}

@media(max-width:700px){
 body .wisekal-story-feature.wisekal-quote-story .bwp-format-quote{padding:38px 22px 10px}
 body .wisekal-story-feature.wisekal-quote-story .wisekal-story-copy{padding:0 22px 22px}
 body .wisekal-story-feature.wisekal-gallery-story .wisekal-story-copy{padding:20px}
 body .wisekal-filterable-journal .wisekal-journal-results .wisekal-story-feature.wisekal-gallery-story .wisekal-story-photo .bwp-format-gallery{height:auto!important;aspect-ratio:4/3}
 body .wisekal-story-feature.wisekal-video-story{display:block}
}
