/*
 * TBT Tooltip — Divi Hacks legacy layer.
 *
 * Keeps old lessons looking exactly the same after the Divi Hacks plugin
 * is removed. Every rule is prefixed with a body:not(...) check on the
 * body classes Divi Hacks adds, so nothing here applies while Divi Hacks
 * is still active: the two can never fight over the same element.
 *
 * Contents:
 *  1. Legacy tooltip source modules (.tooltip-content-N) — hidden; the
 *     legacy JS bridge copies their text into native TBT bubbles.
 *  2. Body overflow rule from divi-hacks/styles/misc.css.
 *  3. Blurb hover effects 4, 5 and 10 from divi-hacks/styles/blurb-effects.css
 *     (the only effects used on the site, Nov 2026: effect 4 is the category
 *     badge in ~600 lesson headers). Copied verbatim apart from the prefix.
 */

/* 1. Legacy tooltip sources. Not hidden in the Divi Visual Builder (.et-fb)
      so they stay editable there. */
body:not([class*="divi-hacks-"]):not(.et-fb) [class^="tooltip-content-"],
body:not([class*="divi-hacks-"]):not(.et-fb) [class*=" tooltip-content-"] {
    display: none !important;
}

.tbt-tooltip-legacy {
    cursor: pointer;
}

/* 2. From divi-hacks/styles/misc.css. */
body:not([class*="divi-hacks-"]) {
    width: 100vw;
    overflow-x: hidden !important;
}

/* 3. Blurb effects 4, 5, 10 (rule order kept as in the original file). */
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4.show-title .et_pb_blurb_container{background: transparent; transform: none; opacity: 1 !important;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4.show-title .et_pb_blurb_description{transform: scale(0) rotate(-180deg); transition: 0.4s ease-in;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4.show-title:hover .et_pb_blurb_description{transform: scale(1) rotate(0deg);}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4.show-title:hover .et_pb_blurb_container{background: inherit;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4.show-title .et_pb_module_header{transform: translateY(0%); height: auto; position: absolute; bottom: 0px; opacity: 1 !important;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4.show-title:hover .et_pb_module_header{transform: translateY(0%); position: relative; margin: 0px auto 5px; opacity: 1 !important;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4.show-title:not(:hover) .et_pb_module_header{width: 100%;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4.show-title.et_pb_bg_layout_dark .et_pb_module_header{border-bottom: 1px solid rgba(255, 255, 255, 0) !important;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4.show-title.et_pb_bg_layout_dark:hover .et_pb_module_header{border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4.show-title.et_pb_bg_layout_light .et_pb_module_header{border-bottom: 1px solid rgba(255, 255, 255, 0) !important;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4.show-title.et_pb_bg_layout_light:hover .et_pb_module_header{border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-5.show-title .et_pb_blurb_container{background: transparent; transform: none; opacity: 1 !important;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-5.show-title:hover .et_pb_blurb_container{background: inherit;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-5.show-title .et_pb_module_header{transform: translateY(0%); transition: 0.3s ease-in-out; height: auto; position: absolute; width: 100%; bottom: 0px; opacity: 1 !important;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-5.show-title:hover .et_pb_module_header{transform: translateY(0%); position: relative; opacity: 1 !important;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-5.show-title .et_pb_blurb_description{transform: translateX(-100%); transition: 0.3s ease-in-out;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-5.show-title:hover .et_pb_blurb_description{transform: translateX(0px);}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-10.show-title .et_pb_blurb_container{background: transparent; transform: none; opacity: 1 !important;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-10.show-title:hover .et_pb_blurb_container{background: inherit;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-10.show-title .et_pb_module_header{transform: translateY(0%); transition: 0.3s ease-in-out; height: auto; position: absolute; width: 100%; bottom: 0px; opacity: 1 !important;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-10.show-title:hover .et_pb_module_header{transform: translateY(0%); position: relative; opacity: 1 !important;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-10.show-title .et_pb_blurb_description{transform: translateY(100%);}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-10.show-title:hover .et_pb_blurb_description{transform: translateY(0%);}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4,body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-5,body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-10{overflow: hidden; position: relative; text-align: center;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4 .et_pb_blurb_content,body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-5 .et_pb_blurb_content,body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-10 .et_pb_blurb_content{overflow: hidden; background: inherit; border-radius: inherit; max-width: 100%;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4.hide-title .et_pb_module_header,body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-5.hide-title .et_pb_module_header,body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-10.hide-title .et_pb_module_header{display: none;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4 .et_pb_blurb_container,body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-5 .et_pb_blurb_container,body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-10 .et_pb_blurb_container{position: absolute; overflow: hidden; top: 0px; left: 0px; height: 100%; width: 100%; opacity: 0; transition: 0.4s ease-in-out; border-radius: inherit; background: inherit; display: flex; flex-direction: column; justify-content: center; align-items: center;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4 .et_pb_main_blurb_image,body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-5 .et_pb_main_blurb_image,body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-10 .et_pb_main_blurb_image{position: relative; display: block !important; margin-bottom: 0px !important;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4 .et_pb_main_blurb_image{transition: 0.4s ease-in-out 0.2s; opacity: 1; border-radius: inherit; overflow: hidden;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4 .et_pb_blurb_container{background-color: inherit; opacity: 0; transform: scale(0) rotate(-180deg); transition: 0.4s ease-in; border-radius: 0px;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4 .et_pb_module_header{opacity: 0; background: transparent; margin: 0px 0px 5px; transition: 0.5s ease-in-out; padding: 10px 0px;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4.et_pb_bg_layout_light .et_pb_module_header{border-bottom: 1px solid rgba(0, 0, 0, 0.5);}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4.et_pb_bg_layout_dark .et_pb_module_header{border-bottom: 1px solid rgba(255, 255, 255, 0.5);}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4 .et_pb_blurb_description{opacity: 0; transition: 0.5s ease-in-out; padding: 0px 20px;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4:hover .et_pb_blurb_container{opacity: 1; transform: scale(1) rotate(0deg); transition-delay: 0.2s;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4:hover .et_pb_main_blurb_image{transform: scale(0) rotate(180deg); opacity: 0; transition-delay: 0s;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4:hover .et_pb_module_header,body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-4:hover .et_pb_blurb_description{opacity: 1; transition-delay: 0.1s;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-5 .et_pb_main_blurb_image{transition: 0.3s ease-in-out;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-5 .et_pb_blurb_container{background: inherit; transform: translateX(-100%); opacity: 1; transition: 0.3s ease-in-out;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-5 .et_pb_module_header{padding: 10px 20px;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-5 .et_pb_blurb_description{opacity: 0; transition: 0.2s linear; padding: 0px 20px;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-5:hover .et_pb_blurb_container{transform: translateX(0px);}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-5:hover .et_pb_blurb_content{border-radius: 0px;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-5:hover .et_pb_main_blurb_image{transform: translateX(100%);}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-5:hover .et_pb_blurb_description{opacity: 1;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-10 .et_pb_main_blurb_image{transition: 0.3s ease-in-out;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-10 .et_pb_blurb_container{background: inherit; transform: translateY(100%); opacity: 1; transition: 0.3s ease-in-out;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-10 .et_pb_module_header{padding: 10px 20px;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-10 .et_pb_blurb_description{opacity: 0; transition: 0.2s linear; padding: 0px 20px;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-10:hover .et_pb_blurb_container{transform: translateY(0px);}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-10:hover .et_pb_blurb_content{border-radius: 0px;}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-10:hover .et_pb_main_blurb_image{transform: translateY(-100%);}
body:not(.divi-hacks-blurb-effects) .et_pb_blurb.blurb-effect-10:hover .et_pb_blurb_description{opacity: 1;}
