@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&display=swap");

/* UJC custom style
   Palette: dark red #b9433f, coral #eb6864, accent green #2e9e4f (used sparingly) */

/* 1 & 7. Readable body text, one clean sans-serif font + News Cycle for headings */
body,
.pkp_structure_main,
.pkp_structure_sidebar,
footer {
  font-family: "Open Sans", Arial, sans-serif;
  color: #333333;
  font-size: 15px;
  line-height: 1.65;
}
.pkp_structure_main p,
.pkp_structure_main li {
  color: #333333;
}
h1, h2, h3, h4,
.page-header h1,
.media-heading,
.btn {
  font-family: "News Cycle", "Arial Narrow Bold", sans-serif;
}

/* 6. Green accent: short underline under main headings */
.pkp_structure_main h2,
.pkp_structure_main .page-header h1,
.pkp_structure_main .current_issue > h2,
.pkp_structure_main .issue-toc .section > h2 {
  position: relative;
  padding-bottom: 8px;
  border-bottom: 1px solid #eeeeee;
}
.pkp_structure_main h2::after,
.pkp_structure_main .page-header h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 60px;
  height: 3px;
  background-color: #2e9e4f;
}

/* 2. Sidebar: same red style for the remaining panels, hide the RSS-only block */
.pkp_structure_sidebar .block_web_feed {
  display: none;
}
.pkp_structure_sidebar .pkp_block {
  border: 1px solid #e5e5e5;
  border-radius: 0;
  box-shadow: none;
}
.pkp_structure_sidebar .pkp_block > .title {
  background-color: #b9433f;
  color: #ffffff;
  font-family: "News Cycle", "Arial Narrow Bold", sans-serif;
  font-size: 17px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 8px;
  margin: 0;
  border-bottom: 0;
}
.pkp_structure_sidebar .block_information a,
.pkp_structure_sidebar .block_language a {
  color: #b9433f;
}

/* 4. Article lists as cards */
.media-list .article-summary.media {
  border: 1px solid #e3e3e3;
  border-left: 4px solid #b9433f;
  border-radius: 4px;
  padding: 14px 16px;
  margin: 0 0 14px 0;
  background-color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.media-list .article-summary.media:hover {
  border-left-color: #2e9e4f;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.10);
}
.article-summary .media-heading {
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 6px;
}
.article-summary .media-heading a {
  color: #b9433f;
}
.article-summary .meta {
  color: #555555;
  font-size: 14px;
}
.article-summary .meta .pages {
  color: #777777;
}
.article-summary .btn-group {
  margin-top: 8px;
}

/* 3. Compact header: search box moves up to the top row on desktop */
@media (min-width: 992px) {
  #headerNavigationContainer {
    position: relative;
  }
  #headerNavigationContainer .pull-md-right {
    position: absolute;
    top: 6px;
    right: 150px;
    margin: 0;
  }
  #headerNavigationContainer .navbar-form {
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
  #headerNavigationContainer .navbar-form .form-control {
    height: 32px;
    width: 190px;
    border: 0;
    border-radius: 3px 0 0 3px;
  }
  #headerNavigationContainer .navbar-form .btn {
    height: 32px;
    padding: 4px 12px;
    border-radius: 0 3px 3px 0;
    margin-left: -4px;
    background-color: #eb6864;
    border-color: #eb6864;
    color: #ffffff;
  }
}

/* 5. Footer */
footer.footer {
  background-color: #8f302d;
  color: #f3dede;
  border-top: 4px solid #2e9e4f;
  padding: 26px 0 14px;
}
footer a,
footer a:link,
footer a:visited {
  color: #ffffff;
  text-decoration: underline;
}
footer p,
footer li {
  color: #f3dede;
  font-size: 14px;
}
footer .ujc-footer-title {
  font-family: "News Cycle", "Arial Narrow Bold", sans-serif;
  font-size: 17px;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
footer ul {
  padding-left: 18px;
  margin: 0;
}
footer.footer img[src*="ojs_brand"] {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* Colored top navigation bar */
.navbar-default {
  background-color: #b9433f;
  border-color: #a33a36;
}
.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-nav > li > a:link,
.navbar-default .navbar-nav > li > a:visited {
  color: #ffffff;
  font-weight: bold;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  background-color: #eb6864;
  color: #ffffff;
}
.navbar-default .navbar-nav > li > a .caret {
  border-top-color: #ffffff;
}
#navigationUser > li > a {
  color: #ffffff;
}
#navigationUser > li > a:hover,
#navigationUser > li > a:focus,
#navigationUser > li.open > a {
  background-color: #eb6864;
  color: #ffffff;
}
/* Larger logo next to Home */
.navbar-default .navbar-brand.navbar-brand-logo {
  height: auto;
  padding: 6px 15px;
}
.navbar-default .navbar-brand.navbar-brand-logo img {
  height: 58px;
  max-height: none;
  width: auto;
  /* force the new transparent logo past the CDN cache */
  content: url("https://ejournal.unesa.ac.id/public/journals/35/pageHeaderLogoImage_en_US.png?v=20261019");
}
.navbar-default .navbar-nav > li > a {
  padding-top: 25px;
  padding-bottom: 25px;
}
/* "Indexed by" logos on the homepage */
.additional_content {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #eeeeee;
}
.additional_content p:first-child {
  font-family: "News Cycle", "Arial Narrow Bold", sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #b9433f;
  margin-bottom: 8px;
}
.additional_content img {
  vertical-align: middle;
  margin: 4px 6px;
}
.navbar-default .navbar-toggle {
  border-color: #ffffff;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #ffffff;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #eb6864;
}

/* Journal at a Glance: compact info grid (no hover effects) */
.journal-description table.ujc-glance {
  border: 0;
  background: transparent;
  margin: 8px 0 18px;
}
.journal-description table.ujc-glance tbody {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.journal-description table.ujc-glance tr {
  display: flex;
  flex-direction: column;
  background-color: #fafafa;
  border: 1px solid #eeeeee;
  border-left: 3px solid #b9433f;
  border-radius: 3px;
  padding: 6px 10px;
}
.journal-description table.ujc-glance th,
.journal-description table.ujc-glance td {
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
.journal-description table.ujc-glance th {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #888888;
}
.journal-description table.ujc-glance td {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  line-height: 1.4;
}
@media (max-width: 767px) {
  .journal-description table.ujc-glance tbody {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .journal-description table.ujc-glance tbody {
    grid-template-columns: 1fr;
  }
}

/* Homepage section headings: same plain style as other headings */
.journal-description > h3 {
  position: relative;
  color: #b9433f;
  font-family: "News Cycle", "Arial Narrow Bold", sans-serif;
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 6px;
  margin: 20px 0 10px;
  border-bottom: 1px solid #eeeeee;
}
.journal-description > h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 50px;
  height: 3px;
  background-color: #2e9e4f;
}

/* Focus and Scope: small uniform tags (no hover effects) */
.journal-description ul.ujc-scope {
  list-style: none;
  padding: 0;
  margin: 6px 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.journal-description ul.ujc-scope li {
  background-color: #fdf4f4;
  border: 1px solid #f1d3d2;
  border-radius: 3px;
  padding: 3px 10px;
  font-size: 14px;
  font-weight: 600;
  color: #b9433f;
  line-height: 1.4;
}
.journal-description ul.ujc-scope li small {
  font-size: 12px;
  font-weight: normal;
  color: #777777;
}
.journal-description ul.ujc-scope li small::before {
  content: " (";
}
.journal-description ul.ujc-scope li small::after {
  content: ")";
}
