/* BABADIVING S4: shared page frame, brand lockup and optional ocean theme. */
body #sp-header>.container>.container-inner{padding:0!important}
html[data-theme=dark] .bl-shell{color:var(--baba-ink)!important}
html[data-theme=dark] #splms,html[data-theme=dark] #splms .splms-course-description,html[data-theme=dark] #splms .splms-course-description p,html[data-theme=dark] #splms .course-info li{color:var(--baba-ink)!important}
html[data-theme=dark] #splms .card,html[data-theme=dark] #splms .card-header,html[data-theme=dark] #splms .card-body,html[data-theme=dark] #splms .splms-course-quizzes li,html[data-theme=dark] #splms .course-lessons li{background:var(--baba-soft)!important;color:var(--baba-ink)!important;border-color:var(--baba-line)!important}
body #sp-main-body .sppb-container-inner>.sppb-row{margin-left:0!important;margin-right:0!important;width:100%}
body #sp-main-body .sppb-container-inner>.sppb-row>[class*=sppb-col-]{padding-left:0!important;padding-right:0!important;min-width:0}
:root{--baba-width:1192px;--baba-gutter:32px;--baba-frame:min(var(--baba-width),calc(100% - 2 * var(--baba-gutter)));--baba-space:64px;--baba-bg:#fff;--baba-panel:#fff;--baba-soft:#edf5f5;--baba-ink:#163b4b;--baba-muted:#526e79;--baba-line:#cfdfe3;--baba-link:#00777e;--baba-gold:#edc573}
html{scrollbar-gutter:stable;scroll-behavior:smooth}body{background:var(--baba-bg)!important;color:var(--baba-ink)!important;overflow-wrap:break-word}body #sp-main-body{width:100%;max-width:none;padding:0!important;margin:0!important;min-width:0}body #sp-main-body>.row{margin-left:0!important;margin-right:0!important;width:100%}body #sp-main-body>.row>#sp-component{padding-left:0!important;padding-right:0!important;min-width:0;width:100%}body #sp-component>.sp-column{min-width:0}
body #sp-main-body .wrap,body #sp-main-body .b2-shell,body #sp-main-body .bl-shell,body #sp-main-body .baba-gallery-shell{width:var(--baba-frame)!important;max-width:var(--baba-width)!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
body #sp-main-body .section.wrap,body #sp-main-body .bl-shell,body #sp-main-body .baba-gallery-shell{padding-top:var(--baba-space);padding-bottom:var(--baba-space)}body #sp-main-body .reading>p,body #sp-main-body .reading>ul,body #sp-main-body .reading>details{max-width:860px}body #sp-main-body .b3-about-grid>div>p{max-width:800px}body #sp-footer>.container{width:var(--baba-frame)!important;max-width:var(--baba-width)!important;padding-left:0!important;padding-right:0!important}body #sp-footer>.container>.container-inner{padding:0!important}
body #sp-header{height:108px!important}body #sp-header>.container{width:var(--baba-frame)!important;max-width:var(--baba-width)!important;padding:0!important;margin-inline:auto!important}body #sp-header .container-inner>.row{margin:0!important;width:100%;align-items:center;flex-wrap:nowrap;gap:22px}body #sp-header #sp-logo,body #sp-header #sp-menu{padding:0!important;min-width:0}body #sp-header #sp-logo{flex:0 0 auto}body #sp-header #sp-menu{flex:1 1 auto}body #sp-header .logo,body #sp-menu>.sp-column{height:108px!important}body #sp-header #sp-menu>.sp-column{gap:12px;justify-content:flex-end;flex-wrap:nowrap}body #sp-header .logo a{gap:10px;display:flex;align-items:center;white-space:nowrap;background:#f7f7f7;border-radius:9px;padding:5px 8px;height:auto;line-height:1}body #sp-header .logo a:after{content:none!important;display:none!important}body #sp-header .logo .logo-image,body #sp-header .logo .logo-image-phone{width:68px!important;height:68px!important;max-width:none;object-fit:contain}body #sp-header .logo .baba-wordmark{display:block;overflow:hidden;width:220px;height:42px;position:relative;flex:0 0 220px}body #sp-header .logo .baba-wordmark img{display:block!important;width:220px!important;height:auto!important;max-width:none!important;position:absolute;left:0;top:50%;transform:translateY(-50%);object-fit:contain}body #sp-header .sp-megamenu-parent>li>a{padding-inline:9px;line-height:108px;font-size:13px}body #sp-header #offcanvas-toggler{height:108px;line-height:108px;order:3;margin:0;flex-shrink:0}body #sp-header nav{min-width:0}
.baba-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 12px;border:1px solid #b8d7da;border-radius:6px;background:#eef8f6;color:#12515b;font-family:inherit;font-weight:650;font-size:13px;line-height:1.2;white-space:nowrap;cursor:pointer;flex-shrink:0;min-height:40px;order:2}.baba-theme-toggle svg{width:20px;height:20px;flex-shrink:0}.baba-theme-toggle:hover{background:#d7efeb}.baba-theme-toggle:focus-visible{outline:3px solid #bd7a14;outline-offset:4px}
body #sp-main-body #splms{width:var(--baba-frame)!important;max-width:var(--baba-width)!important;margin-left:auto!important;margin-right:auto!important;min-width:0}body #sp-main-body .splms-badge-free{display:none!important}.com-speasyimagegallery #sp-main-body #sp-component>.sp-column{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}.baba-gallery-shell>.page-header h1{font-size:clamp(2.1rem,4vw,3.4rem)}.baba-gallery-shell .speasyimagegallery-row{min-width:0}.baba-gallery-shell .speasyimagegallery-gallery-item{min-width:0}.baba-gallery-shell img{max-width:100%}
body.com-users #sp-main-body #sp-component>.sp-column{width:var(--baba-frame)!important;max-width:var(--baba-width)!important;margin:var(--baba-space) auto!important;padding:0!important}body.com-users .com-users-login,body.com-users .com-users-logout{width:100%;max-width:620px;margin-inline:auto;padding:30px!important;background:var(--baba-panel)}body.com-users .page-header{margin-top:0}body.com-users .input-group{flex-wrap:nowrap}body.com-users .input-group>input{min-width:0}body.com-users .form-control-feedback{overflow-wrap:anywhere}.baba-article-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:32px}.baba-article-card{padding:25px;border:1px solid var(--baba-line);background:var(--baba-panel);border-radius:8px}.baba-article-card h2{font-size:26px}.baba-article-card p{color:var(--baba-muted)}
html[data-theme=dark]{color-scheme:dark;--baba-bg:#031a29;--baba-panel:#092c3d;--baba-soft:#0b3547;--baba-ink:#e4f2f4;--baba-muted:#b1cdd5;--baba-line:#285565;--baba-link:#79ded2;--b2-ink:#e4f2f4;--b2-soft:#0b3547}
html[data-theme=dark] body{background-color:#031a29!important;background-image:linear-gradient(180deg,rgba(0,15,29,.86),rgba(0,25,42,.94)),url('/images/babadiving/p2/hero.webp')!important;background-position:center!important;background-size:cover!important;background-attachment:fixed!important;color:var(--baba-ink)!important}
html[data-theme=dark] #sp-header{background:rgba(3,25,40,.97)!important;border-bottom:1px solid var(--baba-line);box-shadow:none!important}html[data-theme=dark] .sp-megamenu-parent>li>a,html[data-theme=dark] #offcanvas-toggler{color:#e3f3f4!important}html[data-theme=dark] .burger-icon>span{background:#e3f3f4!important}html[data-theme=dark] .offcanvas-menu{background:#062739!important;color:var(--baba-ink)!important}html[data-theme=dark] .offcanvas-menu .offcanvas-inner ul.menu>li>a{color:var(--baba-ink)!important}html[data-theme=dark] .close-offcanvas{color:#e4f2f4!important}
html[data-theme=dark] .baba-theme-toggle{background:#103f50;color:#c3f3e9;border-color:#38707a}html[data-theme=dark] .baba-theme-toggle:hover{background:#195467}html[data-theme=dark] #sp-main-body,html[data-theme=dark] #sp-main-body>.row,html[data-theme=dark] #sp-component,html[data-theme=dark] #sp-component>.sp-column,html[data-theme=dark] .article-details,html[data-theme=dark] .sp-page-builder,html[data-theme=dark] .sppb-section,html[data-theme=dark] .sppb-row-container{background:transparent!important}
html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] h4,html[data-theme=dark] .b2-title,html[data-theme=dark] .sppb-addon-title,html[data-theme=dark] .course-title,html[data-theme=dark] .sppb-panel-title{color:var(--baba-ink)!important}html[data-theme=dark] p,html[data-theme=dark] li,html[data-theme=dark] label,html[data-theme=dark] dt,html[data-theme=dark] dd{color:inherit}html[data-theme=dark] .lead,html[data-theme=dark] .dark-text,html[data-theme=dark] .b2-lead,html[data-theme=dark] .b2-fine,html[data-theme=dark] .detail-note,html[data-theme=dark] .bl-count,html[data-theme=dark] .bl-lessons li>span,html[data-theme=dark] .b2-section p{color:var(--baba-muted)!important}
html[data-theme=dark] #sp-main-body a:not(.b2-button):not(.button):not(.btn):not(.b2-ghost){color:var(--baba-link)}html[data-theme=dark] .b2-kicker,html[data-theme=dark] .eyebrow.dark,html[data-theme=dark] .tag,html[data-theme=dark] .b2-mini{color:#82ddd1!important}html[data-theme=dark] .b2-intro,html[data-theme=dark] .b2-intro>div,html[data-theme=dark] .b2-course,html[data-theme=dark] .program-card,html[data-theme=dark] .course-detail,html[data-theme=dark] .b2-simple-card,html[data-theme=dark] .bl-card,html[data-theme=dark] .baba-article-card,html[data-theme=dark] .splms-course,html[data-theme=dark] .splms-courses-list .splms-course,html[data-theme=dark] .splms-course-info,html[data-theme=dark] .sppb-panel,html[data-theme=dark] .sppb-panel-heading,html[data-theme=dark] .sppb-panel-body,html[data-theme=dark] .sppb-accordion-panel,html[data-theme=dark] .list-group-item{background:var(--baba-panel)!important;color:var(--baba-ink)!important;border-color:var(--baba-line)!important}
html[data-theme=dark] .b2-story,html[data-theme=dark] .b2-faq,html[data-theme=dark] .b2-gallery,html[data-theme=dark] .b2-native-courses,html[data-theme=dark] .b2-learning,html[data-theme=dark] .b2-event,html[data-theme=dark] .b2-story-copy,html[data-theme=dark] .reading,html[data-theme=dark] .bl-shell{background:rgba(4,31,46,.90)!important}html[data-theme=dark] .b2-intro>div{border-color:var(--baba-line)!important}html[data-theme=dark] .notice,html[data-theme=dark] .bl-note,html[data-theme=dark] .b2-media-note,html[data-theme=dark] .event-status{background:#123c4c!important;color:#c7e2e7!important;border-color:#4a9e9e!important}html[data-theme=dark] .bl-success{background:#0c423d!important;color:#c5f2dc!important}html[data-theme=dark] details,html[data-theme=dark] fieldset,html[data-theme=dark] th,html[data-theme=dark] td,html[data-theme=dark] .facts>div{border-color:var(--baba-line)!important}
html[data-theme=dark] input:not([type=checkbox]):not([type=radio]):not([type=hidden]),html[data-theme=dark] select,html[data-theme=dark] textarea{background:#071f2f!important;color:var(--baba-ink)!important;border-color:#46717d!important}html[data-theme=dark] .input-password-toggle{background:#123d4d!important;color:#d4edf0!important;border-color:#46717d!important}html[data-theme=dark] .login,html[data-theme=dark] .logout{background:var(--baba-panel)!important;color:var(--baba-ink)!important;border-color:var(--baba-line)!important}html[data-theme=dark] .bl-score,html[data-theme=dark] .bl-correct{color:#8ae3cb!important}html[data-theme=dark] .bl-missed{color:#f0c784!important}html[data-theme=dark] .b2-button,html[data-theme=dark] .button{background:var(--baba-gold)!important;color:#073a46!important}html[data-theme=dark] #sp-footer{background:rgba(1,18,31,.97)!important;border-top:1px solid var(--baba-line);color:#c1dce2!important}html[data-theme=dark] .b2-footer a{color:#c5e8e8!important}
@media(max-width:1199px){body #sp-header nav.sp-megamenu-wrapper{display:none!important}body #sp-header #offcanvas-toggler{display:flex!important;align-items:center;justify-content:center}body #sp-header>.container{max-width:var(--baba-width)!important}}
@media(min-width:1200px){body #sp-header #offcanvas-toggler{display:none!important}}
@media(max-width:767px){:root{--baba-gutter:20px;--baba-space:42px}body #sp-header,body #sp-header .logo,body #sp-menu>.sp-column{height:88px!important}body #sp-header .container-inner>.row{gap:12px}body #sp-header #sp-menu>.sp-column{gap:12px}body #sp-header .logo .logo-image,body #sp-header .logo .logo-image-phone{width:48px!important;height:48px!important}body #sp-header .logo a{padding:4px;gap:6px}body #sp-header .logo .baba-wordmark{width:175px;height:34px;flex-basis:175px}body #sp-header .logo .baba-wordmark img{width:175px!important}body #sp-header #offcanvas-toggler{height:88px;line-height:88px;width:28px}.baba-theme-toggle{width:36px;min-height:36px;padding:7px}.baba-theme-toggle .baba-theme-label{position:absolute;clip:rect(0,0,0,0);clip-path:inset(50%);height:1px;width:1px;overflow:hidden;white-space:nowrap}.baba-article-grid{grid-template-columns:1fr}body.com-users .com-users-login,body.com-users .com-users-logout{padding:22px!important}html[data-theme=dark] body{background-attachment:scroll!important}}
@media(max-width:370px){:root{--baba-gutter:14px}body #sp-header .container-inner>.row{gap:8px}body #sp-header #sp-menu>.sp-column{gap:8px}body #sp-header .logo .logo-image,body #sp-header .logo .logo-image-phone{width:40px!important;height:40px!important}body #sp-header .logo .baba-wordmark{width:140px;flex-basis:140px;height:30px}body #sp-header .logo .baba-wordmark img{width:140px!important}.baba-theme-toggle{width:32px;min-height:34px;padding:6px}body #sp-header #offcanvas-toggler{width:24px}.bl-card>div{padding:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
