/* ==========================================================================
   OJS 3 Bootstrap 3 Theme Custom CSS - SB_Journal
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600&display=swap');

/* 1. Base Typography & Body */
body {
  background-color: #FFFFFF;
  color: #080F0C;
  font-family: 'Prompt', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body,
#Options blockquote,
.media-body p,
.media-body .authors,
.media-body .lead,
.page_about p {
  color: #080F0C;
  font: normal normal 17px / 1.5 'Prompt', Arial, Helvetica, sans-serif !important;
  text-shadow: none;
}

#nav-menu {
  padding-top: 0px;
}

/* 2. Header & Navbar (.navbar-default) */
.navbar-default {
  background-color: #3F1474;
  color: #777777;
  border: 1px solid #e7e7e7;
  border-radius: 15px;
  padding: 0px;
  margin: 0px 0px 20px 0px;
  height: 235.1px !important;
  min-height: 235.1px !important;
  position: relative;
  overflow: visible; /* สำคัญ: ต้องเป็น visible เพื่อให้เมนู Dropdown แสดงผลได้ */
  text-shadow: none;
  box-shadow: none;
}

/* โลโก้วารสาร */
.navbar-brand-logo {
  position: absolute;
  left: 20px;
  top: 15px;
  height: auto;
  z-index: 5;
}

.navbar-brand-logo img {
  max-height: 125px;
  height: auto;
  width: auto;
}

/* เมนูผู้ใช้งานมุมขวาบน (Register / Login) */
.navbar-default #navigationUser > li a {
  color: #FFAE3C !important;
  font: normal normal 16px / 1.4 'Prompt', Arial, Helvetica, sans-serif !important;
  text-shadow: none;
  padding: 10px 12px;
}

.navbar-default #navigationUser > li a:hover,
.navbar-default #navigationUser > li a:focus {
  color: hsl(35, 100%, 40%) !important;
}

/* ช่องค้นหา (Search Form) */
.navbar-form {
  position: absolute;
  right: 20px;
  top: 53px;
  margin: 0px !important;
  padding: 0px;
  border: none;
  box-shadow: none;
  z-index: 10;
}

.navbar-form .form-control {
  display: inline-block;
  width: 200px;
  vertical-align: middle;
}

/* 3. Main Navigation & Dropdown */
.navbar-default #main-navigation {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0 10px;
  background-color: rgba(0, 0, 0, 0.18);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
}

.navbar-default #main-navigation > li {
  display: flex;
  position: relative;
}

/* เส้นแบ่งคอลัมน์ระหว่างเมนู */
.navbar-default #main-navigation > li:not(:last-child)::after {
  content: "|";
  color: rgba(255, 255, 255, 0.35);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}

.navbar-default #main-navigation > li a {
  padding: 8px 14px;
}

.navbar-default li a,
.navbar-default .navbar-nav > .open > a {
  color: #FFAE3C !important;
  text-shadow: none;
  background: transparent !important;
  font: normal normal 18px / 1.5 'Prompt', Arial, Helvetica, sans-serif !important;
  white-space: nowrap;
}

.navbar-default li a:hover,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default li a:focus,
.navbar-default .navbar-nav > .open > a:focus {
  color: hsl(35, 100%, 40%) !important;
}

/* เมนูย่อย (Dropdown) */
.dropdown-menu {
  background-color: #1A0933;
  border: 1px solid #3F1474;
  border-radius: 8px;
  padding: 6px 0;
  z-index: 1000;
}

.dropdown-menu li > a {
  color: #FFAE3C !important;
  background: transparent !important;
  font: normal normal 16px / 1.5 'Prompt', Arial, Helvetica, sans-serif !important;
  padding: 8px 20px !important;
}

.dropdown-menu li > a:hover,
.dropdown-menu li > a:focus {
  background-color: hsl(264, 70%, 60%) !important;
  color: hsl(35, 100%, 92%) !important;
}

/* 4. Forms & Search Buttons */
.form-control {
  color: #333;
  background-color: #FFFFFF;
  border: 1px solid #CCC;
  border-radius: 4px;
  font: normal normal 14px / 1.4 'Prompt', Arial, Helvetica, sans-serif !important;
  text-shadow: none;
  padding: 6px 12px;
}

.pull-md-right form button,
.navbar-form button {
  color: #333;
  background-color: #ffffff;
  border: 1px solid #CCC;
  border-radius: 4px;
  font: normal normal 14px / 1.42857143 'Prompt', Arial, Helvetica, sans-serif !important;
  text-shadow: none;
}

.pull-md-right form button:hover,
.pull-md-right form button:focus,
.navbar-form button:hover,
.navbar-form button:focus {
  background-color: hsl(0, 0%, 90%);
}

/* 5. Content, Headings & Journal Articles */
.homepage-image > img {
  border: 0px solid #ffffff;
  border-radius: 0px;
  padding: 0px;
}

.journal-description > p {
  color: #333;
  font: normal normal 18px / 1.6 'Prompt', Arial, Helvetica, sans-serif !important;
  text-shadow: none;
  margin: 15px 0px;
}

.media .page-header h2,
.page-header h1,
.page-header h2,
.page-header,
h3,
small,
.page_about h3,
h2 small {
  color: #333;
  text-shadow: none;
}

.media .page-header h2,
.page-header h1,
.page-header h2,
.page-header,
h3,
h2 {
  font: normal 500 20px / 1.3 'Prompt', Arial, Helvetica, sans-serif !important;
}

.page-header {
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  border-radius: 0px;
  padding: 0px 0px 9px 0px;
  margin: 40px 0px 20px 0px;
}

.current_issue .lead {
  color: #333;
  font: normal 300 21px / 1.4 'Prompt', Arial, Helvetica, sans-serif !important;
  text-shadow: none;
  padding: 0px;
  margin: 0px;
}

/* ลิงก์บทความและหัวข้อย่อย */
.media-heading a,
.issue a,
.page_about a,
.pkp_block a {
  color: #482073;
  font: normal 500 18px / 1.4 'Prompt', Arial, Helvetica, sans-serif !important;
  text-shadow: none;
  padding: 0px;
}

.media-heading a:hover,
.issue a:hover,
.page_about a:hover,
.pkp_block a:hover,
.media-heading a:focus,
.issue a:focus,
.page_about a:focus,
.pkp_block a:focus {
  color: #160a23;
}

/* รายชื่อผู้แต่งและข้อความย่อ (แก้ไข white-space: normal เพื่อไม่ให้ล้นจอ) */
.media-body p,
.media-body .authors,
.media-body .lead {
  color: #504E5E;
  font: normal normal 16px / 1.5 'Prompt', Arial, Helvetica, sans-serif !important;
  text-shadow: none;
  padding: 0px;
  margin: 4px 0px;
  white-space: normal;
}

.date,
.media-body .date {
  color: #777777;
  text-shadow: none;
  padding: 0px;
  font: normal normal 13px / 1.4 'Prompt', Arial, Helvetica, sans-serif !important;
}

/* ภาพปกวารสารและรูปขนาดย่อ */
.heading .thumbnail,
.cover-image,
.media-left {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 4px;
}

/* 6. Primary Buttons (PDF / Galley Links) */
.btn-group .btn-primary,
.current_issue .btn-primary,
.download .btn-primary {
  background-color: #F7A231;
  border: 1px solid #FDFFFA;
  border-radius: 4px;
  padding: 6px 12px;
  color: #FFF !important;
  font: normal normal 14px / 1.4 'Prompt', Arial, Helvetica, sans-serif !important;
  text-shadow: none;
}

.btn-group .btn-primary:hover,
.current_issue .btn-primary:hover,
.download .btn-primary:hover,
.btn-group .btn-primary:focus,
.current_issue .btn-primary:focus,
.download .btn-primary:focus {
  background-color: hsl(34, 93%, 46%);
  color: #FFFFFF !important;
}

/* 7. Sidebar Blocks & Panels */
aside .pkp_block {
  background-color: #FFFFFF;
  border: none;
  border-radius: 15px;
  margin: 6px 6px 20px 6px;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
  padding: 0px 15px 15px 15px;
}

.pkp_block .content {
  padding: 0px;
}

.pkp_block .content > .content,
.block_information .content {
  padding: 0px 0px 10px 0px;
  border-radius: 0px 0px 10px 10px;
}

.pkp_block .title {
  background-color: #a1a1a1;
  color: #333;
  font: normal 500 18px / 1.3 'Prompt', Arial, Helvetica, sans-serif !important;
  text-shadow: none;
  border-radius: 15px 15px 0px 0px;
  padding: 10px 15px;
  margin: 0px -15px 12px -15px;
}

.pkp_block ul li {
  background-color: transparent;
  border: none;
  padding: 4px 0;
}

.panel {
  background-color: #FFFFFF;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin: 0px 0px 12px 0px;
  box-shadow: none;
  padding: 0px;
}

.panel-default > .panel-heading {
  background-color: #a1a1a1;
  color: #333;
  border-color: #ddd;
  border-top-right-radius: 3px;
  border-top-left-radius: 3px;
  font: normal 500 18px / 1.3 'Prompt', Arial, Helvetica, sans-serif !important;
}

/* 8. Breadcrumb & Footer */
.breadcrumb {
  background-color: #f5f5f5;
  border: none;
  border-radius: 4px;
  margin: 0px 0px 20px 0px;
  padding: 8px 15px;
}

.breadcrumb .active {
  color: #777;
  font: normal normal 16px / 1.4 'Prompt', Arial, Helvetica, sans-serif !important;
  text-shadow: none;
}

footer[role="contentinfo"] {
  background-color: #E5E5E5;
  border-bottom: 1px solid #eee;
  border-radius: 0px;
  margin: 60px 0px 0px 0px;
  padding: 25px;
  color: #333;
  font: normal normal 14px / 1.5 'Prompt', Arial, Helvetica, sans-serif !important;
  text-shadow: none;
}

/* 9. Responsive Design (Mobile & Tablet <= 767px) */
@media (max-width: 767px) {
  .navbar-default {
    height: auto !important;
    min-height: auto !important;
    padding: 15px;
  }

  .navbar-brand-logo {
    position: static;
    display: block;
    text-align: center;
    margin-bottom: 15px;
  }

  .navbar-brand-logo img {
    max-height: 90px;
    margin: 0 auto;
  }

  .navbar-form {
    position: static;
    width: 100%;
    margin-bottom: 15px !important;
    text-align: center;
  }

  .navbar-form .form-control {
    width: 70%;
    display: inline-block;
  }

  .navbar-default #main-navigation {
    position: static;
    flex-direction: column;
    align-items: stretch;
    border-radius: 8px;
    padding: 8px;
  }

  .navbar-default #main-navigation > li {
    display: block;
    width: 100%;
  }

  .navbar-default #main-navigation > li:not(:last-child)::after {
    display: none;
  }

  .navbar-default li a {
    white-space: normal;
    padding: 8px 12px !important;
  }
}
/* ==========================================================================
   Article Summary & Media Cards - SB_Journal (OJS 3 Bootstrap 3 Theme)
   ========================================================================== */

/* 1. หัวข้อหมวดหมู่บทความ (Section Title เช่น บทความวิจัย / บทความวิชาการ) */
.sections .section > .page-header,
.current_issue .section > h2,
.current_issue .section > h3 {
  color: #3F1474 !important;
  font: normal 600 21px / 1.4 'Prompt', Arial, Helvetica, sans-serif !important;
  border-bottom: 2px solid #3F1474;
  padding-bottom: 8px;
  margin: 32px 0 18px 0;
}

/* 2. โครงสร้างการ์ดรายการบทความ (.article-summary และ .media) */
.article-summary.media,
.current_issue .media-list > .media,
.sections .media {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  background-color: #FFFFFF;
  border: 1px solid #EAE4F2;
  border-left: 5px solid #3F1474; /* แถบสีม่วงประจำวารสารด้านซ้าย */
  border-radius: 12px;
  padding: 20px 24px;
  margin: 0 0 16px 0 !important;
  box-shadow: 0 4px 16px rgba(63, 20, 116, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-left-color 0.2s ease;
}

/* เอฟเฟกต์เมื่อนำเมาส์วางบนการ์ด (Hover) */
.article-summary.media:hover,
.current_issue .media-list > .media:hover,
.sections .media:hover {
  transform: translateY(-2px);
  border-left-color: #F7A231; /* เปลี่ยนแถบซ้ายเป็นสีส้มทองเมื่อชี้ */
  box-shadow: 0 8px 24px rgba(63, 20, 116, 0.12);
}

/* 3. ภาพปกขนาดย่อของบทความ (กรณีมีการอัปโหลดภาพปกบทความ) */
.article-summary .media-left,
.sections .media .media-left {
  flex-shrink: 0;
  padding: 4px;
  background-color: #FFFFFF;
  border: 1px solid #E2DCEB;
  border-radius: 8px;
}

.article-summary .media-left img,
.sections .media .media-left img {
  max-width: 100px;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* 4. ส่วนเนื้อหาบทความ (ชื่อเรื่อง, ชื่อผู้แต่ง, เลขหน้า) */
.article-summary .media-body,
.sections .media .media-body {
  flex: 1 1 auto;
  width: auto !important;
  overflow: visible;
}

/* ชื่อบทความ */
.article-summary .media-heading,
.sections .media .media-heading {
  margin: 0 0 8px 0;
}

.article-summary .media-heading a,
.sections .media .media-heading a {
  color: #3F1474 !important;
  font: normal 500 18px / 1.45 'Prompt', Arial, Helvetica, sans-serif !important;
  text-decoration: none;
  transition: color 0.15s ease;
}

.article-summary .media-heading a:hover,
.article-summary .media-heading a:focus,
.sections .media .media-heading a:hover {
  color: #F7A231 !important;
  text-decoration: underline;
}

/* ชื่อรองบทความ (Subtitle ถ้ามี) */
.article-summary .media-heading .subtitle,
.article-summary .media-heading small {
  display: block;
  color: #777777;
  font: normal 400 15px / 1.4 'Prompt', Arial, Helvetica, sans-serif !important;
  margin-top: 4px;
}

/* แถวข้อมูลผู้แต่งและเลขหน้า (แก้ปัญหา white-space: nowrap ไม่ให้ข้อความล้นการ์ด) */
.article-summary .meta,
.article-summary .authors,
.article-summary .media-body p,
.sections .media .authors,
.sections .media .media-body p {
  color: #777777 !important;
  font: normal 400 15px / 1.5 'Prompt', Arial, Helvetica, sans-serif !important;
  white-space: normal !important;
  margin: 0 0 6px 0;
}

/* 5. เลขหน้าบทความ (Pages) */
.article-summary .pages,
.sections .media .pages {
  display: inline-block;
  color: #777777;
  background-color: #F7F5FA;
  border: 1px solid #EAE4F2;
  border-radius: 6px;
  padding: 2px 10px;
  font: normal 400 13px / 1.4 'Prompt', Arial, Helvetica, sans-serif !important;
  margin-top: 4px;
}

/* 6. ปุ่มดาวน์โหลด PDF / Galley Links ให้โดดเด่นสะดุดตา */
.article-summary .btn-group,
.sections .media .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.article-summary .btn-group .btn-primary,
.article-summary .galley-link,
.sections .media .btn-group .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #F7A231 !important;
  border: 1px solid #F7A231 !important;
  border-radius: 8px !important;
  padding: 7px 16px !important;
  color: #FFFFFF !important;
  font: normal 500 14px / 1.3 'Prompt', Arial, Helvetica, sans-serif !important;
  text-shadow: none !important;
  box-shadow: 0 3px 10px rgba(247, 162, 49, 0.32);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

/* เพิ่มไอคอนเอกสารดาวน์โหลดหน้าคำว่า PDF อัตโนมัติด้วย CSS */
.article-summary .btn-group .btn-primary::before,
.article-summary .galley-link::before,
.sections .media .btn-group .btn-primary::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='12' y1='18' x2='12' y2='12'/%3E%3Cpolyline points='9 15 12 18 15 15'/%3E%3C/svg%3E");
}

.article-summary .btn-group .btn-primary:hover,
.article-summary .btn-group .btn-primary:focus,
.article-summary .galley-link:hover,
.sections .media .btn-group .btn-primary:hover {
  background-color: #3F1474 !important;
  border-color: #3F1474 !important;
  color: #FFAE3C !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(63, 20, 116, 0.28);
}

/* 7. การปรับแสดงผลบนหน้าจอมือถือและแท็บเล็ต (Responsive <= 767px) */
@media (max-width: 767px) {
  .article-summary.media,
  .current_issue .media-list > .media,
  .sections .media {
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }

  .article-summary .media-left,
  .sections .media .media-left {
    margin: 0 auto;
  }

  .article-summary .media-heading a,
  .sections .media .media-heading a {
    font-size: 17px !important;
  }

  .article-summary .btn-group,
  .sections .media .btn-group {
    width: 100%;
  }

  .article-summary .btn-group .btn-primary,
  .article-summary .galley-link,
  .sections .media .btn-group .btn-primary {
    flex: 1 1 auto;
    width: 100%;
    padding: 9px 14px !important;
  }
}
/* ==========================================================================
   Article Details & Abstract Page - SB_Journal (OJS 3 Bootstrap 3 Theme)
   ========================================================================== */

/* 1. กรอบหลักและหัวข้อชื่อบทความ (.article-details) */
.article-details {
  background-color: #FFFFFF;
  padding-top: 10px;
}

.article-details > header .page-header,
.article-details h1.page-header {
  color: #3F1474 !important;
  font: normal 600 22px / 1.45 'Prompt', Arial, Helvetica, sans-serif !important;
  border-bottom: 2px solid #F7A231;
  padding-bottom: 12px;
  margin: 10px 0 20px 0;
}

.article-details > header .page-header small,
.article-details .subtitle {
  display: block;
  color: #777777 !important;
  font: normal 400 17px / 1.45 'Prompt', Arial, Helvetica, sans-serif !important;
  margin-top: 6px;
}

/* 2. รายชื่อผู้แต่งและสังกัด (.authors) */
.article-details .authors {
  list-style: none;
  padding: 14px 18px;
  margin: 0 0 20px 0;
  background-color: #F9F7FC;
  border: 1px solid #EAE4F2;
  border-radius: 10px;
}

.article-details .authors li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.article-details .authors li:last-child {
  margin-bottom: 0;
}

.article-details .authors .name {
  color: #3F1474;
  font: normal 500 16px / 1.5 'Prompt', Arial, Helvetica, sans-serif !important;
  display: inline-block;
  margin-right: 6px;
}

.article-details .authors .affiliation {
  color: #777777;
  font: normal 400 14px / 1.5 'Prompt', Arial, Helvetica, sans-serif !important;
  display: block;
}

/* 3. ข้อมูล DOI และคำสำคัญ (แก้ไขคลาส .label ไม่ให้ชนกับ Badge ของ Bootstrap 3) */
.article-details .item.doi,
.article-details .item.keywords {
  margin: 0 0 14px 0;
  padding: 10px 16px;
  background-color: #FFFFFF;
  border: 1px solid #EAE4F2;
  border-radius: 8px;
  font: normal 400 15px / 1.5 'Prompt', Arial, Helvetica, sans-serif !important;
}

.article-details .item.doi .label,
.article-details .item.keywords .label {
  display: inline-block;
  background-color: transparent !important;
  color: #3F1474 !important;
  font: normal 600 15px / 1.5 'Prompt', Arial, Helvetica, sans-serif !important;
  padding: 0 6px 0 0;
  white-space: normal;
  text-align: left;
}

.article-details .item.doi .value a {
  color: #482073;
  word-break: break-all;
  text-decoration: underline;
}

.article-details .item.doi .value a:hover {
  color: #F7A231;
}

.article-details .item.keywords .value {
  color: #777777;
}

/* 4. กล่องบทคัดย่อ (.abstract) */
.article-details .item.abstract,
.article-details .abstract {
  background-color: #FFFFFF;
  border: 1px solid #EAE4F2;
  border-left: 5px solid #3F1474;
  border-radius: 12px;
  padding: 22px 26px;
  margin: 22px 0;
  box-shadow: 0 4px 16px rgba(63, 20, 116, 0.06);
}

.article-details .item.abstract h2,
.article-details .item.abstract h3,
.article-details .abstract h2,
.article-details .abstract h3 {
  color: #3F1474 !important;
  font: normal 600 20px / 1.4 'Prompt', Arial, Helvetica, sans-serif !important;
  border-bottom: 1px solid #EAE4F2;
  padding-bottom: 8px;
  margin: 0 0 14px 0;
}

.article-details .item.abstract p,
.article-details .abstract p {
  color: #080F0C !important;
  font: normal 400 16px / 1.75 'Prompt', Arial, Helvetica, sans-serif !important;
  margin: 0 0 14px 0;
  text-align: justify;
  white-space: normal !important;
}

.article-details .item.abstract p:last-child,
.article-details .abstract p:last-child {
  margin-bottom: 0;
}

/* 5. เอกสารอ้างอิงและประวัติผู้เขียน (.references & .author_bios) */
.article-details .item.references,
.article-details .item.author_bios {
  background-color: #FFFFFF;
  border: 1px solid #EAE4F2;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 20px 0;
}

.article-details .item.references h2,
.article-details .item.references h3,
.article-details .item.author_bios h2,
.article-details .item.author_bios h3 {
  color: #3F1474 !important;
  font: normal 600 20px / 1.4 'Prompt', Arial, Helvetica, sans-serif !important;
  border-bottom: 1px solid #EAE4F2;
  padding-bottom: 8px;
  margin: 0 0 14px 0;
}

.article-details .item.references .value p,
.article-details .item.author_bios .value p {
  color: #504E5E !important;
  font: normal 400 15px / 1.65 'Prompt', Arial, Helvetica, sans-serif !important;
  margin-bottom: 10px;
  white-space: normal !important;
}

/* 6. แถบด้านข้างหน้าบทความ (.article-sidebar) และปุ่มดาวน์โหลด PDF */
.article-details .article-sidebar .item {
  margin-bottom: 18px;
}

/* ปุ่มดาวน์โหลดไฟล์บทความ (PDF / Full Text) */
.article-details .galleys_links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-details .galleys_links li {
  margin-bottom: 10px;
}

.article-details .galleys_links a.obj_galley_link,
.article-details .galleys_links a.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background-color: #F7A231 !important;
  border: 1px solid #F7A231 !important;
  border-radius: 10px !important;
  padding: 12px 18px !important;
  color: #FFFFFF !important;
  font: normal 600 16px / 1.3 'Prompt', Arial, Helvetica, sans-serif !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(247, 162, 49, 0.35);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.article-details .galleys_links a.obj_galley_link::before,
.article-details .galleys_links a.btn-primary::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='12' y1='18' x2='12' y2='12'/%3E%3Cpolyline points='9 15 12 18 15 15'/%3E%3C/svg%3E");
}

.article-details .galleys_links a.obj_galley_link:hover,
.article-details .galleys_links a.obj_galley_link:focus,
.article-details .galleys_links a.btn-primary:hover {
  background-color: #3F1474 !important;
  border-color: #3F1474 !important;
  color: #FFAE3C !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(63, 20, 116, 0.3);
}

/* กล่องข้อมูลฉบับวารสาร / หมวดหมู่ / รูปแบบการอ้างอิง (.panel ในหน้าบทความ) */
.article-details .article-sidebar .panel-default {
  border: 1px solid #EAE4F2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(63, 20, 116, 0.05);
}

.article-details .article-sidebar .panel-default > .panel-heading {
  background-color: #3F1474 !important;
  color: #FFAE3C !important;
  border-bottom: none;
  padding: 10px 15px;
  font: normal 500 16px / 1.3 'Prompt', Arial, Helvetica, sans-serif !important;
}

.article-details .article-sidebar .panel-body {
  background-color: #FFFFFF;
  color: #777777;
  font: normal 400 14px / 1.6 'Prompt', Arial, Helvetica, sans-serif !important;
  padding: 14px 15px;
}

/* กล่องข้อความ Citation (How to Cite) */
.article-details #citationOutput {
  background-color: #F9F7FC;
  border: 1px solid #EAE4F2;
  border-radius: 6px;
  padding: 10px 12px;
  color: #333333;
  font-size: 13.5px !important;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* 7. การปรับแสดงผลบนหน้าจอมือถือและแท็บเล็ต (Responsive <= 767px) */
@media (max-width: 767px) {
  .article-details > header .page-header,
  .article-details h1.page-header {
    font-size: 19px !important;
  }

  .article-details .item.abstract,
  .article-details .abstract,
  .article-details .item.references,
  .article-details .item.author_bios {
    padding: 16px 18px;
  }

  .article-details .item.abstract h2,
  .article-details .item.abstract h3,
  .article-details .abstract h2,
  .article-details .abstract h3 {
    font-size: 18px !important;
  }

  .article-details .item.abstract p,
  .article-details .abstract p {
    font-size: 15px !important;
    text-align: left;
  }
}
/* ==========================================================================
   Archives Page (.issues_archive & .issue-summary) - SB_Journal
   Theme: OJS 3 Bootstrap 3 Theme
   ========================================================================== */

/* 1. หัวข้อหน้าฉบับย้อนหลัง (Archives Page Header) */
.page_issue_archive .page-header,
.page_issue_archive .page-header h1 {
  color: #3F1474 !important;
  font: normal 600 22px / 1.4 'Prompt', Arial, Helvetica, sans-serif !important;
  border-bottom: 2px solid #F7A231;
  padding-bottom: 10px;
  margin: 10px 0 24px 0;
}

/* 2. โครงสร้างตาราง Grid สำหรับรายการฉบับย้อนหลัง (.issues_archive) */
ul.issues_archive,
.issues_archive {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  list-style: none !important;
  padding: 0 !important;
  margin: 20px 0 36px 0 !important;
}

/* ทำให้รายการ <li> ยืดความสูงเท่ากันทุกใบในแถวเดียวกัน */
ul.issues_archive > li {
  display: flex;
  margin: 0 !important;
  padding: 0 !important;
}

/* 3. การ์ดวารสารแต่ละฉบับ (.issue-summary และ .media) */
.issues_archive .issue-summary.media,
.issues_archive .issue-summary {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid #EAE4F2 !important;
  border-top: 5px solid #3F1474 !important; /* แถบสีม่วงด้านบนการ์ด */
  border-left: 1px solid #EAE4F2 !important;
  border-radius: 14px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(63, 20, 116, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-top-color 0.25s ease;
}

/* เอฟเฟกต์เมื่อนำเมาส์วางบนการ์ดฉบับวารสาร */
.issues_archive .issue-summary.media:hover,
.issues_archive .issue-summary:hover {
  transform: translateY(-5px);
  border-top-color: #F7A231 !important; /* เปลี่ยนแถบด้านบนเป็นสีส้มทอง */
  box-shadow: 0 12px 28px rgba(63, 20, 116, 0.15);
}

/* 4. ส่วนแสดงภาพปกวารสาร (.media-left & a.cover) */
.issues_archive .issue-summary .media-left {
  display: block !important;
  width: 100% !important;
  float: none !important;
  padding: 20px 20px 16px 20px !important;
  margin: 0 !important;
  background-color: #F9F7FC;
  border: none !important;
  border-bottom: 1px solid #EAE4F2 !important;
  border-radius: 0 !important;
  text-align: center;
}

.issues_archive .issue-summary a.cover {
  display: inline-block;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.14);
}

.issues_archive .issue-summary .media-left img,
.issues_archive .issue-summary a.cover img {
  width: 100%;
  max-width: 195px;
  aspect-ratio: 3 / 4; /* ล็อคสัดส่วนภาพปกให้เท่ากันทุกฉบับ */
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.issues_archive .issue-summary:hover a.cover img {
  transform: scale(1.03);
}

/* 5. ส่วนข้อมูลชื่อฉบับ ปีที่ ฉบับที่ (.media-body) */
.issues_archive .issue-summary .media-body {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 auto;
  width: 100% !important;
  padding: 18px 20px 22px 20px !important;
  text-align: center;
  overflow: visible;
}

.issues_archive .issue-summary .media-heading {
  margin: 0 0 6px 0 !important;
}

/* ชื่อฉบับหรือปีที่/ฉบับที่ */
.issues_archive .issue-summary .media-heading a.title,
.issues_archive .issue-summary .media-heading a {
  display: block;
  color: #3F1474 !important;
  font: normal 600 17px / 1.45 'Prompt', Arial, Helvetica, sans-serif !important;
  text-decoration: none;
  white-space: normal !important;
  transition: color 0.15s ease;
}

.issues_archive .issue-summary .media-heading a.title:hover,
.issues_archive .issue-summary .media-heading a:hover {
  color: #F7A231 !important;
}

/* ข้อมูลปีที่
/* ==========================================================================
   Login (.page_login) & Register (.page_register) Cards - SB_Journal
   Theme: OJS 3 Bootstrap 3 Theme
   ========================================================================== */

/* 1. โครงสร้างการ์ดจัดกึ่งกลางหน้าจอสำหรับหน้า Login และ Register */
.page_login,
.page_register {
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid #EAE4F2;
  border-top: 5px solid #3F1474;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(63, 20, 116, 0.08);
  margin: 30px auto 50px auto;
}

/* ความกว้างที่เหมาะสมสำหรับฟอร์มเข้าสู่ระบบ (กะทัดรัด) */
.page_login {
  max-width: 480px;
  padding: 36px 40px;
}

/* ความกว้างที่เหมาะสมสำหรับฟอร์มสมัครสมาชิก (มีหลายหมวดหมู่) */
.page_register {
  max-width: 680px;
  padding: 36px 44px;
}

/* 2. หัวข้อหลักของหน้า (Page Header) */
.page_login .page-header,
.page_register .page-header {
  background-color: transparent;
  border-bottom: 2px solid #F7A231;
  padding: 0 0 12px 0;
  margin: 0 0 26px 0;
  text-align: center;
}

.page_login .page-header h1,
.page_register .page-header h1 {
  color: #3F1474 !important;
  font: normal 600 22px / 1.4 'Prompt', Arial, Helvetica, sans-serif !important;
  margin: 0;
}

/* 3. การจัดกลุ่มหมวดหมู่ข้อมูลในหน้าสมัครสมาชิก (Fieldset & Legend) */
.page_register fieldset {
  border: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.page_register fieldset legend {
  display: block;
  width: 100%;
  color: #3F1474 !important;
  font: normal 600 18px / 1.4 'Prompt', Arial, Helvetica, sans-serif !important;
  border-bottom: 1px solid #EAE4F2;
  padding-bottom: 8px;
  margin-bottom: 18px;
}

/* 4. ป้ายกำกับช่องกรอกข้อมูล (Labels & Required Asterisk) */
.page_login .form-group,
.page_register .form-group {
  margin-bottom: 18px;
}

.page_login label,
.page_register label {
  display: block;
  color: #3F1474;
  font: normal 500 15px / 1.5 'Prompt', Arial, Helvetica, sans-serif !important;
  margin-bottom: 6px;
  white-space: normal !important;
}

.page_login label .required,
.page_register label .required {
  color: #D93025;
  font-weight: 600;
  margin-left: 2px;
}

/* 5. ช่องกรอกข้อมูลและตัวเลือก (Inputs & Select) */
.page_login .form-control,
.page_register .form-control {
  width: 100% !important;
  height: 44px;
  background-color: #FAF9FC;
  border: 1.5px solid #DCD4E8;
  border-radius: 10px !important;
  padding: 8px 14px;
  color: #080F0C;
  font: normal 400 15px / 1.5 'Prompt', Arial, Helvetica, sans-serif !important;
  box-shadow: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.page_login .form-control:focus,
.page_register .form-control:focus {
  background-color: #FFFFFF;
  border-color: #3F1474;
  outline: none;
  box-shadow: 0 0 0 3px rgba(63, 20, 116, 0.14);
}

/* 6. ช่องติ๊กถูก (Checkbox) และลิงก์ลืมรหัสผ่าน (Forgot Password) */
.page_login .checkbox,
.page_register .checkbox {
  margin: 14px 0;
}

.page_login .checkbox label,
.page_register .checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #777777 !important;
  font: normal 400 14px / 1.55 'Prompt', Arial, Helvetica, sans-serif !important;
  cursor: pointer;
}

.page_login .checkbox input[type="checkbox"],
.page_register .checkbox input[type="checkbox"] {
  position: static;
  margin: 4px 0 0 0;
  accent-color: #3F1474;
  flex-shrink: 0;
}

.page_login .checkbox a,
.page_register .checkbox a,
.page_login .form-group a {
  display: inline-block;
  margin-top: 6px;
  color: #482073;
  font: normal 500 14px / 1.4 'Prompt', Arial, Helvetica, sans-serif !important;
  text-decoration: none;
  transition: color 0.15s ease;
}

.page_login .checkbox a:hover,
.page_register .checkbox a:hover,
.page_login .form-group a:hover {
  color: #F7A231;
  text-decoration: underline;
}

/* 7. ปุ่มกดยืนยันและปุ่มสลับหน้า (Submit & Secondary Buttons) */
.page_login .buttons,
.page_register .buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #EAE4F2;
}

/* ปุ่มหลัก (เข้าสู่ระบบ / ลงทะเบียน) */
.page_login .buttons .btn-primary,
.page_register .buttons .btn-primary {
  width: 100%;
  background-color: #3F1474 !important;
  border: 1px solid #3F1474 !important;
  border-radius: 10px !important;
  padding: 12px 20px !important;
  color: #FFAE3C !important;
  font: normal 600 16px / 1.4 'Prompt', Arial, Helvetica, sans-serif !important;
  text-shadow: none !important;
  box-shadow: 0 4px 14px rgba(63, 20, 116, 0.25);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.page_login .buttons .btn-primary:hover,
.page_login .buttons .btn-primary:focus,
.page_register .buttons .btn-primary:hover,
.page_register .buttons .btn-primary:focus {
  background-color: #F7A231 !important;
  border-color: #F7A231 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(247, 162, 49, 0.35);
}

/* ปุ่มรอง (สลับไปหน้าสมัครสมาชิก หรือ สลับไปหน้าเข้าสู่ระบบ) */
.page_login .buttons .btn-default,
.page_register .buttons .btn-default {
  width: 100%;
  background-color: #F9F7FC !important;
  border: 1.5px solid #DCD4E8 !important;
  border-radius: 10px !important;
  padding: 10px 20px !important;
  color: #3F1474 !important;
  font: normal 500 15px / 1.4 'Prompt', Arial, Helvetica, sans-serif !important;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.page_login .buttons .btn-default:hover,
.page_login .buttons .btn-default:focus,
.page_register .buttons .btn-default:hover,
.page_register .buttons .btn-default:focus {
  background-color: #FFFFFF !important;
  border-color: #3F1474 !important;
  color: #3F1474 !important;
}

/* 8. กล่องแจ้งเตือนข้อผิดพลาด (กรณีกรอกรหัสผ่านผิดหรือกรอกข้อมูลไม่ครบ) */
.page_login .alert-danger,
.page_register .alert-danger {
  background-color: #FFF5F5;
  border: 1px solid #F5C2C7;
  border-left: 4px solid #D93025;
  border-radius: 8px;
  color: #842029;
  font: normal 400 14px / 1.5 'Prompt', Arial, Helvetica, sans-serif !important;
  padding: 12px 16px;
  margin-bottom: 20px;
}

/* 9. การปรับแสดงผลบนหน้าจอมือถือและแท็บเล็ต (Responsive ไม่เกิน 767px) */
@media (max-width: 767px) {
  .page_login,
  .page_register {
    margin: 16px auto 32px auto;
    padding: 24px 20px;
    border-radius: 12px;
  }

  .page_login .page-header h1,
  .page_register .page-header h1 {
    font-size: 20px !important;
  }

  .page_register fieldset legend {
    font-size: 17px !important;
  }
}
/* ==========================================================================
   Submissions (.page_submissions) & Contact (.page_contact) - SB_Journal
   Theme: OJS 3 Bootstrap 3 Theme
   ========================================================================== */

/* 1. กรอบการ์ดหลักของหน้าส่งบทความและหน้าติดต่อวารสาร */
.page_submissions,
.page_contact {
  background-color: #FFFFFF;
  border: 1px solid #EAE4F2;
  border-top: 5px solid #3F1474;
  border-radius: 14px;
  padding: 28px 34px;
  margin: 10px 0 36px 0;
  box-shadow: 0 6px 22px rgba(63, 20, 116, 0.06);
}

/* 2. หัวข้อหลักของหน้า (Page Header) */
.page_submissions .page-header,
.page_contact .page-header {
  background-color: transparent;
  border-bottom: 2px solid #F7A231;
  padding: 0 0 12px 0;
  margin: 0 0 24px 0;
}

.page_submissions .page-header h1,
.page_contact .page-header h1 {
  color: #3F1474 !important;
  font: normal 600 22px / 1.4 'Prompt', Arial, Helvetica, sans-serif !important;
  margin: 0;
}

/* 3. กล่องแจ้งเตือนเข้าสู่ระบบ / ส่งบทความใหม่ (.alert ในหน้า .page_submissions) */
.page_submissions .alert,
.page_submissions .alert-info {
  background-color: #F9F7FC !important;
  border: 1px solid #DCD4E8 !important;
  border-left: 5px solid #F7A231 !important;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 0 0 26px 0;
  color: #080F0C !important;
  font: normal 400 15.5px / 1.65 'Prompt', Arial, Helvetica, sans-serif !important;
}

.page_submissions .alert a {
  color: #3F1474 !important;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #F7A231;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.page_submissions .alert a:hover {
  color: #F7A231 !important;
}

/* 4. หัวข้อย่อยแต่ละหมวด (Checklist, Author Guidelines, Copyright, Privacy) */
.page_submissions h2,
.page_submissions h3,
.page_contact h2,
.page_contact h3 {
  color: #3F1474 !important;
  background-color: #F9F7FC;
  border-left: 4px solid #F7A231;
  border-radius: 0 8px 8px 0;
  padding: 10px 16px;
  margin: 28px 0 16px 0;
  font: normal 600 19px / 1.45 'Prompt', Arial, Helvetica, sans-serif !important;
}

.page_submissions h4,
.page_contact h4 {
  color: #3F1474 !important;
  font: normal 600 17px / 1.45 'Prompt', Arial, Helvetica, sans-serif !important;
  margin: 20px 0 10px 0;
  padding-bottom: 4px;
  border-bottom: 1px dashed #DCD4E8;
}

/* 5. รายการตรวจสอบก่อนส่งบทความ (.submission_checklist) */
.page_submissions .submission_checklist ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 14px 0 26px 0 !important;
}

.page_submissions .submission_checklist ul li {
  position: relative;
  background-color: #FAF9FC;
  border: 1px solid #EAE4F2;
  border-left: 4px solid #3F1474;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 12px;
  color: #080F0C;
  font: normal 400 15.5px / 1.7 'Prompt', Arial, Helvetica, sans-serif !important;
  transition: border-left-color 0.2s ease, background-color 0.2s ease;
}

.page_submissions .submission_checklist ul li:hover {
  background-color: #FFFFFF;
  border-left-color: #F7A231;
}

.page_submissions .submission_checklist ul li .glyphicon {
  color: #F7A231;
  margin-right: 8px;
}

/* 6. คำแนะนำสำหรับผู้แต่ง ลิขสิทธิ์ และนโยบายความเป็นส่วนตัว */
.page_submissions .author_guidelines p,
.page_submissions .copyright_notice p,
.page_submissions .privacy_statement p,
.page_submissions p {
  color: #080F0C !important;
  font: normal 400 16px / 1.75 'Prompt', Arial, Helvetica, sans-serif !important;
  margin: 0 0 16px 0;
  white-space: normal !important;
  text-shadow: none !important;
}

.page_submissions .author_guidelines ul,
.page_submissions .author_guidelines ol {
  margin: 0 0 20px 0;
  padding-left: 24px;
}

.page_submissions .author_guidelines li {
  color: #333333;
  font: normal 400 16px / 1.7 'Prompt', Arial, Helvetica, sans-serif !important;
  margin-bottom: 10px;
}

.page_submissions .author_guidelines ul li::marker {
  color: #F7A231;
}

.page_submissions a,
.page_contact a {
  color: #3F1474 !important;
  font: normal 500 16px / 1.6 'Prompt', Arial, Helvetica, sans-serif !important;
  text-decoration: underline;
  text-decoration-color: rgba(247, 162, 49, 0.7);
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.page_submissions a:hover,
.page_contact a:hover {
  color: #F7A231 !important;
}

/* 7. ส่วนข้อมูลติดต่อวารสาร (.page_contact) */
/* กล่องที่อยู่วารสาร (.address) */
.page_contact .address {
  background-color: #F9F7FC;
  border: 1px solid #EAE4F2;
  border-left: 5px solid #F7A231;
  border-radius: 12px;
  padding: 18px 22px;
  margin: 0 0 24px 0;
  color: #080F0C;
  font: normal 400 16px / 1.75 'Prompt', Arial, Helvetica, sans-serif !important;
}

.page_contact .address p:last-child {
  margin-bottom: 0;
}

/* จัดกลุ่มการ์ดผู้ติดต่อหลัก (.contact.primary) และผู้ประสานงานด้านเทคนิค (.contact.support) */
.page_contact .contact_section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.page_contact .contact.primary,
.page_contact .contact.support,
.page_contact .contact {
  background-color: #FFFFFF;
  border: 1px solid #EAE4F2;
  border-top: 4px solid #3F1474;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(63, 20, 116, 0.05);
  transition: transform 0.2s ease, border-top-color 0.2s ease, box-shadow 0.2s ease;
}

.page_contact .contact_section .contact {
  margin-bottom: 0;
}

.page_contact .contact:hover {
  transform: translateY(-2px);
  border-top-color: #F7A231;
  box-shadow: 0 8px 20px rgba(63, 20, 116, 0.1);
}

/* หัวข้อภายในกล่องผู้ติดต่อ */
.page_contact .contact h2,
.page_contact .contact h3 {
  background-color: transparent;
  border-left: none;
  border-bottom: 1px solid #EAE4F2;
  border-radius: 0;
  padding: 0 0 10px 0;
  margin: 0 0 14px 0;
  font-size: 18px !important;
}

/* รายละเอียดชื่อ ตำแหน่ง สังกัด เบอร์โทร และอีเมล */
.page_contact .contact .name {
  color: #3F1474;
  font: normal 600 16.5px / 1.5 'Prompt', Arial, Helvetica, sans-serif !important;
  margin-bottom: 4px;
}

.page_contact .contact .title,
.page_contact .contact .affiliation {
  color: #777777;
  font: normal 400 15px / 1.6 'Prompt', Arial, Helvetica, sans-serif !important;
  margin-bottom: 6px;
}

.page_contact .contact .phone,
.page_contact .contact .email {
  color: #080F0C;
  font: normal 400 15px / 1.6 'Prompt', Arial, Helvetica, sans-serif !important;
  margin-top: 8px;
}

.page_contact .contact .email a {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 12px;
  background-color: #F9F7FC;
  border: 1px solid #DCD4E8;
  border-radius: 6px;
  color: #3F1474 !important;
  font-size: 14.5px !important;
  text-decoration: none;
  word-break: break-all;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.page_contact .contact .email a:hover {
  background-color: #3F1474;
  border-color: #3F1474;
  color: #FFAE3C !important;
}

/* 8. การปรับแสดงผลบนหน้าจอมือถือและแท็บเล็ต (Responsive ไม่เกิน 767px) */
@media (max-width: 767px) {
  .page_submissions,
  .page_contact {
    padding: 20px 18px;
    border-radius: 12px;
  }

  .page_submissions .page-header h1,
  .page_contact .page-header h1 {
    font-size: 20px !important;
  }

  .page_submissions h2,
  .page_submissions h3,
  .page_contact h2,
  .page_contact h3 {
    font-size: 17px !important;
    padding: 8px 12px;
  }

  .page_submissions .submission_checklist ul li {
    padding: 12px 14px;
    font-size: 15px !important;
  }

  .page_contact .contact_section {
    grid-template-columns: 1fr;
  }

  .page_contact .contact {
    padding: 16px 18px;
  }
}