/*
 * What every experts-opinion module page needs and a module's own CSS cannot carry. That CSS is uploaded by a
 * content manager into storage, which has no place for a font, and it only knows the modules that existed when
 * it was made.
 */

/* The markup sets the handwritten examples popup in Caveat. */
@font-face {
    font-family: Caveat;
    src: url('../../fonts/Caveat/Caveat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* The card slider shows every module on every module page, so pages 1-4 need the fifth card's icon too. */
#hbp-page .icon-bg--module-5,
.hbp-page .icon-bg--module-5 {
    background-image: url('../../images/experts-opinion/modules/icon_module_5.svg');
}

#hbp-page .hover-block.hover-block--active .experts-module .icon-bg--module-5,
#hbp-page .hover-block.hover-block--active .hbp-page .experts-module .icon-bg--module-5 {
    background-image: url('../../images/experts-opinion/modules/icon_module_5_active.svg');
}

/*
 * The markup paints the play overlay solid because it has no poster under it, and a module's CSS carries that
 * rule with !important. On the site the overlay sits over the video poster, so it only tints it.
 */
#hbp-page .expert-video-section .bgp-block-container.bgp-block__video .video-preview,
.hbp-page .expert-video-section .bgp-block-container.bgp-block__video .video-preview {
    background: rgba(52, 76, 104, 0.5) !important;
}
