/* KT12 Editor Gallery - isolated frontend gallery system */
html body .kt12pg,
html body .kt12pg *,
html body .kt12pg *::before,
html body .kt12pg *::after,
html body .kt12pg-modal,
html body .kt12pg-modal *{box-sizing:border-box!important;}

html body .kt12pg{--kt12-gap:22px;--kt12-visible:3;display:block!important;position:relative!important;width:100%!important;max-width:1180px!important;margin:42px auto!important;padding:0!important;clear:both!important;overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important;line-height:1!important;}
html body .kt12pg-shell{display:block!important;position:relative!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;overflow:visible!important;}
html body .kt12pg figure,
html body .kt12pg img,
html body .kt12pg button{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;float:none!important;position:static;}

/* GRID */
html body .kt12pg-mode-grid .kt12pg-grid-wrap{display:grid!important;width:100%!important;grid-template-columns:repeat(var(--kt12-columns,3),minmax(0,1fr))!important;gap:var(--kt12-gap)!important;align-items:stretch!important;overflow:visible!important;}
html body .kt12pg-mode-grid[data-columns="2"]{--kt12-columns:2;}
html body .kt12pg-mode-grid[data-columns="3"]{--kt12-columns:3;}
html body .kt12pg-mode-grid[data-columns="4"]{--kt12-columns:4;}

/* CAROUSEL */
html body .kt12pg-mode-carousel{padding-left:60px!important;padding-right:60px!important;}
html body .kt12pg-window{display:block!important;width:100%!important;overflow:hidden!important;position:relative!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;}
html body .kt12pg-strip{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:var(--kt12-gap)!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;transition:transform .45s cubic-bezier(.22,.61,.36,1)!important;will-change:transform!important;overflow:visible!important;}
html body .kt12pg-mode-carousel .kt12pg-item{flex:0 0 calc((100% - (var(--kt12-gap) * (var(--kt12-visible) - 1))) / var(--kt12-visible))!important;min-width:calc((100% - (var(--kt12-gap) * (var(--kt12-visible) - 1))) / var(--kt12-visible))!important;max-width:calc((100% - (var(--kt12-gap) * (var(--kt12-visible) - 1))) / var(--kt12-visible))!important;width:calc((100% - (var(--kt12-gap) * (var(--kt12-visible) - 1))) / var(--kt12-visible))!important;}

/* ITEMS */
html body .kt12pg-item{display:block!important;position:relative!important;overflow:hidden!important;aspect-ratio:4/3!important;height:auto!important;min-height:0!important;border-radius:22px!important;background:#061b48!important;cursor:pointer!important;line-height:0!important;box-shadow:0 18px 45px rgba(6,37,93,.16)!important;transition:transform .25s ease,box-shadow .25s ease!important;}
html body .kt12pg-item:hover{transform:translateY(-5px)!important;box-shadow:0 28px 70px rgba(6,37,93,.25)!important;}
html body .kt12pg-item img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;min-width:100%!important;min-height:100%!important;object-fit:cover!important;object-position:center!important;border:0!important;border-radius:0!important;padding:0!important;margin:0!important;background:transparent!important;vertical-align:top!important;}
html body .kt12pg-item::before{content:""!important;display:block!important;position:absolute!important;inset:0!important;z-index:2!important;background:linear-gradient(180deg,rgba(6,37,93,0) 35%,rgba(6,37,93,.72) 100%)!important;opacity:0!important;transition:opacity .25s ease!important;pointer-events:none!important;}
html body .kt12pg-item::after{content:"View Image"!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;position:absolute!important;z-index:3!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%) scale(.94)!important;background:#8cc63f!important;color:#fff!important;border-radius:999px!important;padding:13px 22px!important;min-height:0!important;width:auto!important;height:auto!important;font-family:inherit!important;font-size:14px!important;font-weight:800!important;line-height:1!important;text-align:center!important;opacity:0!important;white-space:nowrap!important;box-shadow:0 12px 30px rgba(0,0,0,.25)!important;transition:all .25s ease!important;}
html body .kt12pg-item:hover::before,
html body .kt12pg-item:hover::after{opacity:1!important;}
html body .kt12pg-item:hover::after{transform:translate(-50%,-50%) scale(1)!important;}

/* NAV */
html body .kt12pg-nav{appearance:none!important;-webkit-appearance:none!important;display:flex!important;align-items:center!important;justify-content:center!important;position:absolute!important;top:50%!important;z-index:50!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;max-width:48px!important;max-height:48px!important;border-radius:50%!important;border:0!important;background:#06255d!important;color:#fff!important;font-family:Arial,sans-serif!important;font-size:34px!important;font-weight:900!important;line-height:1!important;text-indent:0!important;cursor:pointer!important;box-shadow:0 13px 34px rgba(6,37,93,.3)!important;transform:translateY(-50%)!important;transition:all .2s ease!important;}
html body .kt12pg-nav:hover{background:#8cc63f!important;color:#fff!important;transform:translateY(-50%) scale(1.06)!important;}
html body .kt12pg-nav:disabled{opacity:.3!important;cursor:not-allowed!important;transform:translateY(-50%)!important;}
html body .kt12pg-nav-prev{left:0!important;}
html body .kt12pg-nav-next{right:0!important;}
html body .kt12pg-pagination{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;width:100%!important;margin:22px 0 0!important;padding:0!important;line-height:1!important;min-height:12px!important;}
html body .kt12pg-dot{appearance:none!important;-webkit-appearance:none!important;display:block!important;width:10px!important;height:10px!important;min-width:10px!important;min-height:10px!important;max-width:10px!important;max-height:10px!important;padding:0!important;margin:0!important;border:0!important;border-radius:99px!important;background:#cbd5e1!important;cursor:pointer!important;box-shadow:none!important;transition:all .2s ease!important;text-indent:-9999px!important;overflow:hidden!important;}
html body .kt12pg-dot.is-active{width:30px!important;max-width:30px!important;background:#8cc63f!important;}

/* MODAL */
html body .kt12pg-modal{position:fixed!important;inset:0!important;z-index:2147483647!important;display:none!important;align-items:center!important;justify-content:center!important;background:rgba(2,8,23,.92)!important;backdrop-filter:blur(8px)!important;padding:28px!important;margin:0!important;}
html body .kt12pg-modal.is-open{display:flex!important;}
html body .kt12pg-modal-inner{position:relative!important;display:block!important;width:auto!important;height:auto!important;max-width:min(1120px,94vw)!important;max-height:88vh!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;}
html body .kt12pg-modal-img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:88vh!important;object-fit:contain!important;border-radius:22px!important;background:#fff!important;margin:0!important;padding:0!important;box-shadow:0 36px 120px rgba(0,0,0,.6)!important;}
html body .kt12pg-close,
html body .kt12pg-modal-prev,
html body .kt12pg-modal-next{appearance:none!important;-webkit-appearance:none!important;display:flex!important;align-items:center!important;justify-content:center!important;position:absolute!important;z-index:3!important;border:0!important;color:#fff!important;cursor:pointer!important;font-family:Arial,sans-serif!important;font-weight:900!important;box-shadow:0 14px 38px rgba(0,0,0,.38)!important;}
html body .kt12pg-close{right:-18px!important;top:-18px!important;width:52px!important;height:52px!important;border-radius:50%!important;background:#8cc63f!important;font-size:32px!important;line-height:1!important;}
html body .kt12pg-modal-prev,
html body .kt12pg-modal-next{top:50%!important;width:56px!important;height:66px!important;border-radius:18px!important;background:#06255d!important;font-size:42px!important;line-height:1!important;transform:translateY(-50%)!important;}
html body .kt12pg-modal-prev{left:-78px!important;}
html body .kt12pg-modal-next{right:-78px!important;}
html body .kt12pg-close:hover,
html body .kt12pg-modal-prev:hover,
html body .kt12pg-modal-next:hover{background:#8cc63f!important;color:#fff!important;}

@media(max-width:980px){
  html body .kt12pg{--kt12-visible:2;max-width:100%!important;}
  html body .kt12pg-mode-carousel{padding-left:54px!important;padding-right:54px!important;}
  html body .kt12pg-mode-grid .kt12pg-grid-wrap{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  html body .kt12pg-modal-prev{left:10px!important;} html body .kt12pg-modal-next{right:10px!important;} html body .kt12pg-close{right:10px!important;top:10px!important;}
}
@media(max-width:640px){
  html body .kt12pg{--kt12-visible:1;--kt12-gap:16px;margin:32px auto!important;}
  html body .kt12pg-mode-carousel{padding-left:44px!important;padding-right:44px!important;}
  html body .kt12pg-mode-grid .kt12pg-grid-wrap{grid-template-columns:1fr!important;gap:16px!important;}
  html body .kt12pg-item{border-radius:18px!important;}
  html body .kt12pg-nav{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;max-width:38px!important;max-height:38px!important;font-size:28px!important;}
  html body .kt12pg-modal{padding:12px!important;}
  html body .kt12pg-modal-img{border-radius:16px!important;}
  html body .kt12pg-modal-prev,html body .kt12pg-modal-next{width:42px!important;height:52px!important;font-size:30px!important;border-radius:14px!important;}
}

html body .kt12-media-section-is-empty{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;}

/* KT12 1.5.8 gallery video support */
html body .kt12pg-video-item::after{content:"Play Video"!important;}
html body .kt12pg-play{position:absolute!important;z-index:4!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:68px!important;height:68px!important;border-radius:999px!important;background:rgba(255,255,255,.94)!important;color:#06255d!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:25px!important;line-height:1!important;text-indent:4px!important;box-shadow:0 18px 45px rgba(0,0,0,.28)!important;transition:all .25s ease!important;pointer-events:none!important;}
html body .kt12pg-video-item:hover .kt12pg-play{transform:translate(-50%,-50%) scale(1.08)!important;background:#8cc63f!important;color:#fff!important;}
html body .kt12pg-video-fallback{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;padding:20px!important;color:#fff!important;font-weight:900!important;font-size:18px!important;line-height:1.25!important;text-align:center!important;background:radial-gradient(circle at 20% 20%,rgba(140,198,63,.35),transparent 34%),linear-gradient(135deg,#06255d,#020617)!important;}
html body .kt12pg-modal-video{display:block!important;width:min(1120px,94vw)!important;aspect-ratio:16/9!important;max-height:82vh!important;background:#000!important;border-radius:22px!important;overflow:hidden!important;box-shadow:0 36px 120px rgba(0,0,0,.6)!important;}
html body .kt12pg-modal-video[aria-hidden="true"]{display:none!important;}
html body .kt12pg-modal-video iframe,
html body .kt12pg-modal-video video{display:block!important;width:100%!important;height:100%!important;border:0!important;margin:0!important;padding:0!important;background:#000!important;}
@media(max-width:640px){html body .kt12pg-play{width:56px!important;height:56px!important;font-size:21px!important}.kt12pg-modal-video{border-radius:16px!important}}
