/*background for the body of the site*/
html, body {
  background-image: image-set(
    url("/public/site/old_wall.avif") type("image/avif"),
    url("/public/site/old_wall.webp") type("image/webp"),
    url("/public/site/old_wall.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center top;
  height: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* Mobile & tablets: use 1280px versions and disable fixed backgrounds */
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
  body {
    /* If you want the crop centered instead of top-aligned on phones: */
    background-position: center center;

    /* Older Safari first (optional), then standard */
    background-image: -webkit-image-set(
      url("/public/site/old_wall1280.avif") type("image/avif"),
      url("/public/site/old_wall1280.webp") type("image/webp"),
      url("/public/site/old_wall1280.jpg") type("image/jpeg")
    );
    background-image: image-set(
      url("/public/site/old_wall1280.avif") type("image/avif"),
      url("/public/site/old_wall1280.webp") type("image/webp"),
      url("/public/site/old_wall1280.jpg") type("image/jpeg")
    );

    background-size: cover;         /* keep aspect ratio; gentle crop */
    background-attachment: scroll;  /* fix iOS issues */
  }
}

/* Use small viewport height on modern mobile so the background fills under the URL bar */
@supports (height: 100svh) {
  html, body { min-height: 100svh; }
}


/*Addtional CSS for body of the site*/
.pkp_structure_page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.pkp_structure_content {
  flex: 1 0 auto;
}
.pkp_structure_head {
    border-bottom: none;
}
footer, .pkp_structure_footer_wrapper {
  flex-shrink: 0;
}

/*the element listing the latest preprints on the homepage*/
.homepage_latest_preprints {
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 1.43rem;
    box-shadow: 2px 2px 10px 0px #2223254a
}

/*the header for the list of preprints*/
.homepage_latest_preprints > h2 {
    margin: 0 0 1.43rem;
}

/*the buttons linking to pdf files*/
.obj_galley_link {
    background: #5d24214d;
    border: none;
}

/*The addtional content text for the homepage*/
.additional_content {
  display: none;
}

/*the homepage element showing search bar and categories*/
.archiveHeader {
  background: none;
  display: none;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.pkp_structure_main:before {
  display: none;
}
.pkp_structure_main:after {
  display: none;
}

/* Broader selector in case theme structure varies */
.title,
.title a {
  color: #1A124A;
}
/* Change only the text color in the banner under the header */
.archiveHeader,
.archiveHeader * {
  color: #1A124A;
}

/*translucent background on About Server page*/
.page {
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 1.43rem;
    box-shadow: 2px 2px 10px 0px #2223254a;
}
.page_preprint {
    padding: 0;
}

/*Category description text*/
.description {
    font-style: normal;
    color: black;
}

/*language selction block*/
.block_language {
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 1.43rem;
    box-shadow: 2px 2px 10px 0px #2223254a;
    margin-right: 1.43rem;
    margin-left: 1.43rem;
}

/*Article page*/
.main_entry {
  padding-left: 0rem
}
.pkp_page_preprint .cmp_breadcrumbs {
  padding-left: 1.43rem;
  padding-top: 1.43rem;
}
.page_title {
  padding-left: 0rem;
  padding-top: 10px;
}
.obj_preprint_details .page_title{
  padding-left: 1.43rem;
}
.obj_preprint_details .row{
  margin-left: 0;
  margin-right: 0;
}
.preprint_label {
  padding-left: 1.43rem;
}
.pkp_page_preprint .subtitle {
  padding-left: 1.43rem;
}

/*About Moderator page*/
.pkp_page_about-moderators .pkp_structure_main{
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  /*max-width: 800px;
  margin-left: 30px;
  margin-right: 30px;
  padding-left: 0px;
  padding-right: 0px;*/
  margin-bottom: 50px;
  padding-bottom: 0px;
  box-shadow: 2px 2px 10px 0px #2223254a;
}
.pkp_page_about-moderators .cmp_breadcrumbs{
  padding-left: 1.43rem;
  padding-top: 1.43rem;
}
.pkp_page_about-moderators .page{
  box-shadow: none;
  padding-top: 0;
}

/*header and footer*/
.pkp_structure_head {
    margin-bottom: 20px;
    background-color: #1d2744ba;
    box-shadow: 2px 2px 10px 0px #2223254a
}
.pkp_site_nav_menu {
    background: none;
}
.pkp_structure_footer_wrapper {
    background: #30324026;
}
.pkp_structure_main {
    padding-bottom: 4rem;
    padding-left: 0;
    padding-right: 0;
}

.pkp_site_nav_menu--isOpen {
    background-color: #1d2744ba;
}

.obj_preprint_summary {
    padding: 1rem;
    background: #ffffff1f;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.cmp_preprint_list>li {
    margin-bottom: 0;
}

.cmp_notification {
    background: #ffffff45;
    border-left: none;
}

.details {
    display: none;
}
