/* Story tiles remain visually identical when backed by real links. */
a.swi-guided-card[data-swi-story-link] { color:inherit; text-decoration:none; box-sizing:border-box; }
a.swi-guided-card[data-swi-story-link]:focus-visible { outline:2px solid #f15a24; outline-offset:4px; }
/* Server-rendered stories are readable before JavaScript initializes. */
.swi-editorial-answer[data-swi-server-story] img { max-width:100%; height:auto; }
.swi-editorial-answer[data-swi-server-story] video { display:block; max-width:100%; height:auto; }

/* The story supplies its own orange heading; suppress the theme's duplicate.
   Scope to owned story pages so other WordPress headings stay unchanged. */
body.swi-story-destination .wp-block-post-title,
body.swi-story-destination .entry-title,
body.swi-story-destination .page-title {
    display:none !important;
}
body.swi-story-destination main,
body.swi-story-destination .entry-content,
body.swi-story-destination .wp-block-post-content,
body.swi-story-destination .wp-block-group:has(.swi-guided-layout) {
    margin-top:0 !important;
    padding-top:0 !important;
}
body.swi-story-destination main > .wp-block-spacer,
body.swi-story-destination .wp-block-group:has(> .wp-block-post-title):not(:has(.swi-guided-layout)) {
    display:none !important;
}

/* Story pages already remove the theme title gap above. Do not also apply
   the legacy -82px application lift: it overlaps the existing site header. */
body.swi-story-destination .swi-guided-layout.swi-pure-search {
    margin-top: 0 !important;
}
