::-webkit-scrollbar {
    width: 5px;
}  
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #b1dabb; 
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: #b1dabb; 
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #67ad7e; 
}
.pkp_structure_sidebar .left .table{
    border: none;
}
body{
	background-image: url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='87' height='50.232' patternTransform='scale(10) rotate(0)'><rect x='0' y='0' width='100%' height='100%' fill='hsla(0,0%,100%,1)'/><path d='M0 54.424l14.5-8.373c4.813 2.767 9.705 5.573 14.5 8.37l14.5-8.373V29.303M0 4.193v16.744l-14.5 8.373L0 37.68l14.5-8.374V12.562l29-16.746m43.5 58.6l-14.5-8.37v-33.49c-4.795-2.797-9.687-5.603-14.5-8.37m43.5 25.111L87 37.67c-4.795-2.797-24.187-13.973-29-16.74l-14.5 8.373-14.5-8.37v-33.489m72.5 8.365L87 4.183l-14.5-8.37M87 4.183v16.745L58 37.673v16.744m0-66.976V4.185L43.5 12.56c-4.795-2.797-24.187-13.973-29-16.74L0 4.192l-14.5-8.37m29 33.484c4.813 2.767 9.705 5.573 14.5 8.37V54.42'  stroke-linecap='square' stroke-width='2.5' stroke='hsla(163, 58%, 50%, 0.32)' fill='none'/></pattern></defs><rect width='800%' height='800%' transform='translate(0,0)' fill='url(%23a)'/></svg>");
}
tbody. strong{
	padding: 5px ;
}
}
.pkp_site_name .is_img img {
	display: inline-block;
	max-height: 200px;
	max-width: 100%;
	width: auto;
	height: auto
}

.pkp_footer_content {
	float: left;
	width: 80%;
	padding-top: 10px;
	padding-bottom: 10px
}
.pkp_brand_footer {
	display: none;
}

.pkp_navigation_primary {
	position: relative;
  	left: 20px;
  	font-weight: bold;
}
.pkp_navigation_primary_row{
	background-color: #35c99e;
}

.pkp_structure_content.has_sidebar{
	margin-left: auto;
	margin-right: auto;
	width: 1160px;
	background: white;
	position: relative;
	overflow: visible !important;
	box-shadow: 0 0px 8px 0 rgb(0 0 0 / 20%), 
				0 6px 20px 0 rgb(0 0 0 / 19%);
}

.pkp_structure_head{
	margin-right: auto;
	margin-left: auto;
	width: 1160px;
	box-shadow: 0 0px 8px 0 rgb(0 0 0 / 20%), 
				0 6px 20px 0 rgb(0 0 0 / 19%);
}

.pkp_structure_footer_wrapper{
	width: 1160px;
  	margin-left: auto;
  	margin-right: auto;
  	box-shadow: 0 0px 8px 0 rgb(0 0 0 / 20%), 
  				0 6px 20px 0 rgb(0 0 0 / 19%);
}

@media (min-width: 992px){
.pkp_navigation_user>li:last-child>a {
	margin-right:  0.28600000000000136rem;;
	}
.pkp_structure_sidebar {
	float: left;
	width: 300px;
	}
}

.obj_article_details .abstract{
	text-align: justify;
}

/* Make the thumbnail look clickable */
.ojsLightboxThumb img{
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  border-radius: 16px;
}

/* LIGHTBOX overlay (hidden by default) */
.ojsLightbox{
  position: fixed;
  inset: 0;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

/* Show overlay when targeted (#jospaPoster) */
.ojsLightbox:target{
  opacity: 1;
  pointer-events: auto;
}

/* Dark backdrop */
.ojsLightboxBackdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.86);
}

/* Panel holds the image; allows scroll for tall posters */
.ojsLightboxPanel{
  position: relative;
  margin: 0;
  width: min(980px, 92vw);
  max-height: 92vh;
  overflow: auto;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,.65);
  background: rgba(0,0,0,.08);
  padding: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Full image inside overlay */
.ojsLightboxPanel img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  cursor: zoom-out;
}

/* Close button */
.ojsLightboxClose{
  position: sticky;         /* stays visible when you scroll inside panel */
  top: 8px;
  margin-left: auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: #fff;
  backdrop-filter: blur(6px);
}

/* Small-screen tweak */
@media (max-width: 520px){
  .ojsLightboxPanel{
    width: 94vw;
    max-height: 94vh;
    padding: 10px;
    border-radius: 14px;
  }
}

/* ====== FORCE FULLSCREEN OVERLAY (OJS-safe) ====== */
.ojsLightbox{
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important; /* super high to beat theme */
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;

  /* IMPORTANT: dark overlay lives here too */
  background: rgba(0,0,0,.90) !important;
}

.ojsLightbox:target{
  opacity: 1;
  pointer-events: auto;
}

/* Backdrop link: keep it, but force darkness too */
.ojsLightboxBackdrop{
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0,0,0,.90) !important;
  z-index: 1 !important;
}

/* Panel (the image container) */
.ojsLightboxPanel{
  position: fixed !important;
  z-index: 2 !important;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: min(980px, 92vw);
  max-height: 92vh;
  overflow: auto;

  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,.65);
  background: rgba(0,0,0,.08);
  padding: 14px;
}

.ojsLightboxPanel img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  cursor: zoom-out;
}

/* Close button */
.ojsLightboxClose{
  position: sticky;
  top: 8px;
  margin-left: auto;

  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;

  text-decoration: none;
  font-size: 28px;
  line-height: 1;

  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: #fff;
  backdrop-filter: blur(6px);
}

/* ===== Posters grid (optional nice hover) ===== */
.jp-postersGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 820px){
  .jp-postersGrid{ grid-template-columns: 1fr; }
}

.jp-posterCard img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  cursor: zoom-in;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.jp-posterLink:hover img{
  transform: scale(1.02);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

/* ===== CSS-only Lightbox (OJS-safe + forced dark overlay) ===== */
.jp-lightbox{
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483647 !important;

  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;

  /* Force dark overlay even if theme overrides backdrop */
  background: rgba(0,0,0,.90) !important;
}

.jp-lightbox:target{
  opacity: 1;
  pointer-events: auto;
}

/* Clickable dark area to close */
.jp-lightboxBackdrop{
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0,0,0,.90) !important;
  z-index: 1 !important;
}

/* Panel */
.jp-lightboxPanel{
  position: fixed !important;
  z-index: 2 !important;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: min(980px, 92vw);
  max-height: 92vh;
  overflow: auto;

  margin: 0;
  padding: 14px;
  border-radius: 18px;

  background: rgba(0,0,0,.08);
  box-shadow: 0 24px 80px rgba(0,0,0,.65);
}

/* Full image */
.jp-lightboxPanel img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  cursor: zoom-out;
}

/* Close button */
.jp-lightboxClose{
  position: sticky;
  top: 8px;
  margin-left: auto;

  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;

  text-decoration: none;
  font-size: 28px;
  line-height: 1;

  border-radius: 999px;
  background: rgba(0,0,0,.55);
  color: #fff;
  backdrop-filter: blur(6px);
}

/* Mobile tweak */
@media (max-width: 520px){
  .jp-lightboxPanel{
    width: 94vw;
    max-height: 94vh;
    padding: 10px;
    border-radius: 14px;
  }
}

/* ===== Hide scrollbar but keep scroll ===== */
.jp-lightboxPanel{
  scrollbar-width: none;   /* Firefox */
  -ms-overflow-style: none;/* old Edge/IE */
}

.jp-lightboxPanel::-webkit-scrollbar{
  width: 0;
  height: 0;
}

.jp-lightboxPanel{
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch; /* smooth iOS scroll */
}


/* ===== Hide scrollbar but keep scroll ===== */
.ojsLightboxPanel{
  scrollbar-width: none;   /* Firefox */
  -ms-overflow-style: none;/* old Edge/IE */
}

.ojsLightboxPanel::-webkit-scrollbar{
  width: 0;
  height: 0;
}

.ojsLightboxPanel{
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch; /* smooth iOS scroll */
}