/* hand-written additions for the CMS templates (blog / case / resources) */

/* CMS image divs: STUDIO set the background per entry in an inline <style>; here it comes from --cms-bg */
.sd.image.cms-bg:before{background-image:var(--cms-bg)}

/* Embed blocks (data-type="embed_code"): on STUDIO they ran inside a sandbox iframe, so neither the page CSS
   nor the rich text rules (a, table, th, td, p, strong ...) reached them. Reproduce that: reset everything
   inside to the browser defaults (inline styles of the embed still apply) and start from the iframe's
   default text style. */
.richText.sd [data-type=embed_code]{color:#000;font-family:Times;font-size:16px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:normal;text-align:start;word-break:normal}
.richText.sd [data-type=embed_code] *{all:revert}

/* /blog "もっと見る": cards beyond the shown ones stay in the HTML */
[data-cms-more] > [data-cms-hidden]{display:none!important}
