/* Idea sections 03-05. Section 03 holds the role-switch demo (role-switch.css); sections 04 and 05 embed their demos
   as pages in docs/demos/ (js/demo-frames.js sizes the frames). */
/* Each idea section ends with its demo; drop the stacked bottom margins before the next section. */
.idea-section .wrap > .role-story:last-child { margin-bottom: 0; }
.role-story > .switch-demo:last-child { margin-bottom: 0; }

/* In the narrower idea sections the controls move below the demo title instead of squeezing it. */
.role-story .switch-demo-heading { flex-wrap: wrap; row-gap: 10px; }
.role-story .switch-playback .button { white-space: nowrap; }

/* Embedded demos keep the spacing of the role-switch demo box. */
.demo-frame { margin: 0 0 42px; }
.demo-frame iframe { display: block; width: 100%; border: 0; background: transparent; }
