/* Scoped layout support. Header/footer and Elementor-built page styles stay separate. */
.ninja-legacy-page:not(.elementor-page) main#content {
    width: calc(100% - 40px);
    max-width: 940px;
    margin: 40px auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}
.ninja-legacy-page .ninja-clear { clear: both; }
.ninja-legacy-page .ninja-vc-text::after,
.ninja-legacy-page .ninja-vc-column::after,
.ninja-legacy-page .page-content::after { content: ""; display: table; clear: both; }
.ninja-legacy-page .ninja-vc-row { display: flex; flex-wrap: wrap; width: 100%; }
.ninja-legacy-page .ninja-vc-column { flex: 0 0 var(--ninja-column, 100%); width: var(--ninja-column, 100%); min-width: 0; }
.ninja-legacy-page .ninja-column { float: left; margin: 0 30px 0 0; }
.ninja-legacy-page .ninja-column[class*="_last"] { float: right; margin-right: 0; }
.ninja-legacy-page .ninja-column.one_half,
.ninja-legacy-page .ninja-column.one_half_last { width: calc((100% - 30px) / 2); }
.ninja-legacy-page .ninja-column.one_third,
.ninja-legacy-page .ninja-column.one_third_last { width: calc((100% - 60px) / 3); }
.ninja-legacy-page .ninja-column.one_fourth,
.ninja-legacy-page .ninja-column.one_fourth_last { width: calc((100% - 108px) / 4); }
.ninja-legacy-page .ninja-column.one_fourth { margin-right: 36px; }
.ninja-legacy-page .ninja-column.one_fifth,
.ninja-legacy-page .ninja-column.one_fifth_last { width: calc((100% - 120px) / 5); }
.ninja-legacy-page .ninja-column.one_sixth,
.ninja-legacy-page .ninja-column.one_sixth_last { width: calc((100% - 150px) / 6); }
.ninja-legacy-page .ninja-column.two_thirds,
.ninja-legacy-page .ninja-column.two_thirds_last { width: calc((200% - 30px) / 3); }
.ninja-legacy-page .ninja-column.three_fourth,
.ninja-legacy-page .ninja-column.three_fourth_last { width: calc((300% - 30px) / 4); }

/* Original frame artwork, packaged locally; no dependency on the Karma theme. */
.ninja-legacy-page .ninja-frame {
    position: relative;
    max-width: 100%;
    margin-bottom: 6px;
    background: url("assets/image-frame-sprite.png") 0 0 no-repeat;
}
.ninja-legacy-page .ninja-frame .img-preload { width: 100%; height: 100%; }
.ninja-legacy-page .ninja-frame img { display: block; position: absolute; top: 8px; left: 9px; object-fit: cover; border: 0; border-radius: 0; }
.ninja-legacy-page .modern_banner_full { width: 940px; height: 245px; background-position: -3px -857px; margin-bottom: 20px; }
.ninja-legacy-page .modern_banner_regular { width: 720px; height: 240px; background-position: 0 -1354px; margin-bottom: 20px; }
.ninja-legacy-page .modern_banner_small { width: 510px; height: 240px; background-position: -5px -1844px; margin-bottom: 20px; }
.ninja-legacy-page .modern_two_col_large { width: 455px; height: 272px; background-position: 0 0; }
.ninja-legacy-page .modern_two_col_small { width: 342px; height: 217px; background-position: -5px -285px; }
.ninja-legacy-page .modern_three_col_large { width: 293px; height: 179px; background-position: -647px -2px; }
.ninja-legacy-page .modern_three_col_small { width: 220px; height: 144px; background-position: -566px -183px; }
.ninja-legacy-page .modern_three_col_square { width: 293px; height: 309px; background: url("assets/image-frame-3col-square.png") 0 0 no-repeat; }
.ninja-legacy-page .modern_four_col_large { width: 208px; height: 140px; background-position: -431px 0; }
.ninja-legacy-page .modern_four_col_small { width: 152px; height: 102px; background-position: -795px -202px; }
.ninja-legacy-page .modern_square { width: 208px; height: 207px; background-position: -730px -1354px; }
.ninja-legacy-page .modern_portrait_full { width: 630px; height: 836px; background: url("assets/image-frame-portrait-modern.png") 0 0 no-repeat; }
.ninja-legacy-page .modern_portrait_thumb { width: 293px; height: 389px; background: url("assets/image-frame-portrait-modern.png") -631px 0 no-repeat; }
.ninja-legacy-page .tt-img-left { float: left; margin: 0 30px 5px 0; }
.ninja-legacy-page .tt-img-right { float: right; margin: 0 0 5px 30px; }

.ninja-legacy-page .ninja-button {
    display: inline-block;
    padding: 10px 18px;
    margin: 5px 0 15px;
    color: #fff;
    background: linear-gradient(#179bd3, #006ca5);
    border: 1px solid #006797;
    border-radius: 3px;
    box-shadow: inset 0 1px 0 #ffffff55;
    font: bold 12px/1.4 Arial, Helvetica, sans-serif;
    text-decoration: none;
}
.ninja-legacy-page .ninja-button:hover,
.ninja-legacy-page .ninja-button:focus-visible { color: #fff; filter: brightness(1.1); }
.ninja-legacy-page .ninja-heading-horizontal { position: relative; text-align: center; margin: 20px 0; }
.ninja-legacy-page .ninja-heading-horizontal::before { content: ""; position: absolute; top: 50%; left: 0; width: 100%; border-top: 1px solid #ddd; }
.ninja-legacy-page .ninja-heading-horizontal span { position: relative; background: #fff; padding: 0 20px; }
.ninja-legacy-page .ninja-divider { clear: both; border: 0; border-top: 1px solid #ddd; margin: 25px 0; }
.ninja-legacy-page .ninja-divider.hr_shadow { box-shadow: 0 4px 7px #0002; }
.ninja-legacy-page .ninja-top-link { clear: both; border-top: 1px solid #ddd; text-align: right; margin: 25px 0; font-size: 11px; }

.ninja-legacy-page .ninja-testimonials { position: relative; margin: 15px 0 35px; padding: 0 0 20px; background: #e7e9e6; border: 1px solid #d8d9d6; }
.ninja-legacy-page .ninja-testimonials::before { content: "“"; position: absolute; left: 25px; top: 14px; color: #aeb2ac; font: bold 76px/1 Georgia, serif; }
.ninja-legacy-page .ninja-testimonial-slides { list-style: none; padding: 0; margin: 0; }
.ninja-legacy-page .ninja-testimonial { list-style: none; padding: 0; margin: 0; }
.ninja-legacy-page .ninja-testimonial[hidden] { display: none !important; }
.ninja-legacy-page .ninja-testimonial blockquote { margin: 0; padding: 35px 25px 5px 95px; border: 0; color: #808080; font: italic 14px/22px Georgia, "Times New Roman", serif; }
.ninja-legacy-page .ninja-testimonial blockquote p { margin: 0; padding: 0 0 5px; }
.ninja-legacy-page .ninja-testimonial cite { display: block; text-align: right; font: bold 10px/22px Arial, sans-serif; text-transform: uppercase; letter-spacing: 1px; color: #444; }
.ninja-legacy-page .ninja-carousel-controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 10px; }
.ninja-legacy-page .ninja-carousel-controls button { min-width: 28px; padding: 3px 7px; border: 1px solid #999; border-radius: 2px; background: #fff; color: #444; font: 12px/1.5 Arial, sans-serif; cursor: pointer; }
.ninja-legacy-page .ninja-carousel-controls button[aria-current="true"] { color: #fff; background: #4b4f4a; }
.ninja-legacy-page .ninja-carousel-controls button:focus-visible { outline: 2px solid #007bb8; outline-offset: 2px; }

.ninja-legacy-page .ninja-accordion { padding-bottom: 20px; margin-bottom: 30px; }
.ninja-legacy-page .ninja-faq-item { margin: 0 0 3px; border: 0; }
.ninja-legacy-page .ninja-faq-item > summary { display: block; position: relative; padding: 10px 12px 10px 42px; border: 1px solid #c3c3c3; color: #676767; background: linear-gradient(#fefefe, #cdcdcd); font: bold 13px/20px Arial, sans-serif; list-style: none; cursor: pointer; }
.ninja-legacy-page .ninja-faq-item > summary::-webkit-details-marker { display: none; }
.ninja-legacy-page .ninja-faq-item > summary::before { content: "+"; position: absolute; left: 15px; font-size: 18px; }
.ninja-legacy-page .ninja-faq-item[open] > summary::before { content: "−"; }
.ninja-legacy-page .ninja-faq-answer { padding: 20px 25px; border: 1px solid #ddd; border-top: 0; }
.ninja-legacy-page .ninja-video-wrap { display: flex; flex-wrap: wrap; gap: 30px; margin: 20px 0; }
.ninja-legacy-page .ninja-video-main { flex: 1 1 55%; min-width: 0; }
.ninja-legacy-page .ninja-video-sub { flex: 1 1 35%; min-width: 0; }
.ninja-legacy-page .ninja-video-right .ninja-video-main { order: 2; }
.ninja-legacy-page .ninja-video-iframe { display: block; border: 0; width: 100%; max-width: 100%; }
.ninja-legacy-lightbox { padding: 30px 10px 10px; border: 0; background: #fff; max-width: 95vw; max-height: 95vh; }
.ninja-legacy-lightbox::backdrop { background: #000b; }
.ninja-legacy-lightbox img { display: block; max-width: 90vw; max-height: 85vh; object-fit: contain; }
.ninja-legacy-lightbox button { position: absolute; right: 5px; top: 1px; color: #222; background: #fff; border: 0; cursor: pointer; }

@media (max-width: 767px) {
    .ninja-legacy-page .ninja-column,
    .ninja-legacy-page .ninja-column[class*="_last"] { float: none; width: 100%; margin: 0 0 20px; }
    .ninja-legacy-page .ninja-vc-column { flex-basis: 100%; width: 100%; }
    .ninja-legacy-page .ninja-frame { width: auto; height: auto; max-width: 100%; padding: 8px; margin-bottom: 20px; border: 1px solid #ddd; background: #fff; box-shadow: 0 8px 8px -8px #0007; }
    .ninja-legacy-page .ninja-frame img { position: static; width: 100%; max-width: 100%; height: auto; }
    .ninja-legacy-page .ninja-testimonial blockquote { padding: 35px 20px 5px 55px; }
    .ninja-legacy-page .ninja-testimonials::before { left: 10px; font-size: 58px; }
    .ninja-legacy-page .ninja-video-main,
    .ninja-legacy-page .ninja-video-sub { flex-basis: 100%; }
}
