/* --------------  GLOBAL IMPORTS (MUST BE FIRST) -------------- */

/* Google Font (Open Sans 400 & 600) */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');

/* Normalize / Reset (keeps browsers consistent) */
@import url('https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css');

/*Show-Hide search*/
/* Font Awesome v6 */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

/* Optional local modules – uncomment if you create them
@import url('buttons.css');
@import url('layout.css');
*/

/* --------------  YOUR EXISTING RULES BELOW  ------------------ */

* {
  box-sizing: border-box;
}

body {
  font-family: "Cardo", serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #333;
}

/*cover page and issue details*/

.heading .thumbnail img.img-responsive {
    max-width: 180px;   /* adjust as needed */
    height: auto;       /* keeps proportion */
}

.heading.row {
    display: flex;
    align-items: flex-start;
}

.heading .thumbnail {
    flex: 0 0 auto;      /* shrink to image width */
    width: auto;
}

.heading .issue-details {
    flex: 1;             /* take remaining space */
}

/*Archive cover and text*/
/* Make media object auto-size like modern layout */
.issue-summary.media {
    display: flex;
    align-items: flex-start;
}

/* Shrink left column to image width */
.issue-summary .media-left {
    flex: 0 0 auto;
    width: auto;
    padding-right: 15px; /* spacing */
}

/* Scale cover proportionately */
.issue-summary .media-left img.media-object {
    max-width: 90px;   /* adjust as needed */
    height: auto;
}

/* Let body take remaining space */
.issue-summary .media-body {
    flex: 1 1 auto;
}

/*Abstract page*/
/* Article page layout control */
.pkp_page_article .row {
    display: flex;
    flex-direction: row !important;   /* prevents row-reverse from any old rule */
    align-items: flex-start;
}

/* Sidebar stays on the LEFT (original position), shrink to image */
.pkp_page_article .row > .article-sidebar {
    order: 1 !important;              /* LEFT */
    flex: 0 0 auto;
    width: auto !important;
    max-width: none !important;
    padding-right: 20px;
}

/* Main column stays on the RIGHT */
.pkp_page_article .row > .col-md-8 {
    order: 2 !important;              /* RIGHT */
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0;
}

/* Proportionate cover image */
.pkp_page_article .article-sidebar .cover-image img.img-responsive {
    max-width: 180px;
    height: auto;
}


@media (max-width: 768px) {
  .pkp_page_article .row {
    flex-direction: column !important;
  }

  .pkp_page_article .row > .article-sidebar {
    padding-right: 0;
    margin-bottom: 15px;
  }
}





#navigationUser > li > a {
     font-size: 9.5px !important;
     color: #fff;
}

.jmetrics {
  font-size: 1.2rem;
}

/*top logo*/
@media (min-width: 600px){
.navbar-brand {
        height: 65px;
    overflow: hidden;
    padding-bottom: 2px;
}
}
.navbar-brand {
    padding-bottom: 2px;
    padding-top: 2px;
   
}
.navbar-default .nav>li>a, .header_view .nav>li>a {
    color: #01004d;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
}
.dropdown-menu>li>a {
    /*color: #fb05d1;*/
    color: #0b00ad;
}

/*top row*/
    #headerNavigationContainer > div:nth-child(1) > div {
    background: linear-gradient(1deg, #015e2e, #015e2e) !important;
    /*background: darkblue;*/
    /*background-image: radial-gradient(white, darkblue 70px);*/
    /*background-image: radial-gradient(white, #000812 70px);*/
}

/*NAV row*/
#headerNavigationContainer > div:nth-child(2) {
    border-width: 2px;
    background: #fff;
    /*border-color: #e5e7eb;*/
    /*border-color: #660a08;*//*jmbsr*/
    border-bottom: solid 4px #043205;
}

 /*fix Main Navbar*/
 .affix {
    top: 0;
    width: 100%;
    z-index: 9999 !important;

  }
  .affix + .container-fluid {
    padding-top: 70px;
  }     


.text-right {
  /* text-align: right; */
  width: auto;
  float: right;
  padding-top: 15px;
}

@media (min-width: 992px) {
    .col-md-8
 {
        width: 70.66666667%;
    }
}

.pkp_structure_content { 
    background-color: white;
   /*border-color: #e5e7eb;*/
    /*border-bottom: solid 4px #043205;*/
}


.pkp_block {
background: #fff;
/*margin-top: 15px;*/
border-bottom-color: #474747;
    border-bottom-width: 8px;
    /*padding: 1em;*/
    font-size: 14px;
    line-height: 20px;
    /*margin-left: 1rem;*/
    margin-bottom: 1rem;
    --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
#customblock-slid {
padding: 0 1em;
}

#customblock-editors {
padding: 0 1em;
}

#sidebar {
float: right;
width:300px;
background: #d9d9d9;
--tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);

}

@media (min-width: 1200px) {
    .col-lg-3 {
        width: 25%;
        color: white;
        
    color: #ffffff;
    }
}

.pkp_block h2 {
    /*color: #e30909 !important;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 16px;*/
    color: #01004d;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
}



.block_information a, .block_language_toggle a {
    font-size: 13px;
}


.pkp_block .content ul li {
    line-height: 20px;
    padding: 5px 0;
}

border-2 {
    border-width: 2px;
}


#sidebar > div.pkp_block.block_make_submission {
    text-align: center;
    /*margin-top: 10px;*/
}
.pkp_block.block_make_submission a {
    color: #01004d;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
}


.citation_display .citation_formats_button {
    position: relative;
    background: #0d0d0d !important;
}


/*IMAGE CAROUSAL*/
/*carousel-inner, item, hero(carousel-caption) and banner(image) */

.overlay-team {
    position: absolute;
    height: 220px;
    width: 100%;
    z-index: 2;
    background-color: #080d15;
    opacity: .9;
    border-radius: 15px;
}
.banner-team {
    -webkit-background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
   
    height: 220px;
    width: 100%;
}


.carousel-caption-team {
    position: absolute;
    /*top: 53%;*/
    padding-bottom: 200px;
    left: 44%;
    z-index: 3;
    color: #fff;
    text-align: center;
    /* text-transform: uppercase; */
    text-shadow: 1px 1px 0 rgb(0 0 0 / 75%); */
    -webkit-transform: translate3d(-50%,-50%,0);
    -moz-transform: translate3d(-50%,-50%,0);
    -ms-transform: translate3d(-50%,-50%,0);
    -o-transform: translate3d(-50%,-50%,0);
    transform: translate3d(-50%,-50%,0);
    /* padding-bottom: 150px; */
    font-family: poppins;
    width: 100%;
    
}

.carousel-caption-team a {
    /* background: #edbb00; */
    padding: 15px 35px;
    display: inline-block;
    margin-top: 15px;
    color: #fff;
    text-transform: uppercase;
    border-radius: 25px;
    color: #fcff5a;
    font-size: 18px;
}


.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 rgba(0,0,0,.75);
      -webkit-transform: translate3d(-50%,-50%,0);
         -moz-transform: translate3d(-50%,-50%,0);
          -ms-transform: translate3d(-50%,-50%,0);
           -o-transform: translate3d(-50%,-50%,0);
              transform: translate3d(-50%,-50%,0);
    padding-bottom: 150px;
    font-family: poppins;
}

.carousel-inner .item .carousel-caption {
    opacity: 0;
    -webkit-transition: 2s all ease-in-out .1s;
       -moz-transition: 2s all ease-in-out .1s; 
        -ms-transition: 2s all ease-in-out .1s; 
         -o-transition: 2s all ease-in-out .1s; 
            transition: 2s all ease-in-out .1s; 
}
.carousel-inner .item.active .carousel-caption {
    opacity: 1;
    -webkit-transition: 2s all ease-in-out .1s;
       -moz-transition: 2s all ease-in-out .1s; 
        -ms-transition: 2s all ease-in-out .1s; 
         -o-transition: 2s all ease-in-out .1s; 
            transition: 2s all ease-in-out .1s;    
}


.carousel-inner .item {
    /*height: 100vh*/
}

.banner {
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /*height: 100vh*/
    height: 400px;
    width: 100%;
}


.carousel-caption h3 {
    /*font-size: 70px;*/
    /*text-transform: uppercase;*/
    font-weight: bold;
}

.carousel-caption h3 span {
    color: #edbb00;
}

.carousel-caption a {
    background: #edbb00;
    
    padding: 15px 35px;
    display: inline-block;
    ;
    margin-top: 15px;
    color: #fff;
    text-transform: uppercase;
    border-radius: 25px;
}

.carousel-control.right {
    background-image: none;
}

.carousel-control.left {
    background-image: none;
}

.carousel-indicators .active {
    background-color: #edbb00;
    border-color: #edbb00;
}

@media only screen and (max-width: 600px) {
    .carousel-caption {
    top: 37%;
       
    }
     .carousel-caption h3 {
        padding-left: 30px; 
        padding-right: 30px;
        
        
    }
    
    .carousel-caption h4 {
        
        padding-left: 30px; 
        padding-right: 30px;
        
    }
}    

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .carousel-caption {
    padding-bottom: 350px;
       
    }


    .carousel-caption h3 {
        font-size: 50px;
        padding-left: 30px; 
        padding-right: 30px;
        
        
    }
    
    .carousel-caption h4 {
        
        padding-left: 30px; 
        padding-right: 30px;
        
    }
    
}

    .carousel-caption {
        padding-bottom: 120px;
    }

    .carousel-caption h3 {
        font-size: 25px;
        
    }

    .carousel-caption h4 {
        /*-size: 18px;*/
        font-size: 20px;
    }

    .carousel-caption a {
        padding: 10px 25px;
    }

/*Scolling Text - Topmost Header*/
#scroll-container {
  /*border: 3px solid black;*/
  border-radius: 5px;
  overflow: hidden;
  margin-top: 10px;
  display: flex;
  position: relative;
  background: #015e2e !important;
}

#scroll-text {
  /* animation properties */
  color: #ffffff;
  white-space: nowrap;
  margin: 0;
  text-align: center;
  
  
  -moz-transform: translateX(100%);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  
  -moz-animation: my-animation 60s linear infinite;
  -webkit-animation: my-animation 60s linear infinite;
  animation: my-animation 60s linear infinite;
}
#scroll-text a {
color: yellow;
font-weight: 500;
}

/* for Firefox */
@-moz-keyframes my-animation {
  from { -moz-transform: translateX(100%); }
  to { -moz-transform: translateX(-100%); }
}

/* for Chrome */
@-webkit-keyframes my-animation {
  from { -webkit-transform: translateX(100%); }
  to { -webkit-transform: translateX(-100%); }
}

@keyframes my-animation {
  from {
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
  }
  to {
    -moz-transform: translateX(-100%);
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}


/*Editorial board h1*/
#main-content > div.page-header > h1 {
font-size: 40px;
font-weight: 700;
line-height: 48px;
font-color: rgb(0, 0, 0);
/*display: none;*/
}

/*HOW TO SUBMIT*/
details summary::-webkit-details-marker {
  /*display:none;*/
}

:root {
  --contentHeight: 30vh;
  --section-sWidth: 700px;
}


section {
  /*max-width: var(--section-sWidth);*/
  /*margin: 40px auto;*/
  width: 100%;
  
}



#main-content > section > details > details:nth-child(2) > summary {
font-size: 14px;
  transition: .3s;
  border-bottom: 2px solid;
  user-select: none;
  color: darkblue;
  border-top: 0;
  background: white;
  
}

#main-content > section > details > details:nth-child(29) > summary {
font-size: 12px;
  transition: .3s;
  border-bottom: 2px solid;
  user-select: none;
  border-top: 2px solid red;
  background: white;
}


summary {
  display: block;
  cursor: pointer;
  /*padding: 0 0 0 10px;*/
  font-family: "Space Mono", monospace;
  /*font-size: 12px;*/
  transition: .3s;
  /*border-bottom: 2px solid;*/
  user-select: none;
  /*color: #000;*/
  color: #DD3781;
  font-weight: 800;
  width:100%;
}

details > div {
  /*display: flex;*/
  flex-wrap: wrap;
 overflow: auto;
  height: 100%;
  user-select: none;
  padding: 0 20px;
  font-family: "Karla", sans-serif;
  line-height: 1.5;
}

details > div > img {
  align-self: flex-start;
  max-width: 100%;
  margin-top: 20px;
  width: 100%;
}

details > div > p {
  flex: 1;
}

details[open] > summary {
    color: purple;
    border-top: solid 1px black;
}

@media (min-width: 768px) {
  details[open] > div > p {
    opacity: 0;
    animation-name: showContent;
    animation-duration: 0.6s;
    animation-delay: 0.2s;
    animation-fill-mode: forwards;
    margin: 0;
    padding-left: 20px;
  }

  details[open] > div {
    animation-name: slideDown;
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
  }

  details[open] > div > img {
    opacity: 0;
    /*height: 100%;*/
    margin: 0;
    animation-name: showImage;
    animation-duration: 0.3s;
    animation-delay: 0.15s;
    animation-fill-mode: forwards;
    
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    height: 0;
    padding: 0;
  }

  to {
    opacity: 1;
    height: var(--contentHeight);
    padding: 20px;
  }
}

@keyframes showImage {
  from {
    opacity: 0;
    clip-path: inset(50% 0 50% 0);
    transform: scale(0.4);
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@keyframes showContent {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/*myslides fade*/

.slideshow-container {
  /*max-width: 100%;*/
  position: relative;
  /*margin: auto;*/
  /*height: 260px;*/
  /*width: 100%;*/
  /*background: #FFFFFF;*/ 
  /*padding: 5px 0 5px 0;*/
}

.mySlides {display: none;}
img {vertical-align: middle;}



.mySlides-cover {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 2;
    /*opacity: .5;*/
    
}

.mySlides-caption {
    position: absolute;
    top: 55%;
    left: 50%;
    z-index: 3;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 rgba(0,0,0,.75);
    /*-webkit-transform: translate3d(-50%,-50%,0);
    -moz-transform: translate3d(-50%,-50%,0);
    -ms-transform: translate3d(-50%,-50%,0);
    -o-transform: translate3d(-50%,-50%,0);*/
    transform: translate3d(-50%,-50%,0);
    /*padding-bottom: 250px;*/
     padding-bottom: 50px;
    /*font-family: poppins;*/
    width: 90%;
}
.mySlides-caption h1 {
font-weight: bold;
/*line-height: 40px;*/ 
font-family: Cardo, serif;
font-size: 50px;
}
.mySlides-caption h2 {
font-weight: bold;
font-family: Cardo, serif;
font-size: 40px;
}

@media (max-width: 365px){
.mySlides-caption h1 {
font-size: x-large;
}
}

.mySlides-caption h4 {
font-weight: bold;
text-transform: none; 
font-family: Cardo, serif;
}

.mySlides-caption h3 {
font-weight: bold;
font-family: Cardo, serif;
/*line-height: 30px;*/
}

.mySlides-caption p {
font-family: Cardo, serif;
}
.mySlides-caption a {
background: #edbb00;
padding: 5px 20px;
    display: inline-block;
    ;
    /*margin-top: 15px;*/
    color: #fff;
    text-transform: uppercase;
    border-radius: 15px;
}

/* Caption text */
.text {
  color: #fff257;
  font-size: 10px;
  padding: 8px 12px;
  position: absolute;
  bottom: 1px;
  width: 100%;
  text-align: center;
  display: none;
}

/* Number text (1/3 etc) */
.numbertext {
  /*color: #00a85a;
  font-size: 12px;
  /*padding: 8px 15px;
  position: absolute;
  top: 0;*/
  /*left:10px;*/
  display: none;
}

/* The dots/bullets/indicators */
.dot {
  height: 7px;
  width: 7px;
  margin: 6px 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  /*background-color: #717171;*/
  /*background-color: #edbb00;
  border-color: #edbb00;*/
}




/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 3.5s;
  -moz-animation-name: fade;
  -moz-animation-duration: 3.5s;
  animation-duration: 3.5s;
}

@-webkit-keyframes fade {
  from {opacity: 1} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: 1} 
  to {opacity: 1}
}


#app > label {
  position: relative;
  display: inline-block;
  background-color: #209704;
  /*padding: 5px 12px;*/
  -webkit-transition: all 1s ease;
  transition: all 1s ease;
  border-radius: 0;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}
#app > label::after {
  content: '';
  display: block;
  height: 2px;
  width: 80%;
  background-color: #F0AD4E;
  -webkit-transition: all 1s ease 0.5s;
  transition: all 1s ease 0.5s;
}
#app > label input {
  -webkit-transition: width 1s ease, opacity 0.5s ease 0.5s;
  transition: width 1s ease, opacity 0.5s ease 0.5s;
  opacity: 1;
  width: 180px;
  height: 25px;
  border: 0;
  outline: none;
  color: #b06d0f;
}
#app > label i {
  position: absolute;
  top: 11px;
  right: 11px;
  color: #ffffff;
  cursor: pointer;
}
#app > label[data-state="close"] {
  border-radius: 30px;
  padding: 5px 5px;
  -webkit-transition: all 1s ease;
  transition: all 1s ease;
}
#app > label[data-state="close"]::after {
  width: 0%;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#app > label[data-state="close"] i {
  pointer-events: none;
}
#app > label[data-state="close"] input {
  width: 28px;
  height: 25px;
  opacity: 0;
  cursor: pointer;
  -webkit-transition: opacity 0.5s ease, width 1s ease;
  transition: opacity 0.5s ease, width 1s ease;
  -webkit-appearance: none;
}
.navbar-form {
    margin-top: 5;
    margin-bottom: 0;
}
/*Home and footer overlay*/
.hero-image {
  border: 2px solid black;
  padding: 10px;
  background: linear-gradient(#004d0a, #013411), url(/public/site/images/mike/team.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  
}
.hero-text {
    text-align: center;
    position: relative;
    top: -50%;
    left: -1%;
    /* transform: translate(-50%, 35%); */
    color: white;
    font-family: Cardo, serif;
}
.hero-image p{
 color: white;
  padding-left: 25px;
  padding-right: 25px;
  font-size: 18px;
}
.hero-text button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 10px 25px;
  color: black;
  background-color: #ddd;
  text-align: center;
  cursor: pointer;
}
#example1 {
  border: 2px solid #000;
  padding: 25px;

  /* Multiple background images */
  background-image:
    url("/public/site/images/mike/img_tree.gif"),
    url("/public/site/images/mike/mountain.jpg");

  background-repeat: no-repeat, no-repeat;
  background-position: left top, center center;
  background-size: contain, cover;

  font-family: "Cardo", serif;
}

@media (max-width: 335px){
#example1 > h2 {
    font-size: inherit;
}
}
@media (max-width: 420px){
#example1 p {
    margin-left: 0;
}
}
@media (min-width: 420px){
#example1 p {
    margin-left: 80px;
}
}

@media (max-width: 420px){
#example1 button {
    margin-left: 0;
}
}

@media (min-width: 420px){
#example1 button {
    margin-left: 80px;
}
}
#example1 button {
  /*border: none;
  outline: 0;
  display: inline-block;
  padding: 10px 25px;*/
  color: white;
  background-color: #370405;
  text-align: center;
  cursor: pointer;
  /*margin-left: 80px;*/
}

/*Editorial Team*/
.edname {
color: darkblue;
}
.emi {
color: #000;
}
.ema {
color: #85C224;
}
.tel {
color: #000;
}
.telp {
color: #4787A7;
}
.role {
color: #000;
}
.roleed {
color: #D27033;
}


a.galley-link.btn.btn-primary.file {
margin: 5px;
border-radius: 0px;
background: darkblue;
border-color: #6D006D;
padding-bottom: 1px;
padding-top: 2px;
}
.btn-group > a.galley-link.btn.btn-primary.pdf {
border-radius: 0px;
background: darkblue;
border-color: #6D006D;
padding-bottom: 1px;
padding-top: 2px;
margin: 5px;
}
/*Card-0*/
.card-0 {
  border-radius: 50%;
    border: solid thin;
    padding: 4px;
    width: 140px;
    height: 140px;
}

.Card-0-p {
padding: 20px;
line-height: 20px;
background: linear-gradient(1deg, #013f0c, #013f0c); 
border-radius: 50%; 
width: 130px; 
height: 130px;
border: dotted; 
color: white; 
font-size: 11px;
}



.hp .col-xs-12,
.hp .card-0,
.hp .Card-0-p,
.hp .flip-spot,
.hp .flip-inner,
.hp .flip-front,
.hp .flip-back {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .hp .col-xs-12 {
    margin-bottom: 20px;
  }
}

/*Card-1*/
.card-1 {
border: solid thin; 
padding: 5px;
}


.a-text a {
/*color: #f1a7ca;*/
}
.a-text a {
/*display: inline-block;
  margin-top: 10px;
  padding: 6px 12px;*/
  /*background: #ff69b4;*/
  /*color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1rem;
  transition: background 0.3s ease;*/
}

.a-text a:hover {
 /* background: #ff85c1;*/
}

.a-text:hover {
 /* transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);*/
}

/* Style the row as a whole */
.custom-cards-section .row {
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #f9f9f9;
  padding: 20px 10px;
  border-top: 2px dotted #ccc;
  border-bottom: 2px dotted #ccc;
  /*background: #1e1e1e;*/
   text-align: center;
    margin-left: -10px;
  margin-right: -10px;
}

/* Style individual columns */
.custom-cards-section .col-xs-12 {
  margin-bottom: 20px; /* spacing for stacked layout on small screens */
  flex: 1 1 30%;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #292929;
  padding-left: 10px;
  padding-right: 10px;
  
  
}

/* Style the card inside each column */
.custom-cards-section .card-m {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Optional: Add hover effect */
.custom-cards-section .card-m:hover {
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

/* Header text */
.custom-cards-section .h-text h4 {
  font-size: 1.85rem;
  color: #333;
  margin-bottom: 10px;
}

.a-text {
/*border-top: solid #75C4EF;
background: #01004d;
text-align: right; 
padding-right: 10px;*/
}

/* Paragraph text */
.custom-cards-section .p-text p {
  font-size: 1.4rem;
  color: #666;
  text-align: left;
  line-height: 20px;
}

/* Links */
.custom-cards-section .a-text a {
  font-weight: bold;
  color: #0073aa;
  text-decoration: none;
}
.custom-cards-section .a-text a:hover {
  text-decoration: underline;
}
/*USEFUL LINKS ENDS*/


/* ------------------ RESPONSIVE BREAKPOINTS ------------------ */

/* Small devices (phones, ≤600px) */
@media (max-width: 600px) {
  .navbar-brand {
    height: auto;
    font-size: 14px;
   padding: 4px 15px;
  }
  #sidebar {
    /*float: none;*/
    width: 100%;
    margin-top: 1rem;
  }
  #customblock-slid {
    display: block;
    width: 100%;
  }
  
  .text-right-2 {
    float: none;
    text-align: center;
    padding-top: 10px;
  }
  .pkp_block {
    font-size: 13px;
  }
  .block_information a,
  .block_language_toggle a {
    font-size: 12px;
  }
}

/* Medium devices (tablets, 601px–991px) */
@media (min-width: 601px) and (max-width: 991px) {
  .navbar-brand {
    height: 60px;
    font-size: 15px;
  }
  #sidebar {
    width: 250px;
  }
  .pkp_block {
    font-size: 14px;
  }
}

/* Large devices (desktops, ≥992px) */
@media (min-width: 992px) {
  .navbar-brand {
    height: 65px;
  }
  #sidebar {
    width: 300px;
  }
}



/* ====== Lift Card ====== */
:root{
  --accent:#7950f2;
  --radius:1rem;
  --gap:1.25rem;
  --shadow:0 1rem 2rem -.5rem rgba(0,0,0,.15);
  --transition:.35s cubic-bezier(.25,.8,.25,1);
}

.lift-card{
  max-width:28rem;
  margin:auto;
  padding:var(--gap) calc(var(--gap)*1.3);
  border-radius:var(--radius);
  background:linear-gradient(135deg,var(--accent),var(--accent) 30%,#3b29ff);
  color:#fff;
  box-shadow:var(--shadow);
  transform:translateY(0) scale(1);
  transition:transform var(--transition), box-shadow var(--transition);
}
.lift-card:hover{
  transform:translateY(-6px) scale(1.02);
  box-shadow:0 1.5rem 3rem -.5rem rgba(0,0,0,.25);
}
.lift-card h3{margin:0 0 .5rem;font-size:1.4rem;font-weight:600;}
.lift-card p{margin:0 0 1.2rem;font-size:.95rem;opacity:.9;line-height:1.45;}
.lift-card .btn{
  display:inline-block;
  padding:.6rem 1.4rem;
  border-radius:calc(var(--radius)/1.8);
  background:#fff;
  color:var(--accent);
  font-weight:600;
  text-decoration:none;
  transition:background var(--transition), color var(--transition);
  margin-left: 120px;
}
.lift-card .btn:hover{background:rgba(255,255,255,.85);}

/* ====== Lift End ====== */



/* ====== Flip Circle ====== */
.flip-spot{
  width:13rem;height:13rem;/*margin:auto;*/
  perspective:1000px;
}
.flip-inner{
  position:relative;
  width:100%;height:100%;
  transform-style:preserve-3d;
  transition:transform .8s;
}
.flip-spot:hover .flip-inner{transform:rotateY(180deg);}
.flip-front, .flip-back{
  position:absolute;inset:0;
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  border-radius:50%;text-align:center;
  backface-visibility:hidden;
}
.flip-front{
  background:conic-gradient(from 180deg at 50% 50%,#01b239 0 30%,#ae5604 30% 60%,#000000 60%);
  color:#fff;
}
.flip-back{
  background:#ffffff;border:3px solid #02783b;
  transform:rotateY(180deg);
  padding:1.5rem;color:#333;
}
.flip-back p{font-size:.9rem;margin:0 0 .8rem;}
.flip-back a{
  padding:.5rem 1.3rem;border-radius:2rem;
  background:#037242;color:#fff;text-decoration:none;font-weight:600;
}
/* ====== Flip Circle End====== */



/* ====== Ribbon Banner ====== */
.ribbon-banner{
  --bg:#222831;
  --accent:#29a19c;
  display:flex;align-items:center;gap:1.5rem;
  padding:.9rem 1.8rem;color:#fff;
  background:var(--bg);
  position:relative;overflow:hidden;
}
.ribbon-banner::before{
  content:'';
  position:absolute;left:-15%;top:0;
  width:130%;height:100%;background:var(--accent);
  transform:skewX(-18deg) translateX(-100%);
  animation:slide-in 1.1s forwards;
  z-index:0;
}
@keyframes slide-in{
  to{transform:skewX(-18deg) translateX(0);}
}
.ribbon-text, .ribbon-link{position:relative;z-index:1;}
.ribbon-text{font-size:1.05rem;font-weight:500;}
.ribbon-link{
  padding:.4rem 1.2rem;border:2px solid #fff;border-radius:3px;
  color:#fff;text-decoration:none;font-size:.9rem;
  transition:background .3s,color .3s;
  margin-left: 300px;
}
.ribbon-link:hover{background:#fff;color:var(--accent);}
/* ====== Ribbon Banner Ends====== */


/* ====== Article metrics ends====== */

/* --------------------------------------------------
 * FOOTER  •  compact three-tone layout
  -------------------------------------------------- */

  footer.footer { font-family: "Open Sans", sans-serif; margin-top: 0; padding: 0; background: linear-gradient(1deg, #114b00, #114b00); color:#eaeaea; }
  footer.footer a         { /*color:#cddc39; text-decoration:none;*/ }
  footer.footer a:hover   { color:#ffe57f; text-decoration:none; }
  footer.footer small     { font-size:.8rem; }
  
  .lh-sm                  { line-height:1.3; }     /* tightened line-height */
  
  /* ---------- row backgrounds --------------------------------- */
  .footer-row-0 { /*background:hsl(0, 8%, 97%);*/ margin-top: 5px;}
  .footer-row-1 { /*background:#1f1f1f;*/ }
  .footer-row-2 { background-color: #0b3301 !important; margin-top: 10px;}
  .footer-row-3 { background-color: linear-gradient(1deg, #1f8301, #208402) !important; border-top: 1px solid #444; border-top: solid 1px rgb(172, 169, 169);} 
  .footer-row-1a { /*background:#ecc;*/ margin-top: 10px;}
  .footer-row-1a .container  { width:100%; }
  
  footer .footer-row-0.py-3 > div { width: 100% }
  
  /* ---------- info-block (Row 2) ------------------------------ */
  .ojs-custom-info-block  { display:flex; flex-wrap:wrap; gap:0.5rem; padding:0.5rem 0; }
  .ojs-custom-info-item   { flex:1 1 220px; padding:.1rem 3rem; border-radius:4px; 	animation:fadeInUp .8s ease forwards;}
  .ojs-custom-info-item h6{ font-size:1.25rem; font-weight:600; margin-bottom:1.25rem; }
  .ojs-custom-info-item p,
  .ojs-custom-info-item li{ font-size:1.1rem; margin-bottom:0.25rem; line-height:1.1;}
  
  .ojs-custom-info-item i { font-size:1.5rem; margin-right:1.25rem; margin-top:0.5rem;}
  
  /* per-column accent links */
  .ojs-custom-info-item:nth-child(1) a { color:#ff8fa3; }
  .ojs-custom-info-item:nth-child(2) a { color:#f19df7; }
  .ojs-custom-info-item:nth-child(3) a { color:#f19df7; }      /* Editorial & Review default */
  .ojs-custom-info-item:nth-child(3) a:hover { color:#ffd54f; }/* distinct hover colour     */
  .ojs-custom-info-item:nth-child(4) a { color:#ff8fa3; }
  
  .ojs-custom-info-item:nth-child(2) a,
  .ojs-custom-info-item:nth-child(3) a {
    letter-spacing: 0.5px; padding: 1px 0 1px 0;
    transition: color 0.2s ease;
    display: block;
   
  }
  
  
  .ojs-custom-info-item:nth-child(1) { background: linear-gradient(1deg, #1f8301, #240808); }
  .ojs-custom-info-item:nth-child(2) { background: linear-gradient(1deg, #1f8301, #200707); }
  .ojs-custom-info-item:nth-child(3) { background: linear-gradient(1deg, #1f8301, #1C0606); }
  .ojs-custom-info-item:nth-child(4) { background: linear-gradient(1deg, #1f8301, #180505); }
  
  
  /* ---------- small screens ----------------------------------- */
  @media (max-width:575.98px){
    .ojs-custom-info-item      { flex:1 1 100%; text-align:center; }
    .footer-row-3 .container   { flex-direction:column; }
    .footer-row-3 a            { order:-1; margin-bottom:.75rem; }
    .footer-row-1a .container  { flex-direction:column; }
    
  }
  








.latest-articles-wrapper {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.footer-sec-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  border-left: 4px solid #007bff;
  padding-left: 10px;
  color: #007bff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

h6.footer-sec-title.text-md-start.text-center {
  border-left: 0;
}
/* Container holds articles in two columns */
.homepage-latest-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch; /* Stretch all items to same height */
  background-color: #fff;
}

/* Each article */
.homepage-latest-articles article.media {
  flex: 1 1 calc(50% - 0.5rem);
  display: flex;
  /*flex-direction: column;*/
  justify-content: flex-start;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease-in-out;
}

.homepage-latest-articles article.media:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Inner content area */
.media-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

/* Article title */
.media-heading a {
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
  line-height: 1.9rem;
  text-decoration: none;
}

.media-heading a:hover {
  color: #0056b3;
}

/* Remove margin issues */
.homepage-latest-articles h4.media-heading {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

h3.media-heading a {
    Font-size: 2rem;
    line-height: 1.3;
}

/* Author name */
.media-body p.mb-1:first-of-type {
  font-style: italic;
  color: #444;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

p.mb-1 {
    line-height: 1.3;
}

/* Page numbers */
.media-body p.mb-1 strong {
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
}

.media-body p.mb-1 {
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
}


/* List of links (Abstract, PDF, DOI) */
.list-inline {
  padding-left: 0;
  margin: 0.5rem 0 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.list-inline-item {
  display: inline-block;
}

.list-inline-item a {
  display: inline-block;
  padding: 4px 8px;
  font-size: 0.99rem;
  background-color: #3e72ab00;
  color: #333;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
  border: 0.5px solid #ccc;
  font-weight: 500;
}

.list-inline-item a:hover {
  background-color: #a8d0fb;
  color: #000;
  border-color: #007bff;
}

/* Margins */
.mb-1 {
  margin-bottom: 0.5rem !important;
}

.mb-2 {
  margin-bottom: 0.75rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

/* Ensure text stays inside containers */
/*.latest-articles-wrapper,
.homepage-latest-articles article.media,
.media-body,
.media-heading a,
.media-body p,
.list-inline,
.list-inline-item {
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  overflow-x: hidden;
}*/

/*.list-inline-item a {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100%;
  display: inline-block;
}*/

/*.media:first-child {
  margin-top: 30px;
}*/

.homepage-latest-articles {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start; /* Ensures all children align to top */
}

.homepage-latest-articles article.media {
  margin-top: 0 !important;
}

.homepage-latest-articles article.media {
  display: flex;
  /*flex-direction: column;*/
  justify-content: space-between;
  height: 100%; /* helps with equal height columns */
}

/*article.media {
  outline: 1px dashed red;
}

article.media:first-child::before {
  content: 'FIRST';
  background: yellow;
  padding: 2px;
  position: absolute;
}*/



/* Responsive fallback: stack articles vertically on smaller screens */
@media (max-width: 767px) {
  .homepage-latest-articles article {
    flex: 1 1 100%;
  }
}














.carousel-inner .item img {
  margin: 0 auto;
  display: block;
  max-width: 100%;
  height: auto;
}

.carousel-control {
  width: 5%;
  color: #000;
  font-size: 1.5rem;
  opacity: 0.7;
  text-shadow: none;
  background: none;
  background-image: none !important;
}
.carousel-control:hover,
.carousel-control:focus {
  color: #000;
  text-decoration: none;
  opacity: 1;
}
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
  font-size: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.index-logos img {
  filter: grayscale(5%);
}
.index-logos img:hover {
  filter: none;
}

.footer-row-3 .row {
  margin: 0 auto;
  max-width: 100%, /*or your preferred width */
}

.publisher-block {
   
    padding-top: 0;
}

@media (max-width: 992px) {
  .footer-row-3 .row {
    display: block;
    text-align: center;
  }

  .footer-row-3 .col-sm-4 {
    width: 100%;
    margin-bottom: 15px;
  }
}



body::before {
  /*content: "Child Theme CSS Active" !important;
  display: block;
  color: red;
  background: #fffbe6;
  padding: 0.5rem;*/
}