/* ==========================================================================
   Journal of Public Health and Preventive Medicine (JPHPM)
   Custom Stylesheet for OJS 3.5.0.4 — Health Sciences Theme
   Version: 2.0
   Last Updated: 2026-05
   Description: Custom CSS for JPHPM based on the Health Sciences theme.
                Overrides Bootstrap 5.2.3 variables and theme defaults with
                a refined color palette suited for a public health journal.
   Publisher: Public Health Young Scholars Alliance (PHYSA)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BRAND COLOR SCHEME & CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */

:root {
  /* === Primary Brand Colors === */
  --jphpm-navy: #0B1E2F;
  --jphpm-navy-light: #142B40;
  --jphpm-teal: #0D7B6B;
  --jphpm-teal-light: #0F9682;
  --jphpm-teal-dark: #0A5E52;
  --jphpm-gold: #C4963A;
  --jphpm-gold-light: #D4A84E;

  /* === Neutral Colors === */
  --jphpm-white: #FFFFFF;
  --jphpm-off-white: #F5F7FA;
  --jphpm-light-gray: #E8ECF0;
  --jphpm-mid-gray: #8B95A1;
  --jphpm-dark-gray: #4A5568;
  --jphpm-text: #1A202C;

  /* === Semantic Colors === */
  --jphpm-success: #2F855A;
  --jphpm-warning: #C05621;
  --jphpm-danger: #C53030;
  --jphpm-info: #2B6CB0;
}

/* --------------------------------------------------------------------------
   2. GLOBAL TYPOGRAPHY & BASE STYLES
   -------------------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--jphpm-text);
  background-color: var(--jphpm-off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--jphpm-teal);
  color: var(--jphpm-white);
}

a {
  color: var(--jphpm-teal);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--jphpm-teal-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--jphpm-navy);
}

/* --------------------------------------------------------------------------
   3. MAIN HEADER
   -------------------------------------------------------------------------- */

.main-header {
  background-color: var(--jphpm-navy);
  border-bottom: 4px solid var(--jphpm-teal);
}

.main-header .container {
  position: relative;
}

/* Navbar brand / logo text */
.navbar-brand {
  max-width: 75%;
}

.navbar-logo-text {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--jphpm-white);
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: color 0.2s ease;
}

.navbar-logo-text:hover {
  color: var(--jphpm-gold-light) !important;
}

/* Navbar toggler (mobile) */
.navbar-light .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3);
}

.navbar-light .navbar-toggler-icon {
  filter: invert(1);
}

/* --------------------------------------------------------------------------
   4. PRIMARY NAVIGATION
   -------------------------------------------------------------------------- */

/* Mobile nav links */
.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav .dropdown-item {
  color: var(--jphpm-white);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.03em;
  padding: 0.5em;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .dropdown-item:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .dropdown-item:focus {
  background: var(--jphpm-teal);
  color: var(--jphpm-white);
  outline: 0;
}

/* Dropdown menus (mobile) */
.navbar-light .navbar-nav .dropdown-menu {
  background: transparent;
  border: none;
}

/* Desktop navigation */
@media (min-width: 992px) {
  .navbar-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
    max-width: 55%;
    text-align: center;
  }

  .navbar-logo-text {
    font-size: 26px;
  }

  .navbar-logo a {
    color: var(--jphpm-white);
    text-decoration: none;
  }

  .navbar-logo a:hover {
    color: var(--jphpm-gold-light);
  }

  .navbar {
    padding-top: 0;
    padding-bottom: 0;
  }

  .navbar-brand,
  #primaryNav-userNav,
  #languageSmallNav {
    display: none;
  }

  #primaryNav {
    justify-content: space-around;
    position: relative;
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    outline: none !important;
  }

  #primaryNav .nav-link {
    color: var(--jphpm-white);
    padding: 1rem;
    line-height: 1.5rem;
    text-transform: uppercase;
    vertical-align: middle;
    border: 1px solid transparent;
    outline: none !important;
  }

  #primaryNav .nav-link:hover,
  #primaryNav .nav-link:focus {
    background: transparent;
    color: var(--jphpm-gold-light);
    border-color: transparent;
    outline: none !important;
  }

  #primaryNav .dropdown-menu.show {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: center;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 1rem;
    background-color: var(--jphpm-navy-light);
    border-radius: 0;
    border-top: 2px solid var(--jphpm-teal);
    outline: none !important;
  }

  #primaryNav .dropdown-item {
    font-size: 17px;
    color: var(--jphpm-white);
    text-align: center;
    width: initial;
    padding: 0.5rem;
    outline: none !important;
  }

  #primaryNav .dropdown-item:hover,
  #primaryNav .dropdown-item:focus {
    color: var(--jphpm-gold-light);
    background-color: transparent;
    border-color: transparent;
    outline: none !important;
  }

  /* User nav (top right on desktop) */
  #userNav {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  #userNav .nav-item {
    display: inline-block;
  }

  #userNav .nav-link {
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5em;
    text-transform: none;
  }

  #userNav .nav-link:hover,
  #userNav .nav-link:focus {
    color: var(--jphpm-white);
    border-color: var(--jphpm-teal);
    outline: 0;
  }
}

/* --------------------------------------------------------------------------
   5. HOMEPAGE IMAGE
   -------------------------------------------------------------------------- */

.homepage-image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 1200px) {
  .homepage-image-behind-issue {
    position: absolute;
    z-index: -1;
    width: 100%;
    max-height: 500px;
    overflow-y: hidden;
  }

  .homepage-image-behind-issue:after {
    background: rgba(11, 30, 47, 0.5);
  }
}

/* --------------------------------------------------------------------------
   6. HOMEPAGE ISSUE SECTION
   -------------------------------------------------------------------------- */

.container-homepage-issue {
  margin-top: 2rem;
  border: 0;
}

.homepage-issue-current,
.homepage-issue-identifier,
.homepage-issue-published {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.homepage-issue-current {
  color: var(--jphpm-navy);
}

.homepage-issue-identifier {
  font-size: 24px;
  color: var(--jphpm-navy);
  font-weight: 700;
}

.homepage-issue-published {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--jphpm-mid-gray);
}

.homepage-issue-cover {
  display: block;
  max-width: 210px;
  max-height: 315px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

@media (min-width: 992px) {
  .homepage-issue-cover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }

  .homepage-issue-description-wrapper {
    padding: 3rem;
    background: var(--jphpm-off-white);
    border-radius: 4px;
    border-left: 4px solid var(--jphpm-teal);
  }
}

/* Homepage issue description text gradient */
.homepage-issue-description:after {
  background-image: linear-gradient(rgba(255, 255, 255, 0), var(--jphpm-white) 20%);
}

@media (min-width: 992px) {
  .homepage-issue-description:after {
    background-image: linear-gradient(rgba(255, 255, 255, 0), var(--jphpm-off-white) 20%);
  }
}

/* --------------------------------------------------------------------------
   7. HOMEPAGE ANNOUNCEMENTS
   -------------------------------------------------------------------------- */

.homepage-announcement {
  margin-bottom: 0.5rem;
  padding-top: 0;
  padding-bottom: 0;
}

.homepage-announcement-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--jphpm-navy);
  margin-bottom: 0.25rem;
}

.homepage-announcement a {
  color: var(--jphpm-teal);
  font-weight: 600;
}

.homepage-announcement a:hover {
  color: var(--jphpm-teal-dark);
}

.homepage-announcement-date {
  font-weight: 400;
  font-size: 75%;
  color: var(--jphpm-mid-gray);
}

/* --------------------------------------------------------------------------
   8. ARTICLE SUMMARY (Issue TOC)
   -------------------------------------------------------------------------- */

.article-summary {
  margin: 2rem 0 3rem;
  padding: 1rem;
  border-left: 3px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.article-summary:hover {
  border-left-color: var(--jphpm-teal);
  background-color: var(--jphpm-off-white);
}

.article-summary-authors,
.article-summary-pages {
  font-size: 14px;
  line-height: 1.5em;
  color: var(--jphpm-mid-gray);
}

.article-summary-title {
  font-size: 1.25rem;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 600;
  line-height: 1.4;
}

.article-summary-title a {
  color: var(--jphpm-navy);
  text-decoration: none;
}

.article-summary-title a:hover {
  color: var(--jphpm-teal);
  text-decoration: none;
}

.article-summary-galleys {
  margin-top: 1em;
}

/* Issue TOC section headings */
.issue-toc-section-title {
  margin: 2rem 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--jphpm-teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--jphpm-teal);
}

/* --------------------------------------------------------------------------
   9. BUTTONS
   -------------------------------------------------------------------------- */

/* Primary button (matches theme's "Full Text" buttons) */
.btn-primary {
  background-color: var(--jphpm-teal);
  border-color: var(--jphpm-teal);
  color: var(--jphpm-white);
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--jphpm-teal-dark);
  border-color: var(--jphpm-teal-dark);
  color: var(--jphpm-white);
}

/* General buttons */
.btn {
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.2s ease;
}

/* "View All Issues" button */
.text-center .btn {
  color: var(--jphpm-teal);
  border: 2px solid var(--jphpm-teal);
  background: transparent;
}

.text-center .btn:hover {
  background-color: var(--jphpm-teal);
  color: var(--jphpm-white);
}

/* --------------------------------------------------------------------------
   10. ARTICLE DETAIL PAGE
   -------------------------------------------------------------------------- */

/* Article detail main area */
.article-details-main {
  background: var(--jphpm-off-white);
}

.article-details h1 {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 800;
  color: var(--jphpm-navy);
}

.article-details-issue-identifier {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--jphpm-mid-gray);
}

.article-details-issue-identifier a {
  color: var(--jphpm-mid-gray);
  text-decoration: none;
}

.article-details-issue-identifier a:hover {
  color: var(--jphpm-teal);
}

.article-details-issue-section,
.article-details-doi,
.article-details-published {
  color: var(--jphpm-mid-gray);
}

.article-details-heading,
.article-details .item > .label {
  color: var(--jphpm-dark-gray);
}

.article-details-block,
.article-details .item {
  margin-bottom: 3rem;
}

/* Abstract */
.article-details-abstract {
  line-height: 1.8em;
  text-align: justify;
}

/* Authors */
.authors-string .author-string-href {
  color: var(--jphpm-navy);
  cursor: pointer;
}

.authors-string .author-string-href:hover {
  color: var(--jphpm-teal);
  text-decoration: none;
}

.author-symbol {
  font-family: sans-serif;
  font-weight: bold;
  margin-left: 2px;
  color: var(--jphpm-teal);
}

/* Article details galley buttons */
.article-details-galley {
  display: inline-block;
}

/* Author affiliations */
.article-details-author-affiliation {
  font-size: 0.9rem;
  color: var(--jphpm-dark-gray);
}

/* ORCID icon */
.orcid_icon {
  width: 24px;
  height: 24px;
}

/* References */
.article-details-references-value {
  font-size: 0.9rem;
}

/* Keywords */
.article-details-keywords-value span:not(:last-child):after {
  content: ", ";
}

/* Desktop article detail */
@media (min-width: 992px) {
  .article-details h1 {
    font-size: 2.5rem;
  }

  .article-details-main {
    padding: 3rem 6rem;
  }

  .article-details-main .article-details-heading,
  .article-details-main .item > .label {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--jphpm-navy);
  }

  .article-details-main .article-details-block:last-child,
  .article-details-main .item:last-child {
    margin-bottom: 0;
  }

  .article-details-issue-identifier {
    margin-bottom: 1em;
    font-size: 1.1em;
    line-height: 1.6em;
  }

  .article-details-galleys-sidebar {
    display: none;
  }

  .article-details-galleys-btm {
    display: block;
  }

  .article-details-galley:not(:last-child) {
    margin-bottom: 0;
  }
}

/* Mobile article detail */
@media (max-width: 991px) {
  .large-screen,
  .author-symbol {
    display: none;
  }

  .article-details-galley {
    display: inline-block;
  }

  .article-details-galley:not(:last-child) {
    margin-right: 0.3rem;
  }

  .article-blocks-mobile {
    display: flex;
    flex-direction: column;
  }

  .article-blocks-mobile > .article-details-cover {
    display: none;
  }

  .article-blocks-mobile > .article-details-galleys {
    order: 1;
  }

  .article-blocks-mobile > .article-details-galleys-supplementary {
    order: 2;
  }

  .article-blocks-mobile > .article-details-abstract {
    order: 3;
  }

  .article-blocks-mobile > .article-details-doi.small-screen {
    order: 4;
  }

  .article-blocks-mobile > .article-details-pubid {
    order: 5;
  }

  .article-blocks-mobile > .article-details-keywords {
    order: 6;
  }

  .article-blocks-mobile > .article-details-how-to-cite {
    order: 7;
  }

  .article-blocks-mobile > .article-details-categories {
    order: 8;
  }

  .article-blocks-mobile > .article-details-references {
    order: 9;
  }

  .article-blocks-mobile > .article-details-license {
    order: 10;
  }

  .article-blocks-mobile > * {
    order: 10;
    margin-bottom: 40px;
    margin-top: 0;
  }

  .article-meta-mobile {
    display: flex;
    flex-direction: column;
  }

  .article-details-fulltitle {
    order: 3;
    margin-top: 40px;
    margin-bottom: 20px;
  }

  .article-details-authors {
    order: 4;
  }
}

/* How to cite */
.article-details-how-to-cite-citation {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* License block */
.article-details-license {
  margin-top: 60px;
  font-size: 0.9rem;
}

/* Bio toggle */
.article-details-bio-toggle {
  padding: 0;
  font-size: 0.9rem;
  color: var(--jphpm-teal);
  border: none;
  background: transparent;
  cursor: pointer;
}

.article-details-bio-toggle:hover,
.article-details-bio-toggle:focus {
  color: var(--jphpm-teal-dark);
}

/* Articles by same author */
#articlesBySameAuthorList li:before {
  border-left: 10px solid var(--jphpm-teal);
}

/* Article footer hook */
.article-footer-hook {
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   11. ISSUE ARCHIVE & DETAIL PAGE
   -------------------------------------------------------------------------- */

.issue-summary {
  margin-bottom: 3rem;
}

.issue-summary-cover {
  max-width: 200px;
  height: auto;
}

.issue-summary-title,
.issue-summary-date {
  font-size: 14px;
  color: var(--jphpm-mid-gray);
}

.issue-summary-date {
  margin-bottom: 1rem;
}

.issue-summary-title {
  margin-bottom: 0;
}

.page-issue-details {
  margin-top: 3rem;
}

.page-issue-date {
  margin-top: 2rem;
}

.page-issue-doi {
  margin-top: 1rem;
  font-size: 16px;
  color: var(--jphpm-mid-gray);
}

.page-issue-doi a {
  color: var(--jphpm-mid-gray);
}

@media (min-width: 992px) {
  .page-issue-description-wrapper {
    padding: 3rem;
    background: var(--jphpm-off-white);
    border-radius: 4px;
  }

  .page-issue-cover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    margin: auto;
  }
}

/* --------------------------------------------------------------------------
   12. PAGINATION
   -------------------------------------------------------------------------- */

.page-link {
  color: var(--jphpm-teal);
}

.page-link:hover,
.page-link:focus {
  background: var(--jphpm-teal);
  color: var(--jphpm-white);
}

.page-item.active .page-link {
  background: transparent;
  border-color: var(--jphpm-light-gray);
  color: var(--jphpm-navy);
  font-weight: 700;
}

.page-item.active .page-link:hover,
.page-item.active .page-link:focus {
  background: transparent;
  border-color: var(--jphpm-light-gray);
  color: var(--jphpm-navy);
}

@media (min-width: 768px) {
  .page-item.active .page-link {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* --------------------------------------------------------------------------
   13. SEARCH FILTERS
   -------------------------------------------------------------------------- */

.search-filters {
  padding: 1rem;
  background: var(--jphpm-off-white);
  border-radius: 4px;
}

.search-filters h2 {
  margin-bottom: 2rem;
  font-size: 1.5rem;
  line-height: 1.6rem;
  color: var(--jphpm-dark-gray);
}

.search-filters label {
  font-size: 0.9rem;
  color: var(--jphpm-dark-gray);
}

@media (min-width: 992px) {
  .search-filters {
    padding: 2rem;
  }
}

/* --------------------------------------------------------------------------
   14. MODALS
   -------------------------------------------------------------------------- */

.modal-dialog {
  max-width: 540px;
}

.modal-header {
  border-color: var(--jphpm-navy);
}

.modal-content {
  border-radius: 0;
  background: var(--jphpm-navy-light);
  color: var(--jphpm-white);
}

.modal-content .close {
  background-color: var(--jphpm-navy);
  color: var(--jphpm-white);
  text-shadow: none;
  border: 0;
  opacity: 1;
}

.modal-content a {
  color: var(--jphpm-gold-light);
  text-decoration: underline;
}

.modal-content a:hover,
.modal-content a:focus {
  color: var(--jphpm-gold);
}

.modal-content .btn-primary {
  background: var(--jphpm-teal);
  border-color: var(--jphpm-teal);
  color: var(--jphpm-white);
}

.modal-content .btn-primary:hover,
.modal-content .btn-primary:focus,
.modal-content .btn-primary:active {
  background: var(--jphpm-teal-dark);
  border-color: var(--jphpm-teal-dark);
  color: var(--jphpm-white);
}

.modal-content .btn-link {
  color: var(--jphpm-gold-light);
  text-decoration: none;
}

.modal-content .btn-link:hover,
.modal-content .btn-link:focus {
  color: var(--jphpm-gold);
  border-color: var(--jphpm-gold);
}

.modal-content .form-control {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--jphpm-white);
}

.modal-content .form-check-input:checked {
  border-color: var(--jphpm-teal);
}

@media (min-width: 992px) {
  .modal-content {
    padding: 4rem;
  }

  .modal-content .close {
    position: absolute;
    top: 0.5rem;
    right: 0.8rem;
  }

  #loginModal .close {
    top: -2.5rem;
    right: -2rem;
  }
}

/* --------------------------------------------------------------------------
   15. PAGE CONTENT (ABOUT, SUBMISSIONS, ETC.)
   -------------------------------------------------------------------------- */

.page-header {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 1.5rem;
  color: var(--jphpm-navy);
}

.page-content {
  margin-bottom: 3rem;
  padding-top: 3rem;
  font-size: 20px;
  line-height: 30px;
}

.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
  margin-top: 2em;
  color: var(--jphpm-navy);
}

.page-content p {
  margin-top: 1.5rem;
}

.page-content p:first-child {
  margin-top: 0;
}

@media (min-width: 992px) {
  .page-header {
    text-align: center;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   16. ANNOUNCEMENTS PAGE
   -------------------------------------------------------------------------- */

.announcement-summary h2 {
  font-size: 1.5rem;
  color: var(--jphpm-navy);
}

.announcement-summary-date {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--jphpm-mid-gray);
}

.page-announcement .announcement-date {
  margin-bottom: 0.5rem;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--jphpm-mid-gray);
}

@media (min-width: 992px) {
  .announcement-summary-date {
    font-size: 1rem;
  }

  .page-announcement .announcement-date {
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }
}

/* --------------------------------------------------------------------------
   17. ORCID CONNECT BUTTON
   -------------------------------------------------------------------------- */

#connect-orcid-button {
  padding: 0.5em 1em;
  border-radius: 4px;
  border: 1px solid var(--jphpm-dark-gray);
  background: transparent;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--jphpm-navy);
  text-decoration: none;
  cursor: pointer;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#connect-orcid-button:hover,
#connect-orcid-button:focus,
#connect-orcid-button:active {
  box-shadow: none;
  color: var(--jphpm-teal);
  border-color: var(--jphpm-teal);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   18. FORMS (LOGIN, REGISTER)
   -------------------------------------------------------------------------- */

.form-login .form-group-password {
  margin-bottom: 1.5rem;
}

.form-login .form-group-register {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.5rem;
}

.form-register fieldset.reviewer legend {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  line-height: 1.5rem;
  text-transform: none;
  color: var(--jphpm-navy);
}

.form-register .list-group-item-heading {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.2rem;
  line-height: 1.5em;
}

.form-register .form-group-buttons {
  margin-top: 3rem;
}

.form-register .row + .form-group-buttons {
  margin-top: 0;
}

@media (min-width: 768px) {
  .form-group-buttons,
  .form-group-register {
    text-align: center;
  }
}

@media (min-width: 992px) {
  .form-register .form-group-buttons,
  .form-register .form-group-login {
    text-align: center;
  }
}

/* Reviewer interests */
#reviewerInterests {
  margin-top: -23px;
  margin-bottom: 48px;
  font-size: 1.1rem;
}

#reviewerInterests .label {
  margin-bottom: 12px;
}

#tagitInput {
  border-bottom: 1px solid var(--jphpm-navy);
  padding: 1px 0;
}

.tagit-choice {
  padding-top: 2px;
  margin-right: 8px;
  background-color: var(--jphpm-white);
  padding-left: 4px;
  padding-right: 4px;
}

/* --------------------------------------------------------------------------
   19. FOOTER
   -------------------------------------------------------------------------- */

.site-footer {
  background-color: var(--jphpm-navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 0 0.5rem;
  margin-top: 0;
  border: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

.site-footer a {
  color: var(--jphpm-gold-light);
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  color: var(--jphpm-white);
  text-decoration: underline;
}

.site-footer-content {
  padding-top: 1rem;
  margin-top: 0;
  border: none !important;
  box-shadow: none !important;
  background-image: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-footer-content p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.5rem;
  text-align: center;
}

.footer-brand-image {
  max-height: 40px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  display: none;
}

.footer-brand-image:hover {
  opacity: 1;
  display: none;
}

/* --------------------------------------------------------------------------
   20. CUSTOM JPHPM BRAND ELEMENTS
   -------------------------------------------------------------------------- */

/* Special issue / callout box */
.jphpm-callout {
  background: linear-gradient(135deg, var(--jphpm-off-white), var(--jphpm-white));
  border-left: 4px solid var(--jphpm-teal);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
  border: none !important;
}

.jphpm-callout h3 {
  color: var(--jphpm-navy);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Open Access badge */
.badge-open-access {
  background-color: var(--jphpm-gold);
  color: var(--jphpm-navy);
  font-weight: 700;
  font-size: 0.8rem;
}

/* CC BY badge */
.badge-cc-by {
  background-color: var(--jphpm-navy);
  color: var(--jphpm-white);
  font-weight: 700;
  font-size: 0.8rem;
}

/* Publisher credit note */
.physa-credit {
  font-size: 0.85rem;
  color: var(--jphpm-mid-gray);
  text-align: center;
  padding: 0.5rem 0;
  border: none !important;
}

/* Footer reset styles */
.site-footer * {
  border: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

.site-footer hr {
  display: none !important;
}

/* --------------------------------------------------------------------------
   21. RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */

/* Tablet (max-width: 991px) */
@media (max-width: 991px) {
  .navbar-logo-text {
    font-size: 14px;
  }

  .article-summary-title {
    font-size: 1.1rem;
  }

  .page-content {
    font-size: 16px;
    line-height: 26px;
  }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
  .main-header .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .homepage-issue-identifier {
    font-size: 20px;
  }
}

/* --------------------------------------------------------------------------
   22. ACCESSIBILITY
   -------------------------------------------------------------------------- */

/* Focus indicators */
:focus {
  outline: 2px solid var(--jphpm-teal);
  outline-offset: 2px;
}

/* Skip to content */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background-color: var(--jphpm-navy);
  color: var(--jphpm-white);
  padding: 8px 16px;
  z-index: 9999;
  font-weight: 600;
  border-radius: 0 0 4px 0;
}

.skip-to-content:focus {
  top: 0;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   23. PRINT STYLES
   -------------------------------------------------------------------------- */

@media print {
  body {
    background-color: #FFFFFF;
    color: #000000;
    font-size: 12pt;
    line-height: 1.5;
  }

  .main-header,
  .navbar,
  #primaryNav,
  #userNav,
  .homepage-image,
  .site-footer,
  .article-summary-galleys,
  .pagination {
    display: none !important;
  }

  .container,
  .container-homepage-issue,
  .page-content {
    width: 100%;
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none;
  }

  a {
    color: #000000;
    text-decoration: underline;
  }

  .article-details h1 {
    font-size: 18pt;
    color: #000000;
  }

  .article-details-main {
    background: #FFFFFF;
    padding: 0;
  }

  table {
    border: 1px solid #000000;
  }

  thead th {
    background-color: #E0E0E0 !important;
    color: #000000 !important;
  }

  tbody td {
    border: 1px solid #000000;
    padding: 6px 10px;
  }

  .article-details-abstract,
  .article-details-references-value {
    font-size: 10pt;
    line-height: 1.6;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #666666;
  }
}

*:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* 完全隐藏 footer 侧边栏区域 */
.site-footer-sidebar {
  display: none !important;
}

/* 让旁边的内容区域占满整行 */
.site-footer-content {
  flex: 0 0 100%;
  max-width: 100%;
}

/* ==========================================================================
   END OF CUSTOM STYLESHEET
   Journal of Public Health and Preventive Medicine (JPHPM)
   Theme: Health Sciences | OJS 3.5.0.4
   Publisher: Public Health Young Scholars Alliance (PHYSA)
   ========================================================================== */