.bsbf-resources {max-width: 1600px; margin: 0 auto 60px; }
.bsbf-resources__heading {display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.bsbf-resources__heading h2 {margin: 0 0 7px 0;color: var(--c-black);font-size: 32px;font-weight: 700;line-height: 1.2;text-transform: none;}
.bsbf-resources__heading p {margin: 0; color: var(--c-gray-dark); font-size: 16px; line-height: 1.5; }
.bsbf-resources__heading .bsbf-resources__eyebrow {margin-left: 24px; flex-shrink: 0; font-size: 11px; text-transform: uppercase; }
.bsbf-resources__grid {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.bsbf-resource {display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: var(--c-gray-lightest); }
.bsbf-resource__media {position: relative; aspect-ratio: 2.8 / 1; overflow: hidden; background: var(--c-gray-lighter); }
.bsbf-resource__media::after {content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 25%, color-mix(in srgb, var(--c-gray-lightest) 8%, transparent) 45%, color-mix(in srgb, var(--c-gray-lightest) 30%, transparent) 62%, color-mix(in srgb, var(--c-gray-lightest) 65%, transparent) 80%, color-mix(in srgb, var(--c-gray-lightest) 92%, transparent) 93%, var(--c-gray-lightest) 100%); }
.bsbf-resource__media img {position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.bsbf-resource__type {position: absolute;top: 28px;left: 28px;z-index: 1;padding: 10px 16px;border-radius: 10px;background: var(--c-gray-dark);color: var(--c-white);font-size: 12px;font-weight: 600;line-height: 1.3;}
.bsbf-resource__text {display: flex; flex-direction: column; flex: 1; padding: 24px 28px 28px; }
.bsbf-resource__text h3 {margin: 0 0 6px;color: var(--c-black);font-size: 22px;font-weight: 700;line-height: 1.3;text-transform: none;}
.bsbf-resource__text p {margin: 0 0 14px;color: var(--c-gray-dark);font-size: 15px;line-height: 1.55;}
.bsbf-resource__link {align-self: flex-start; margin-top: 0; color: var(--c-main); font-size: 13px; font-weight: 600; text-decoration: underline; }
@media (max-width: 767px) {
    .bsbf-resources__heading {align-items: flex-start; flex-direction: column; }
    .bsbf-resources__heading h2 {font-size: 28px; }
    .bsbf-resources__heading .bsbf-resources__eyebrow {margin: 14px 0 0; }
    .bsbf-resources__grid {grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .bsbf-resource__type {top: 20px; left: 20px; }
    .bsbf-resource__text {padding: 20px; }
}
.bsbf-featured {max-width: 1600px; margin: 0 auto 60px; }
.bsbf-featured .webinars .item.bsbf-large .icons .favourite {color: var(--c-white); }
.bsbf-terms {margin: 60px 0 0; text-align: center; font-size: 14px; }
#bsbf-terms-modal .modal-dialog {height: calc(100vh - 60px); height: calc(100dvh - 60px); min-height: 0; margin-top: 30px; margin-bottom: 30px; }
#bsbf-terms-modal .modal-content {display: flex; flex-direction: column; max-height: 100%; overflow: hidden; }
#bsbf-terms-modal .modal-header {flex-shrink: 0; }
#bsbf-terms-modal .modal-body {flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; }
#bsbf-terms-modal .modal-body h2 {margin: 0 0 20px; color: var(--c-black); font-size: 26px; font-weight: 700; text-transform: none; }
#bsbf-terms-modal .modal-body h2 ~ h2, #bsbf-terms-modal .modal-body h3 {margin: 24px 0 12px; color: var(--c-black); font-size: 20px; font-weight: 700; text-transform: none; }
#bsbf-terms-modal .modal-header .close {top: 12px;right: 12px;width: 36px;height: 36px;padding: 0;margin: 0;display: flex;align-items: center;justify-content: center;line-height: 1;z-index: 5;background: var(--c-main);color: #fff;border-radius: 50%;}
#bsbf-terms-modal .modal-body h2:first-of-type {padding-right: 36px;margin-bottom: 8px;}
.bsbf-featured__heading {display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.bsbf-featured__heading h2 {margin: 0; font-size: 32px; font-weight: 700; text-transform: none; }
.bsbf-featured__heading p {margin: 0; color: var(--c-gray-dark); font-size: 14px; }
.bsbf-featured .webinars {grid-template-columns: minmax(0, 1fr); }
.bsbf-featured .webinars .item.bsbf-large, .bsbf-featured .webinars .item.bsbf-large:hover {display: grid; grid-template-columns: 45% 55%; grid-template-rows: 1fr auto; background: var(--c-main); transform: none; box-shadow: none; color: var(--c-white); min-height: 360px; }
.bsbf-featured .webinars .item.bsbf-large::after {display: none; }
.bsbf-featured .webinars .item.bsbf-large .ce-credits {top: 30px; left: 30px; transform: scale(1.2); transform-origin: top left; }
.bsbf-featured .webinars .item.bsbf-large .bg {grid-column: 1; grid-row: 1 / 3; margin: 0; position: relative; min-height: 360px; }
.bsbf-featured .webinars .item.bsbf-large .bg::after {content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 55%, var(--c-main)); }
.bsbf-featured .webinars .item.bsbf-large .bg img, .bsbf-featured .webinars .item.bsbf-large:hover .bg img {width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; filter: none; transform: none; }
.bsbf-featured .webinars .item.bsbf-large .text, .bsbf-featured .webinars .item.bsbf-large:hover .text {position: relative; inset: auto; grid-column: 2; grid-row: 1; padding: 32px 56px 16px 0; align-content: center; gap: 0; }
.bsbf-featured .webinars .item.bsbf-large .text .name, .bsbf-featured .webinars .item.bsbf-large:hover .text .name {font-size: clamp(26px, 2.3vw, 36px); font-weight: 700; color: var(--c-white); margin: 0; top: 0; -webkit-line-clamp: unset; }
.bsbf-featured .webinars .item.bsbf-large .text .speakers {flex-basis: 100%; margin: 16px 0 0; }
.bsbf-featured .webinars .item.bsbf-large .text .speakers .speaker p {color: var(--c-white); }
.bsbf-featured .webinars .item.bsbf-large .text .speakers .speaker p span {color: var(--c-white); font-size: 12px; opacity: 1; }
.bsbf-featured .webinars .item.bsbf-large .text .speakers .speaker img, .bsbf-featured .webinars .item.bsbf-large:hover .text .speakers .speaker img {width: 60px; height: 60px; }
.bsbf-featured .webinars .item.bsbf-large .buttons, .bsbf-featured .webinars .item.bsbf-large:hover .buttons {display: block; position: relative; grid-column: 2; grid-row: 2; left: auto; bottom: auto; padding: 0 56px 32px 0; margin: 0; z-index: 10; }
.bsbf-featured .webinars .item.bsbf-large .buttons .btn {background: var(--c-black);border-color: var(--c-black);color: var(--c-white);text-transform: none;height: auto;padding: 13px 22px;line-height: 1.2;font-size: 15px;}
.bsbf-featured .webinars .item.bsbf-large .icons {right: 30px; bottom: 32px; height: 46px; display: flex; align-items: center; }
.bsbf-featured .webinars .item.bsbf-large .text .meta {flex-basis: 100%; gap: 14px; margin: 0 0 10px; color: var(--c-white); }
.bsbf-featured .webinars .item.bsbf-large .text .meta .type, .bsbf-featured .webinars .item.bsbf-large:hover .text .meta .type {margin: 0;padding: 8px 12px;border: 0;border-radius: 4px;background: var(--c-white);color: var(--c-black);font-weight: 700;text-transform: uppercase;}
.bsbf-featured .webinars .item.bsbf-large .text .meta .date {margin: 0;color: var(--c-white);font-size: 17px;line-height: 1.1;}
.bsbf-featured .webinars .item.bsbf-large .buttons .btn:hover {background: var(--c-white); border-color: var(--c-white); color: var(--c-black); }
.bsbf-featured .webinars .item.bsbf-large:hover .text .speakers .speaker p {font-size: 15px; }
.bsbf-featured .webinars .item.bsbf-large:hover .text .speakers .speaker p span { }
@media (max-width: 767px) {
.bsbf-featured__heading {flex-direction: column; gap: 10px; }
.bsbf-featured .webinars .item.bsbf-large, .bsbf-featured .webinars .item.bsbf-large:hover {grid-template-columns: minmax(0, 1fr); } 
.bsbf-featured .webinars .item.bsbf-large .bg {grid-row: 1; min-height: 250px; }
.bsbf-featured .webinars .item.bsbf-large .bg::after {background: linear-gradient(180deg, transparent 55%, var(--c-main)); }
.bsbf-featured .webinars .item.bsbf-large .text, .bsbf-featured .webinars .item.bsbf-large:hover .text {grid-column: 1; grid-row: 2; padding: 24px 24px 16px; }
.bsbf-featured .webinars .item.bsbf-large .buttons, .bsbf-featured .webinars .item.bsbf-large:hover .buttons {grid-column: 1; grid-row: 3; left: auto; padding: 0 24px 32px; }
}
.bsbf-program {color: var(--c-black); }
.bsbf-program *, .bsbf-program *::before, .bsbf-program *::after {box-sizing: border-box; }
.bsbf-hero-container {width: 100%; max-width: 1600px; margin: 0 auto 60px; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 32px color-mix(in srgb, var(--c-black) 12%, transparent); }
.bsbf-hero {position: relative; isolation: isolate; overflow: hidden; background: var(--c-gray-lightest); }
.bsbf-hero::before {content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, color-mix(in srgb, var(--c-white) 96%, transparent) 0%, color-mix(in srgb, var(--c-white) 85%, transparent) 22%, color-mix(in srgb, var(--c-white) 40%, transparent) 29%, transparent 34%); }
.bsbf-hero__image {position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; object-fit: cover; object-position: calc(50% + 100px) center; }
.bsbf-hero__inner {width: 90%; max-width: 1440px; min-height: clamp(390px, 37.4vw, 600px); margin: 0 auto; display: flex; align-items: center; padding: 56px 0; }
.bsbf-hero__content {width: 100%; }
.bsbf-hero__heading {display: flex; align-items: center; margin: 0 0 20px; }
.bsbf-hero__logo {display: block;width: 160px;height: auto;flex-shrink: 0;margin-right: 25px;}
.bsbf-hero h1 {margin: 0;color: var(--c-black);font-family: inherit;font-size: clamp(28px, 2.8vw, 43px);font-weight: 400;line-height: 1;letter-spacing: -0.02em;text-transform: none;text-transform: uppercase;}
.bsbf-hero h1 strong {color: var(--c-main);font-weight: 700;font-size: 126%;}
.bsbf-hero__description {max-width: 345px;margin: 0 0 40px;font-size: 18px;line-height: 1.55;}
.bsbf-hero__community {border-left: 2px solid var(--c-main);padding: 5px 0 2px 13px;}
.bsbf-hero__community-label {margin: 0; font-size: 14px; font-weight: 700; line-height: 1.5; text-transform: uppercase; }
.bsbf-hero__count {margin: 0; color: var(--c-main); font-size: clamp(44px, 4.4vw, 68px); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.bsbf-hero__growing {margin: 3px 0 0; font-size: 14px; line-height: 1.5; font-weight: 400; }
/* Equal-width digits, so the number doesn't jiggle while it counts up. */
[data-bsbf-count] {font-variant-numeric: tabular-nums; }
.bsbf-journey {background: var(--c-gray-lightest); }
.bsbf-journey__inner {width: 90%; max-width: 1440px; margin: 0 auto; padding: 19px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bsbf-journey h2 {flex-shrink: 0; margin: 0; color: var(--c-main); font-family: inherit; font-size: 12px; font-weight: 700; line-height: 1.5; text-transform: uppercase; }
.bsbf-journey__steps {display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; color: var(--c-gray-dark); font-size: 14px; font-weight: 400; line-height: 1.5; }
.bsbf-journey__steps li {margin: 0; }
.bsbf-journey__steps .fa-arrow-right {display: inline-block;margin-right: 10px;color: var(--c-gray-dark);opacity: 0.5;font-weight: 300;font-size: 75%;}
@media (min-width: 1200px) and (max-width: 1399px) {
.bsbf-journey__inner {gap: 16px; }
.bsbf-journey__steps {gap: 6px; font-size: 12px; }
.bsbf-journey__steps .fa-arrow-right {margin-right: 6px; }
}
@media (max-width: 1199px) {
.bsbf-journey__inner {align-items: flex-start; flex-direction: column; gap: 16px; padding: 24px 0; }
.bsbf-journey__steps {display: grid; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; font-size: 13px; }
.bsbf-journey__steps .fa-arrow-right {display: none; }
}
@media (max-width: 767px) {
.bsbf-hero-container, .bsbf-featured, .bsbf-resources {margin-bottom: 32px; }
.bsbf-terms {margin-top: 32px; }
.bsbf-hero {background: var(--c-white); }
.bsbf-hero::before {display: none; }
.bsbf-hero__image {position: relative; height: auto; max-height: 280px; aspect-ratio: 2.1 / 1; object-position: center; }
.bsbf-hero__inner {position: relative;z-index: 0;min-height: 0;margin-top: -42px;padding: 16px 20px 36px;width: 100%;}
.bsbf-hero__inner::before {content: ''; position: absolute; z-index: -1; top: -96px; bottom: 0; left: -5.555556%; width: 111.111112%; background: linear-gradient(180deg, transparent 0, color-mix(in srgb, var(--c-white) 15%, transparent) 20px, color-mix(in srgb, var(--c-white) 50%, transparent) 48px, color-mix(in srgb, var(--c-white) 85%, transparent) 76px, var(--c-white) 96px); pointer-events: none; }
.bsbf-hero__logo {width: 72px; margin-right: 16px; }
.bsbf-hero h1 {max-width: 430px; font-size: clamp(22px, 5vw, 36px); }
.bsbf-hero__description {max-width: none; }
.bsbf-journey__steps {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; font-size: 13px; }
} 

/* Compendium cover belongs only to this BSBF resource card. */
.bsbf-resource--compendium {position: relative; isolation: isolate; }
.bsbf-resource--compendium .bsbf-resource__cover {position: absolute; z-index: 2; right: 28px; bottom: 0; display: block; width: clamp(100px, 24%, 160px); height: auto; box-shadow: 0 4px 18px rgb(0 0 0 / .2); }
.bsbf-resource--compendium .bsbf-resource__text {padding-right: calc(28% + 36px); }
@media (max-width: 575.98px) {
    .bsbf-resource--compendium .bsbf-resource__cover {right: 20px; width: 90px; }
    .bsbf-resource--compendium .bsbf-resource__text {min-height: 170px; padding-right: 132px; }
}

.bsbf-resource--compendium .bsbf-resource__cover img {display: block; width: 100%; height: auto; }
.bsbf-resource--compendium .bsbf-resource__cover:focus-visible {outline: 3px solid var(--c-main); outline-offset: 3px; }

/* Keep text readable over photographs and the red webinar in dark mode. */
body.dark-mode .bsbf-hero::before {background: linear-gradient(90deg, #111 0%, rgb(17 17 17 / .98) 30%, rgb(17 17 17 / .90) 46%, rgb(17 17 17 / .45) 57%, transparent 72%); }
body.dark-mode .bsbf-hero-container {box-shadow: 0 8px 32px rgb(0 0 0 / .35); }
@media (max-width: 1600px) {
    .bsbf-hero-container, body.dark-mode .bsbf-hero-container {border-radius: 0; box-shadow: none; }
}
body.dark-mode .bsbf-featured .webinars .item.bsbf-large {--c-white: #fff; --c-black: #000; }
body.dark-mode .bsbf-resource__type {background: #444; color: #fff; }
body.dark-mode .bsbf-resource__link {color: #ff7079; }
body.dark-mode .bsbf-resource__link:hover {color: #ff9aa1; }

/* Compact banner used only on the single webinar page. */
.bsbf-hero--webinar {width: calc(100% + 90px); max-width: none; margin-left: -45px; margin-right: -45px; margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.bsbf-hero--webinar + .webinar-header, .bsbf-hero--webinar + .webinar-header .bg, .bsbf-hero--webinar + .webinar-header::after {border-top-left-radius: 0; border-top-right-radius: 0; }
.bsbf-hero--webinar .bsbf-hero__inner {width: auto; max-width: none; min-height: clamp(150px, 16vw, 200px); margin: 0 45px; padding: 18px 0; }
.bsbf-hero--webinar .bsbf-hero__content {width: 55%;display: grid;grid-template-columns: minmax(0, 1fr) 270px;gap: 8px 24px;align-items: center;}
.bsbf-hero--webinar .bsbf-hero__heading {margin: 0; }
.bsbf-hero--webinar .bsbf-hero__logo {width: 64px; margin-right: 16px; }
.bsbf-hero--webinar h1 {font-size: clamp(18px, 1.8vw, 26px); line-height: 1.1; }
.bsbf-hero--webinar .bsbf-hero__description {max-width: 440px;margin: 0;font-size: 14px;line-height: 1.4;}
.bsbf-hero--webinar .bsbf-hero__community {grid-column: 2; grid-row: 1 / 3; padding-left: 24px; }
.bsbf-hero--webinar .bsbf-hero__community-label {font-size: 11px; }
.bsbf-hero--webinar .bsbf-hero__count {font-size: 54px;}
.bsbf-hero--webinar .bsbf-hero__growing {font-size: 11px; }
@media (min-width: 768px) {
    .bsbf-hero--webinar {background: var(--c-white); }
    .bsbf-hero--webinar .bsbf-hero__image {left: auto; right: 0; width: 65%; object-position: right 25%; }
    .bsbf-hero--webinar::before, body.dark-mode .bsbf-hero--webinar::before {background: linear-gradient(90deg, var(--c-white) 35%, color-mix(in srgb, var(--c-white) 90%, transparent) 43%, transparent 62%); }
}
@media (max-width: 767px) {
    .bsbf-hero--webinar {width: calc(100% + 40px); margin-left: -20px; margin-right: -20px; }
    .bsbf-hero--webinar .bsbf-hero__image {position: absolute; height: 100%; max-height: none; aspect-ratio: auto; object-position: right center; }
    .bsbf-hero--webinar .bsbf-hero__inner {min-height: 200px; margin: 0 20px; padding: 16px 0; }
    .bsbf-hero--webinar .bsbf-hero__inner::before {top: 0; left: -20px; width: calc(100% + 40px); background: linear-gradient(90deg, var(--c-white) 0%, color-mix(in srgb, var(--c-white) 96%, transparent) 65%, color-mix(in srgb, var(--c-white) 55%, transparent) 100%); }
    .bsbf-hero--webinar .bsbf-hero__content {display: block; width: 100%; }
    .bsbf-hero--webinar .bsbf-hero__heading {margin-bottom: 8px; }
    .bsbf-hero--webinar .bsbf-hero__logo {width: 44px; margin-right: 12px; }
    .bsbf-hero--webinar h1 {font-size: clamp(16px, 3.5vw, 24px); }
    .bsbf-hero--webinar .bsbf-hero__description {font-size: 12px; margin-bottom: 10px; }
    .bsbf-hero--webinar .bsbf-hero__community {display: flex; align-items: center; gap: 8px; padding: 0 0 0 20px; }
    .bsbf-hero--webinar .bsbf-hero__community-label {max-width: 110px; font-size: 10px; }
    .bsbf-hero--webinar .bsbf-hero__count {font-size: 28px; }
    .bsbf-hero--webinar .bsbf-hero__growing {margin: 0; font-size: 10px; }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .bsbf-hero::before, body.dark-mode .bsbf-hero::before {background: linear-gradient(90deg, var(--c-white) 0%, color-mix(in srgb, var(--c-white) 98%, transparent) 14%, color-mix(in srgb, var(--c-white) 90%, transparent) 38%, color-mix(in srgb, var(--c-white) 40%, transparent) 66%, transparent 78%); }
    .bsbf-hero__image {object-position: calc(50% + 0px) center;}
}

/* BSBF card in the webinar sidebar. */
.bsbf-sidebar.bsbf-hero-container {width: 100%; margin: 0 0 24px; border: 1px solid color-mix(in srgb, var(--c-black) 10%, transparent); border-radius: 20px; overflow: hidden; box-shadow: none; color: var(--c-black); }
.bsbf-sidebar *, .bsbf-sidebar *::before, .bsbf-sidebar *::after {box-sizing: border-box; }
.bsbf-sidebar .bsbf-hero {background: var(--c-white); }
.bsbf-sidebar .bsbf-hero::before {display: none; }
.bsbf-sidebar .bsbf-hero__image {position: relative; inset: auto; top: -10px; margin-bottom: -10px; width: 100%; height: auto; max-height: none; aspect-ratio: 2 / 1; object-fit: cover; object-position: right center; }
.bsbf-sidebar .bsbf-hero__inner {position: relative; z-index: 0; width: 100%; min-height: 0; margin: -32px 0 0; padding: 12px 24px 24px; }
.bsbf-sidebar .bsbf-hero__inner::before {content: ''; position: absolute; z-index: -1; top: -96px; bottom: 0; left: 0; width: 100%; height: auto; background: linear-gradient(180deg, transparent 0, color-mix(in srgb, var(--c-white) 8%, transparent) 20px, color-mix(in srgb, var(--c-white) 30%, transparent) 44px, color-mix(in srgb, var(--c-white) 65%, transparent) 68px, color-mix(in srgb, var(--c-white) 92%, transparent) 88px, var(--c-white) 104px); pointer-events: none; }
.bsbf-sidebar .bsbf-hero__content {width: 100%; }
.bsbf-sidebar .bsbf-hero__heading {display: flex; align-items: center; gap: 14px; margin: 0; }
.bsbf-sidebar .bsbf-hero__logo {width: 72px; height: auto; flex-shrink: 0; margin: 0; }
.bsbf-sidebar .bsbf-sidebar__title {min-width: 0; margin: 0; padding: 0; color: var(--c-black); font-size: clamp(18px, 1.5vw, 23px); font-weight: 400; line-height: 1.2; text-transform: uppercase; }
.bsbf-sidebar .bsbf-sidebar__title strong {display: block; color: var(--c-main); font-weight: 700; }
.bsbf-sidebar .bsbf-journey__inner {width: 100%; padding: 22px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.bsbf-sidebar .bsbf-journey__steps {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 36px; width: 100%; margin: 0; padding: 0; font-size: 12px; line-height: 1.4; }
.bsbf-sidebar .bsbf-journey__steps li {margin: 0; }
.bsbf-sidebar .bsbf-journey__steps .fa-arrow-right {display: none; }
.bsbf-sidebar .bsbf-journey__steps li:nth-child(even) {position: relative; }
.bsbf-sidebar .bsbf-journey__steps li:nth-child(even) .fa-arrow-right {display: block; position: absolute; left: -23px; top: 50%; transform: translate(-50%, -50%); margin: 0; font-size: 9px; }
