/*! UMT Journals Custom Style Sheet v1.0.5 | Date July 27, 2026 | CC by 4.0 by Syed Mughees Ul Hassan */

.pkp_page_index .cmp_announcements h2 + .obj_announcement_summary,
.pkp_page_index .cmp_announcements .more {
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (min-width: 992px) {
    .pkp_page_index .cmp_announcements {
        border-bottom: 1px solid #ddd;
        border-top: 1px solid #ddd;
    }
}
.pkp_structure_page {
    margin-top: 0px;
    margin-bottom: 0px;
}

ul.links {
        list-style: none;
        padding: 0;
        display: flex;
        gap: 10px;
    }
ul.links a {
        display: inline-block;
        padding: 8px 16px;
        background-color: #002e79; /* Change to your primary journal color */
        color: #ffffff;
        text-decoration: none;
        border-radius: 4px;
        font-weight: 600;
        transition: background 0.2s ease;
    }
ul.links a:hover {
        background-color: #0056b3;
        color: #ffffff;
    }
p, .obj_article_details .abstract, .obj_article_details .item > :last-child {
   text-align: justify;
}

/* OJS Index journals: make UL the grid (not the .journals div) */
.pkp_page_index .page_index_site .journals > ul {
  list-style: none;
  padding-left: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 14px;
  align-items: stretch;

  /* Standard: 2 columns */
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Card = LI */
.pkp_page_index .page_index_site .journals > ul > li {
  margin: 0 !important;
  padding: 10px !important;
  align-content: top;
  height: 100%;
  min-width: 0;

  border: 1px solid #e0e0e0;
  border-radius: 5px;
  background-color: #fafafa;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.2s ease;

  /* Make internal layout behave like archive cards */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Hover like archive */
.pkp_page_index .page_index_site .journals > ul > li:hover {
  box-shadow: 0 10px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

/* Neutralize Manuscript thumb/body layout so it doesn't fight the card */
.pkp_page_index .page_index_site .journals > ul > li .thumb,
.pkp_page_index .page_index_site .journals > ul > li .body {
  float: none !important;
  width: auto !important;
  padding: 5px !important;
}

/* Thumbnail behaves cleanly inside the card */
.pkp_page_index .page_index_site .journals > ul > li .thumb {
  margin: 0 0 1px 0;
}
.pkp_page_index .page_index_site .journals > ul > li .thumb img {
  display: block;
  width: auto;
  height: 160px;
  border-radius: 5px;
}

/* Body fills the remaining height (archive-like spacing) */
.pkp_page_index .page_index_site .journals > ul > li .body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 10px !important;
}

/* Tidy typography spacing to feel like archive cards */
.pkp_page_index .page_index_site .journals > ul > li .body h3 {
  margin: 0 0 10px 0;
}
.pkp_page_index .page_index_site .journals > ul > li .description {
  margin: 0 0 12px 0;
}

/* Links row clean */
.pkp_page_index .page_index_site .journals > ul > li .links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Optional: remove heavy underline behavior */
.pkp_page_index .page_index_site .journals a {
  text-decoration: none;
}

/* Mobile: 1 column */
@media (max-width: 768px) {
  .pkp_page_index .page_index_site .journals > ul {
    grid-template-columns: 1fr;
  }
}

/* Only on the Site Journals Index page */
body.pkp_page_index.pkp_op_index:has(.page_index_site) .pkp_structure_main {
  width: auto;
}

.pkp_brand_footer {
  display: none !important;
}
.pkp_footer_content {
    padding: 3opx;
    text-align: left;
}
.pkp_page_index .journals h3 a {
  color:#002e79
}
.pkp_page_index .journals h3 a:hover,
.pkp_page_index .journals h3 a:focus {
  color:#0056b3
}
.block_make_submission_link::before {
    content: "\f1d8";
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    font-style: normal;
    display: inline-block;
    margin-right: 0.45em;
    font-size: 0.9em;
    vertical-align: -0.05em;
    color: #ffffff !important;
    line-height: 1;
}

@media (min-width:992px) {
   .pkp_navigation_user::before {
    content: "\f19c";
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 1;
    font-style: normal;
    display: inline-block;
    margin-right: -0.5em;
    font-size: 0.9em;
    color: #ffffff !important;
    line-height: 1;
   }
  .pkp_navigation_user_wrapper {
    width:40%;
  }
}


/* Universal for author structures across themes */
.authors .name::before,
.author-list .name::before,
.item.authors .name::before,
.obj_issue_toc .obj_article_summary .meta .authors::before,
ul.cmp_article_list.articles .obj_article_summary .meta .authors::before {
   content: "\f007" !important;
   font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "FontAwesome" !important;
   font-weight: 900 !important;
   display: inline-block !important;
   margin-right: 0.5em !important;
   font-size: 0.9em !important;
}

/* Universal for affiliation */
.authors .affiliation::before,
.author-list .affiliation::before,
.item.authors .affiliation::before {
   content: "\f19c" !important;
   font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "FontAwesome" !important;
   font-weight: 100 !important;
   display: inline-block !important;
   margin-right: 0.5em !important;
   font-size: 0.85em !important;
}

/* Universal for ORCID */
.obj_article_details .item.authors .author-list .orcid a::before,
.orcid a::before,
.author-orcid a::before,
a[href*="orcid.org"]::before {
   content: "" !important;
   display: inline-block !important;
   width: 16px !important;
   height: 16px !important;
   margin-right: 0.5em !important;
   vertical-align: middle !important;
   
   /* Your exact Font Awesome SVG converted to a valid CSS Data URI */
   background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640" fill="%23A6CE39"><path d="M358.7 252.2L312.8 252.2L312.8 406L360.3 406C427.9 406 443.4 354.7 443.4 329.1C443.4 287.5 416.9 252.2 358.7 252.2zM320 72C183 72 72 183 72 320C72 457 183 568 320 568C457 568 568 457 568 320C568 183 457 72 320 72zM239.2 432.8L209.4 432.8L209.4 225.3L239.2 225.3L239.2 432.8zM224.3 162.5C235.1 162.5 243.9 171.3 243.9 182.1C243.9 192.9 235.1 201.7 224.3 201.7C213.5 201.7 204.7 192.9 204.7 182.1C204.7 171.3 213.5 162.5 224.3 162.5zM364 433L283 433L283 225.3L363.6 225.3C440.3 225.3 474 280.1 474 329.2C474 382.5 432.3 433.1 364 433.1z"/></svg>') !important;
   
   background-size: contain !important;
   background-repeat: no-repeat !important;
}


/* DOI Custom SVg in place of DOI: lable */
.obj_article_details .item.doi .label,
.item.doi .label,
.pub_format_res .doi .label,
.obj_issue_toc .doiInSummary strong,
div[id^="doi_article-"].doiInSummary strong {
    display: none !important;
}

.obj_article_details .item.doi .value a::before,
.item.doi .value a::before,
.pub_format_res .doi a::before,
a[href*="doi.org/"]::before {
   content: "" !important;
   display: inline-block !important;
   /* Matches standard typography line scaling */
   width: 18px !important;
   height: 18px !important;
   margin-right: 0.5em !important;
   vertical-align: middle !important;
   
   /* Your exact explicit XML SVG string sanitized for CSS URL compliance */
   background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 130 130" width="130" height="130"><circle style="fill:%23fcb425" cx="65" cy="65" r="64"/><path style="fill:%23231f20" d="m 49.819127,84.559148 -11.854304,0 0,-4.825665 c -1.203594,1.510894 -4.035515,3.051053 -5.264716,3.742483 -2.151101,1.203585 -5.072066,1.987225 -7.812161,1.987225 -4.430246,0 -8.373925,-1.399539 -11.831057,-4.446924 -4.1229464,-3.636389 -6.0602455,-9.19576 -6.0602455,-15.188113 0,-6.094791 2.1126913,-10.960381 6.3380645,-14.59676 3.354695,-2.893745 7.457089,-5.209795 11.810505,-5.209795 2.535231,0 5.661807,0.227363 7.889738,1.302913 1.280414,0.614601 3.572628,2.060721 4.929872,3.469179 l 0,-25.420177 11.854304,0 z m -12.1199,-18.692584 c 0,-2.253538 -0.618258,-4.951555 -2.205973,-6.513663 -1.587724,-1.587724 -4.474153,-2.996182 -6.727691,-2.996182 -2.509615,0 -4.834476,1.825511 -6.447807,3.720535 -1.306031,1.536501 -1.959041,3.905269 -1.959041,5.877114 0,1.971835 0.740815,4.165004 2.046836,5.701505 1.587714,1.895025 3.297985,3.193739 5.833216,3.193739 2.279145,0 4.989965,-0.956662 6.552083,-2.51877 1.587714,-1.562108 2.908377,-4.185134 2.908377,-6.464278 z"/><path style="fill:%23fff" d="m 105.42764,25.617918 c -1.97184,0 -3.64919,0.69142 -5.03204,2.074271 -1.357247,1.357245 -2.035864,3.021779 -2.035864,4.993633 0,1.971835 0.678617,3.649193 2.035864,5.032034 1.38285,1.382861 3.0602,2.074281 5.03204,2.074281 1.99744,0 3.67479,-0.678627 5.03203,-2.035861 1.38285,-1.382861 2.07428,-3.073012 2.07428,-5.070454 0,-1.971854 -0.69143,-3.636388 -2.07428,-4.993633 -1.38285,-1.382851 -3.0602,-2.074271 -5.03203,-2.074271 z M 74.219383,45.507921 c -7.323992,0 -12.970625,2.283009 -16.939921,6.848949 -3.277876,3.782438 -4.916803,8.118252 -4.916803,13.008406 0,5.430481 1.626124,10.009834 4.878383,13.738236 3.943689,4.538918 9.475093,6.808622 16.59421,6.808622 7.093512,0 12.612122,-2.269704 16.555801,-6.808622 3.252259,-3.728402 4.878393,-8.1993 4.878393,-13.413648 0,-5.160323 -1.638938,-9.604602 -4.916803,-13.332994 -4.020509,-4.56594 -9.398263,-6.848949 -16.13326,-6.848949 z m 24.908603,1.386686 0,37.634676 12.599304,0 0,-37.634676 -12.599304,0 z M 73.835252,56.975981 c 2.304752,0 4.263793,0.852337 5.877124,2.554426 1.638928,1.675076 2.458402,3.727881 2.458402,6.159457 0,2.458578 -0.806671,4.538022 -2.419992,6.240111 -1.613331,1.675086 -3.585175,2.514099 -5.915534,2.514099 -2.612051,0 -4.737546,-1.027366 -6.376474,-3.080682 -1.331637,-1.648053 -1.997451,-3.539154 -1.997451,-5.673528 0,-2.107362 0.665814,-3.985138 1.997451,-5.633201 1.638928,-2.053316 3.764423,-3.080682 6.376474,-3.080682 z"/></svg>') !important;
   
   background-size: contain !important;
   background-repeat: no-repeat !important;
}

/* PAGE NUMBER ICON (fa-file-lines / fa-file-text: \f15c) */
.obj_issue_toc .obj_article_summary .meta .pages::before,
ul.cmp_article_list.articles .obj_article_summary .meta .pages::before,
.obj_article_details .item.pages::before,
.item.pages::before {
   content: "\f15c" !important;
   font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "FontAwesome" !important;
   font-weight: 900 !important;
   font-style: normal !important;
   display: inline-block !important;
   margin-right: 0.5em !important;
   font-size: 0.9em !important;
   color: #555555 !important; /* Adjust hex color to match your journal theme styling */
   vertical-align: middle !important;
}

/* Optional styling to make sure the text container aligns nicely with the icon */
.obj_article_summary .meta .pages,
.item.pages {
   display: inline-flex !important;
   align-items: center !important;
}
