/* =====================================================
   FINAL CSS JURNAL HUKUM TO-RA
   Versi proporsional untuk OJS
   - Profil tidak terlalu melebar
   - Additional Menu lebih kompak
   - Paragraf rata kanan-kiri
   - Aman untuk desktop, tablet, dan mobile
   ===================================================== */


/* =========================
   BASIC SAFETY
   ========================= */

html,
body {
  overflow-x: hidden !important;
  min-width: 0 !important;
}

body {
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

img {
  max-width: 100% !important;
  height: auto !important;
}


/* =========================
   TO-RA PROFILE WRAPPER
   ========================= */

.tora-profile {
  max-width: 1100px !important;
  width: calc(100% - 32px) !important;
  margin: 18px auto 30px auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  color: #3f1515 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}

.tora-profile *,
.tora-profile *::before,
.tora-profile *::after {
  box-sizing: border-box !important;
  letter-spacing: 0 !important;
}


/* =========================
   TABLE CONTROL
   ========================= */

.tora-profile table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: auto !important;
}

.tora-profile td {
  vertical-align: top !important;
}


/* =========================
   TYPOGRAPHY
   ========================= */

.tora-profile h1 {
  font-size: 27px !important;
  line-height: 1.18 !important;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
  color: #5e1111 !important;
  letter-spacing: 0 !important;
}

.tora-profile h2 {
  font-size: 20px !important;
  line-height: 1.25 !important;
  margin-top: 0 !important;
  color: #5e1111 !important;
  letter-spacing: 0 !important;
}

.tora-profile p {
  font-size: 13px !important;
  line-height: 1.62 !important;
  color: #4f2a2a !important;
  text-align: justify !important;
  text-justify: inter-word !important;
  letter-spacing: 0 !important;
}

.tora-profile div,
.tora-profile span,
.tora-profile a,
.tora-profile td {
  letter-spacing: 0 !important;
}

.tora-profile a {
  word-break: normal !important;
  overflow-wrap: normal !important;
}


/* =========================
   HERO SECTION
   ========================= */

.tora-profile > div:first-child {
  padding: 18px !important;
  margin-bottom: 14px !important;
}

.tora-profile > div:first-child > table:first-of-type > tbody > tr > td:first-child {
  width: 155px !important;
  padding-right: 18px !important;
}

.tora-profile > div:first-child > table:first-of-type > tbody > tr > td:first-child div[style*="width: 108px"],
.tora-profile > div:first-child > table:first-of-type > tbody > tr > td:first-child div[style*="width:108px"] {
  width: 118px !important;
  min-height: 158px !important;
}


/* =========================
   QUICK FACTS
   ========================= */

.tora-profile > div:first-child table:nth-of-type(2) {
  margin-top: 14px !important;
  border-spacing: 8px !important;
}

.tora-profile > div:first-child table:nth-of-type(2) td {
  padding: 9px !important;
}


/* =========================
   ADDITIONAL MENU
   ========================= */

.tora-additional-menu {
  max-width: 960px !important;
  width: 100% !important;
  margin: 0 auto 14px auto !important;
  padding: 13px !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  border: 1px solid #e2bcbc !important;
  box-shadow: 0 5px 14px rgba(105,24,24,.05) !important;
}

.tora-additional-menu table {
  max-width: 900px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border-spacing: 6px !important;
  table-layout: fixed !important;
}

.tora-additional-menu td {
  padding: 0 !important;
}

.tora-additional-menu a {
  display: block !important;
  min-height: 38px !important;
  padding: 8px 9px !important;
  border-radius: 10px !important;
  font-size: 11.3px !important;
  font-weight: bold !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  color: #7b1717 !important;
  text-align: left !important;
  transition: all .18s ease-in-out !important;
}

.tora-additional-menu a:hover {
  background: #fbe8e8 !important;
  border-color: #c98b8b !important;
  color: #5e1111 !important;
}

.tora-additional-menu em {
  color: #7b1717 !important;
  margin-right: 3px !important;
}


/* =========================
   ABOUT + EDITORIAL
   ========================= */

.tora-profile table[style*="border-spacing:10px"],
.tora-profile table[style*="border-spacing: 10px"] {
  border-spacing: 10px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.tora-profile table[style*="border-spacing:10px"] td,
.tora-profile table[style*="border-spacing: 10px"] td {
  padding: 13px !important;
}


/* =========================
   FOCUS AND SCOPE
   ========================= */

.tora-profile table[style*="border-spacing:8px"],
.tora-profile table[style*="border-spacing: 8px"] {
  border-spacing: 8px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.tora-profile table[style*="border-spacing:8px"] p,
.tora-profile table[style*="border-spacing: 8px"] p {
  text-align: justify !important;
  text-justify: inter-word !important;
}


/* =========================
   ACCREDITATION + FOOTER TEXT
   ========================= */

.tora-profile > div[style*="Accreditation"] {
  text-align: justify !important;
}

.tora-profile > div:last-child {
  text-align: justify !important;
  line-height: 1.6 !important;
}


/* =========================
   LATEST ISSUE OJS
   ========================= */

.current_issue,
.obj_issue_toc {
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.current_issue .cover,
.obj_issue_toc .cover,
.issue_cover {
  text-align: center !important;
}

.current_issue .cover img,
.obj_issue_toc .cover img,
.issue_cover img {
  max-width: 160px !important;
  width: auto !important;
  height: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
  border-radius: 8px !important;
}

.current_issue p,
.obj_issue_toc p,
.current_issue .description,
.obj_issue_toc .description,
.current_issue .obj_article_summary,
.obj_issue_toc .obj_article_summary {
  text-align: justify !important;
  line-height: 1.55 !important;
}


/* =========================
   TABLET
   ========================= */

@media screen and (max-width: 992px) {
  .tora-profile {
    max-width: 94% !important;
    width: 94% !important;
    margin-top: 14px !important;
  }

  .tora-profile h1 {
    font-size: 25px !important;
  }

  .tora-profile h2 {
    font-size: 19px !important;
  }

  .tora-profile p {
    font-size: 12.8px !important;
    line-height: 1.6 !important;
  }

  .tora-additional-menu {
    max-width: 100% !important;
  }

  .tora-additional-menu table {
    max-width: 100% !important;
  }

  .tora-additional-menu a {
    font-size: 11px !important;
    min-height: 38px !important;
  }
}


/* =========================
   MOBILE
   ========================= */

@media screen and (max-width: 768px) {
  .tora-profile {
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    margin: 12px auto 24px auto !important;
  }

  .tora-profile table,
  .tora-profile tbody,
  .tora-profile tr,
  .tora-profile td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .tora-profile td {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 8px !important;
  }

  .tora-profile > div:first-child {
    padding: 14px !important;
  }

  .tora-profile > div:first-child > table:first-of-type > tbody > tr > td:first-child {
    text-align: center !important;
    width: 100% !important;
    padding-right: 0 !important;
    margin-bottom: 12px !important;
  }

  .tora-profile h1 {
    font-size: 23px !important;
    text-align: center !important;
  }

  .tora-profile h2 {
    font-size: 18px !important;
  }

  .tora-profile p {
    font-size: 12.5px !important;
    line-height: 1.58 !important;
    text-align: justify !important;
    text-justify: inter-word !important;
  }

  .tora-profile span {
    font-size: 10px !important;
  }

  .tora-profile table {
    border-spacing: 0 !important;
  }

  .tora-additional-menu {
    width: 100% !important;
    max-width: 100% !important;
    padding: 11px !important;
  }

  .tora-additional-menu table,
  .tora-additional-menu tbody,
  .tora-additional-menu tr,
  .tora-additional-menu td {
    display: block !important;
    width: 100% !important;
  }

  .tora-additional-menu a {
    width: 100% !important;
    margin-bottom: 7px !important;
    font-size: 11.8px !important;
    min-height: auto !important;
    padding: 8px 10px !important;
  }

  .current_issue .cover img,
  .obj_issue_toc .cover img,
  .issue_cover img {
    max-width: 150px !important;
  }
}


/* =========================
   SMALL MOBILE
   ========================= */

@media screen and (max-width: 480px) {
  .tora-profile {
    width: calc(100% - 16px) !important;
    max-width: calc(100% - 16px) !important;
  }

  .tora-profile h1 {
    font-size: 21px !important;
  }

  .tora-profile h2 {
    font-size: 17px !important;
  }

  .tora-profile p {
    font-size: 12px !important;
    text-align: justify !important;
    text-justify: inter-word !important;
  }

  .tora-additional-menu a {
    font-size: 11.5px !important;
  }

  .current_issue .cover img,
  .obj_issue_toc .cover img,
  .issue_cover img {
    max-width: 135px !important;
  }
}