/* Headings in the style of InterpreterEducation.cloud (Boost Union "catie" look). */

/* Top bar: lilac rule under the header, as on the Moodle site. */
header.wp-block-template-part{border-bottom:3px solid #B9B0FF}

/* Page title band: the indigo-to-violet gradient of the Moodle home page banner. */
.wp-block-post-content>.wp-block-group.alignfull:first-child:has(>h1){
  background-color:#3B2FA6!important;
  background-image:
    radial-gradient(circle at 88% 18%,rgba(185,176,255,.45) 0,rgba(255,255,255,0) 38%),
    radial-gradient(circle at 8% 110%,rgba(255,255,255,.14) 0,rgba(255,255,255,0) 45%),
    linear-gradient(125deg,#2A2178 0%,#3B2FA6 55%,#5546C9 100%)!important;
  color:#fff;
}
.wp-block-post-content>.wp-block-group.alignfull:first-child:has(>h1) h1{color:#fff;font-weight:600}
.wp-block-post-content>.wp-block-group.alignfull:first-child:has(>h1) p{color:rgba(255,255,255,.92)}
.wp-block-post-content>.wp-block-group.alignfull:first-child:has(>h1) a:not(.wp-block-button__link){color:#fff}
.wp-block-post-content>.wp-block-group.alignfull:first-child:has(>h1) .wp-block-button__link{background:#fff;color:#2A2178;border:2px solid #fff}
.wp-block-post-content>.wp-block-group.alignfull:first-child:has(>h1) .wp-block-button__link:hover{background:#B9B0FF;border-color:#B9B0FF;color:#1B1A2E}
.wp-block-post-content>.wp-block-group.alignfull:first-child:has(>h1) .is-style-outline .wp-block-button__link{background:transparent;color:#fff;border-color:#fff}

/* Section headings: lavender band with an indigo bar on the left, like Moodle course sections. */
.wp-block-post-content h2.wp-block-heading{
  background:#E8E7F0;border-left:6px solid #3B2FA6;border-radius:0 10px 10px 0;
  padding:.45rem 1rem;color:#2A2178;
}
/* On pale bands, use white so the heading still stands out. */
.wp-block-post-content .has-accent-5-background-color>h2.wp-block-heading{background:#fff}

/* Cards: indigo strip across the top. */
.wp-block-group.dg-card{box-shadow:inset 0 4px 0 0 #3B2FA6}
.wp-block-group.dg-card:hover{box-shadow:inset 0 4px 0 0 #3B2FA6,0 6px 20px rgba(42,33,120,.14)}
.dg-card h3.wp-block-heading{color:#3B2FA6}
