/* css/style.css */
* {
  box-sizing: border-box;
}

:root {
  --primary-color: #1a5cab;
  --light-blue: #f0f5fa;
  --border-color: #dce7f3;
  --text-main: #333;
  --text-light: #666;
  --link-color: #1a5cab;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  font-family: "Microsoft YaHei", Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: var(--text-main);
  font-size: 14px;
}

a {
  color: var(--link-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Visibility Utilities */
.hide-on-desktop {
  display: none !important;
}

@media (max-width: 1024px) {
  .hide-on-mobile {
    display: none !important;
  }

  .hide-on-desktop {
    display: block !important;
  }
}


.mobile-menu-toggle {
  display: none;
}

/* Header */
.top-header {
  background-color: lavender;
  height: 153px;
  position: relative;
}

.container {
  width: 1200px;
  margin: 0 auto;
  position: relative;
  height: 100%;
}

.logo-area {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.logo-image img {
  height: 80px;
  width: auto;
}

.logo-text {
  display: none;
}

.top-right {
  position: absolute;
  right: 0;
  top: 20px;
  text-align: right;
  color: #333;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
}

.search-container {
  position: absolute;
  right: 0;
  bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-box {
  border: 1px solid rgba(26, 92, 171, 0.4);
  border-radius: 25px;
  padding: 4px 6px 4px 18px;
  width: 280px;
  display: flex;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.search-box:focus-within {
  width: 320px;
  background: rgba(255, 255, 255, 1);
  border-color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(26, 92, 171, 0.15);
  transform: translateY(-1px);
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 13px;
  color: #333;
  background: transparent;
  font-family: inherit;
}

.search-box input::placeholder {
  color: #9aa0a6;
  transition: color 0.3s ease;
}

.search-box:focus-within input::placeholder {
  color: #ccc;
}

.search-icon {
  background: var(--primary-color);
  color: white;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(26, 92, 171, 0.2);
  padding: 0;
}

.search-icon svg {
  width: 16px;
  height: 16px;
}

.search-icon:hover {
  transform: scale(1.05);
  background: #144988;
  box-shadow: 0 4px 10px rgba(26, 92, 171, 0.3);
}


/* Navbar */
.navbar {
  background-color: #464646;
  height: 45px;
}

.nav-container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-date {
  color: #fff;
  font-size: 14px;
  width: 150px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: space-around;
}

.nav-menu li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-menu li a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-menu li.has-dropdown a:after {
  content: ' ▾';
  font-size: 12px;
  margin-left: 5px;
}

.nav-menu li a:hover {
  color: #a3ccef;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  min-width: 120px;
  background-color: #333333;
  list-style: none;
  padding: 5px 0;
  margin: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 2000;
}

.dropdown-menu li {
  width: 100%;
  display: block;
  height: auto;
}

.dropdown-menu li a {
  padding: 10px 15px;
  font-size: 14px;
  color: #fff;
  display: block;
  text-align: center;
  height: auto;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: #333333;
  color: #fff;
  text-decoration: none;
}

.nav-menu li:hover .dropdown-menu {
  display: block;
}

/* Article Page Layout */
.main-wrapper {
  width: 1200px;
  margin: 30px auto;
  display: flex;
  align-items: flex-start;
}

/* Left Sidebar */
.left-sidebar {
  width: 220px;
  margin-right: 40px;
}

.side-section {
  margin-bottom: 35px;
}

.side-title {
  color: #1a5cab;
  font-size: 16px;
  font-weight: bold;
  border-bottom: 1px solid #1a5cab;
  padding-bottom: 8px;
  margin-bottom: 15px;
}

.side-title span {
  font-size: 12px;
  color: #666;
  font-weight: normal;
  margin-left: 5px;
}

.side-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-list li {
  padding: 6px 0;
  font-size: 14px;
}

.stat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 15px;
  background-color: #f8fbff;
}

.stat-table td {
  padding: 10px 5px;
  border-bottom: 1px dashed #dce7f3;
}

.stat-table td:last-child {
  text-align: right;
  color: #00a0e9;
}

.side-section--qr {
  text-align: center;
  margin-top: 8px;
}

/* Live reference: QR only under statistics, no caption text below */
.qr-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
  max-width: 180px;
  border: none;
  background: #fff;
  box-sizing: border-box;
}

.qr-code__img {
  display: block;
  width: 170px;
  height: 170px;
  object-fit: contain;
  background: #fff;
}

/* Right Content */
.right-content {
  flex: 1;
  max-width: 940px;
}

.article-wrapper .right-content {
  max-width: 100%;
}

/* Homepage specific styles */
.homepage-wrapper {
  margin-top: 20px;
}

.homepage-sidebar {
  width: 280px;
  margin-right: 20px;
}

.homepage-content {
  width: calc(1200px - 300px);
}

.home-section {
  margin-bottom: 30px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
  padding-bottom: 8px;
}

.section-header h3 {
  margin: 0;
  font-size: 16px;
  color: #1a5cab;
  display: flex;
  align-items: center;
}

.red-bar {
  display: inline-block;
  width: 4px;
  height: 16px;
  background-color: #d32f2f;
  margin-right: 10px;
}

.more-link {
  font-size: 12px;
  color: #999;
}

.more-link:hover {
  color: #1a5cab;
}

/* System Grid */
.system-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.grid-btn {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  color: #fff !important;
  text-decoration: none;
  padding: 14px 16px;
  min-height: 70px;
  border-radius: 5px;
  font-size: 15px;
  line-height: 1.25;
  text-align: left;
  box-sizing: border-box;
  transition: opacity 0.15s ease, filter 0.15s ease;
}

.grid-btn__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.grid-btn__icon img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.grid-btn__text {
  flex: 1;
}

/* Reference layout: top-left & bottom-right blue; top-right & bottom-left amber */
.grid-btn--blue {
  background-color: #2b73c4;
}

.grid-btn--amber {
  background-color: #f39c12;
}

.grid-btn:hover {
  opacity: 0.94;
  filter: brightness(1.03);
}

/* Home List */
.home-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-list li {
  padding: 8px 0;
  border-bottom: 1px dashed #eee;
}

.home-list li a {
  color: #555;
  font-size: 14px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-list li a:before {
  content: "•";
  color: #ccc;
  margin-right: 8px;
}

.home-list li a:hover {
  color: #1a5cab;
}

/* Journal Info Section */
.journal-info-section {
  background-color: #f8f8f8;
  padding-bottom: 20px;
}

.journal-info-section .section-header {
  padding-left: 15px;
  padding-right: 15px;
  background: #fff;
  margin-bottom: 0px;
  padding-top: 10px;
}

.info-content {
  padding: 15px;
}

.journal-full-name {
  text-align: center;
  font-weight: bold;
  font-size: 15px;
  color: #333;
  margin-bottom: 15px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.8;
  color: #444;
}

.info-table td {
  padding: 4px 0;
  vertical-align: top;
}

.info-table td:first-child {
  font-weight: bold;
  color: #333;
  width: 75px;
  text-align: right;
  padding-right: 8px;
}

.sidebar-qr-wrap {
  margin-top: 20px;
  text-align: center;
}

.sidebar-qr-wrap img {
  width: 130px;
  height: 130px;
  margin-bottom: 8px;
}

.sidebar-qr-wrap p {
  font-size: 12px;
  color: #666;
  margin: 0;
}

/* Hero Banner */
.hero-banner {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-bottom: 25px;
  border-radius: 2px;
}

.hero-banner img.bg-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Intro Text */
.intro-text-wrapper {
  display: flex;
  align-items: flex-start;
}

.intro-book-cover {
  width: 200px;
  margin-right: 20px;
  border: 1px solid #eee;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.intro-text p {
  font-size: 13px;
  color: #555;
  line-height: 1.9;
  text-indent: 2em;
  margin-top: 0;
  margin-bottom: 12px;
  text-align: justify;
}

/* Tabs Container */
.tabs-header {
  display: flex;
  border-bottom: 2px solid #1a5cab;
  margin-bottom: 20px;
  background: #f9f9f9;
}

.tabs-header .tab {
  padding: 12px 25px;
  font-size: 15px;
  color: #333;
  cursor: pointer;
  background: #f0f0f0;
  border-right: 1px solid #fff;
}

.tabs-header .tab.active {
  background: #1a5cab;
  color: #fff;
  font-weight: bold;
}

.article-item {
  padding: 15px 0;
  border-bottom: 1px dashed #eee;
}

.article-list-title {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: bold;
}

.article-list-title a {
  color: #1a5cab;
}

.article-list-meta {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}

.article-list-author {
  margin-right: 20px;
}

.article-list-abstract {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 10px 0;
  text-align: justify;
}

.article-list-links {
  margin-top: 8px;
}

.article-list-links a {
  color: #1a5cab;
  font-size: 13px;
  margin-right: 15px;
  text-decoration: none;
}

.article-list-links a:hover {
  text-decoration: underline;
}

/* Issue Header */
.issue-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 2px solid #d32f2f;
  margin-top: 15px;
  margin-bottom: 15px;
}

.current-issue-text {
  font-weight: bold;
  color: #d32f2f;
  font-size: 15px;
}

.issue-links {
  font-size: 13px;
}

.issue-links a {
  color: #666;
  margin-left: 10px;
  text-decoration: none;
}

.issue-links a:hover {
  color: #d32f2f;
}

/* View More CTA */
.view-more-wrap {
  text-align: center;
  padding: 25px 0 10px;
}

.btn-view-more {
  display: inline-block;
  padding: 10px 40px;
  border: 1px solid #999;
  color: #333;
  font-size: 14px;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.btn-view-more:hover {
  background-color: #1a5cab;
  color: #fff;
  border-color: #1a5cab;
}

/* Article list stats */
.article-list-stats {
  float: right;
  font-size: 12px;
  color: #aaa;
}

.article-list-stats span {
  margin-left: 10px;
}

/* Articles Page Layout */
.articles-page-wrapper {
  margin-top: 20px;
  padding-bottom: 30px;
}

.articles-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #1a5cab;
}

.articles-page-header h1,
.articles-page-header h2 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.articles-page-breadcrumb {
  font-size: 13px;
  color: #888;
}

.articles-page-breadcrumb a {
  color: #1a5cab;
  text-decoration: none;
}

/* Page Size Bar */
.page-size-bar {
  padding: 10px 0;
  font-size: 13px;
  color: #666;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}

.page-size-bar select {
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 13px;
}

/* Pagination Bar */
.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 20px 0;
  margin-top: 20px;
  border-top: 1px solid #eee;
}

.pg-total {
  font-size: 13px;
  color: #666;
  margin-right: 15px;
}

.pg-btn {
  display: inline-block;
  min-width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0 8px;
}

.pg-btn:hover {
  background-color: #1a5cab;
  color: #fff;
  border-color: #1a5cab;
}

.pg-btn.pg-active {
  background-color: #1a5cab;
  color: #fff;
  border-color: #1a5cab;
  cursor: default;
}

.pg-btn.pg-disabled {
  color: #ccc;
  cursor: default;
  border-color: #eee;
}

.pg-btn.pg-disabled:hover {
  background-color: transparent;
  color: #ccc;
  border-color: #eee;
}

.pg-ellipsis {
  font-size: 13px;
  color: #999;
  padding: 0 4px;
}

.pg-jump {
  font-size: 13px;
  color: #666;
  margin-left: 15px;
}

.pg-jump input {
  width: 50px;
  height: 28px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 13px;
  margin: 0 4px;
}

/* Article specific inner styling */
.article-title {
  font-size: 20px;
  color: #333;
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: bold;
}

.related-articles {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 2px solid #1a5cab;
}

.related-articles h2 {
  font-size: 18px;
  color: #333;
  margin: 0 0 12px 0;
}

.related-articles ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-articles li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 15px;
  line-height: 1.6;
}

.related-articles li:last-child {
  border-bottom: none;
}

.related-articles a {
  color: #1a5cab;
  text-decoration: none;
}

.related-articles a:hover {
  text-decoration: underline;
}

.pdf-download-link {
  display: inline-flex;
  align-items: center;
  color: #d14836;
  font-size: 14px;
  margin-bottom: 15px;
}

.pdf-download-link svg {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  fill: currentColor;
}

.pdf-download-link span {
  color: #333;
}

.pdf-download-link span.count {
  color: #e53935;
  margin-left: 4px;
}

.citation-box {
  background-color: #f2f7fc;
  border: none;
  padding: 20px;
  font-size: 13px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.citation-box p {
  margin: 0 0 10px 0;
  word-break: break-all;
}

.btn-copy {
  background-color: #1a5cab;
  color: #fff;
  border: none;
  padding: 6px 18px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  margin-top: 5px;
}

.journal-meta-row {
  font-size: 14px;
  color: #333;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #eee;
}

.metadata-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: 30px;
}

.metadata-table td {
  padding: 18px 10px;
  /* adjusted padding to match screenshot nicely */
  border-bottom: 1px dashed #eee;
  vertical-align: middle;
}

.metadata-table td.m-key {
  color: #333;
  width: 100px;
  white-space: nowrap;
}

.metadata-table td.m-value {
  color: #333;
}

.m-value a {
  color: #1a5cab;
  margin-right: 15px;
}

/* Reference List within the table */
.ref-list p {
  margin: 0 0 10px 0;
  color: #333;
}

.ref-list p:last-child {
  margin-bottom: 0;
}

.ref-list a {
  color: #1a5cab;
  margin-right: 0;
  /* Override generic margin */
}

/* Footer Section */
.main-footer {
  background: #1F2937;
  color: white;
  text-align: center;
  padding: 30px 0;
  font-size: 13px;
  line-height: 2.2;
  margin-top: 50px;
  width: 100%;
}

.main-footer p {
  margin: 0;
}

/* Floating Bottom Right Panel */
.floating-panel {
  position: fixed;
  right: 20px;
  bottom: 80px;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  width: 75px;
  text-align: center;
  z-index: 1000;
  overflow: visible;
}

.float-btn {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.float-btn.border-none {
  border-bottom: none;
}

.float-btn svg {
  width: 24px;
  height: 24px;
  margin-bottom: 6px;
  color: #999;
}

.float-btn:hover {
  background: #f8f9fa;
  color: #1a5cab;
}

.float-btn:hover svg {
  color: #1a5cab;
}

/* Hover QR popover (live site: QR appears beside 网站二维码) */
.float-qr-wrap {
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  outline: none;
}

.float-qr-wrap .float-btn {
  border-bottom: none;
}

.float-qr-popover {
  position: absolute;
  right: calc(100% - 4px);
  top: 50%;
  transform: translateY(-50%);
  padding: 5px;
  background: #fff;
  border: none;
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  z-index: 1001;
}

.float-qr-popover img {
  display: block;
  width: 170px;
  height: 170px;
  object-fit: contain;
  background: #fff;
}

.float-qr-wrap:hover .float-qr-popover,
.float-qr-wrap:focus-within .float-qr-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.float-qr-wrap:hover .float-btn--qr-trigger,
.float-qr-wrap:focus-within .float-btn--qr-trigger {
  background: #f8f9fa;
  color: #1a5cab;
}

.float-qr-wrap:hover .float-btn--qr-trigger svg,
.float-qr-wrap:focus-within .float-btn--qr-trigger svg {
  color: #1a5cab;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    margin: 0 auto;
  }

  .top-header {
    height: 75px;
    padding: 0;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .top-right,
  .search-container {
    display: none;
  }

  .logo-area {
    position: static;
    transform: none;
  }

  .logo-image img {
    height: 48px;
    width: auto;
    max-width: 70vw;
    object-fit: contain;
  }

  .navbar {
    height: auto;
    background-color: #464646;
    /* Match dark theme */
    padding: 0;
    position: relative;
    z-index: 1000;
  }

  .nav-container {
    flex-direction: column;
    padding: 0;
  }

  .nav-date {
    display: none;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .navbar.open .nav-menu {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu li a {
    padding: 15px 20px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    font-size: 15px;
  }

  .dropdown-menu {
    position: static;
    background-color: #333;
    box-shadow: none;
    display: none;
    padding-left: 15px;
  }

  .has-dropdown.active .dropdown-menu {
    display: block;
  }

  .mobile-menu-toggle {
    background-color: #5dbb8c;
    padding: 5px;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    border: none;
    cursor: pointer;
    z-index: 1002;
  }

  .mobile-menu-toggle span {
    background-color: #fff;
    height: 2px;
    width: 100%;
    border-radius: 2px;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #2b73c4;
  }

  .navbar.open .nav-menu {
    display: flex;
  }

  .nav-menu>li {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu>li>a {
    padding: 12px 15px;
    display: block;
    color: #fff;
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    background-color: #1a5cab;
    padding-left: 20px;
  }

  .has-dropdown.active .dropdown-menu {
    display: block;
  }

  .main-wrapper {
    flex-direction: column;
    padding-top: 10px;
    width: 100%;
    margin-top: 0;
  }

  .homepage-content {
    order: -1;
    /* Move hero and main content to top on mobile */
    width: 100%;
  }

  .left-sidebar {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
    box-sizing: border-box;
    padding: 0 10px;
  }

  .right-content {
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
  }

  .hero-banner {
    height: 180px;
    margin-bottom: 15px;
  }

  .intro-text-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .intro-book-cover {
    width: 250px;
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .hero-text {
    top: 20px;
    left: 20px;
  }

  .hero-text p {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .section-header {
    background: linear-gradient(90deg, #ecf8ff, #ffffff);
    border-bottom: none;
    padding: 8px 10px;
    margin-bottom: 10px;
    margin-top: 0;
  }

  .system-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .grid-btn {
    height: 58px;
    min-height: 58px;
    padding: 0 20px;
    font-size: 15px;
    width: 100%;
    margin-bottom: 4px;
  }

  .home-section {
    margin-bottom: 30px;
  }

  .intro-text p {
    font-size: 14.5px;
    line-height: 1.85;
    margin-bottom: 15px;
  }

  .tabs-header {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 5px;
    /* for scrollbar */
  }

  .tabs-header::-webkit-scrollbar {
    height: 4px;
  }

  .tabs-header::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 2px;
  }

  .tabs-header .tab {
    flex-shrink: 0;
    padding: 10px 15px;
  }

  .metadata-table td {
    display: block;
    width: 100% !important;
    padding: 12px 0;
  }

  .metadata-table td.m-key {
    border-bottom: none;
    padding-bottom: 4px;
    white-space: normal;
    color: #333;
    font-weight: 500;
  }

  .metadata-table td.m-value {
    padding-top: 0;
  }

  .grid-btn__icon img {
    width: 22px;
    height: 22px;
  }

  .article-item {
    padding: 15px 5px;
  }

  .main-footer {
    padding: 30px 15px;
    text-align: left;
  }

  .floating-panel {
    display: none;
  }
}

@media (max-width: 600px) {
  .system-grid {
    grid-template-columns: 1fr;
  }
}