/**
 * Reference Website Style CSS - Modern Version
 * Visual system adapted for the official-like demo site of Literature Youth.
 * Modern implementation with enhanced styling
 */

/*
 * 站点标题专用书法字体。字体文件随站点发布，避免依赖访客电脑的本地字体。
 * Zhi Mang Xing is licensed under the SIL Open Font License, Version 1.1.
 */
@font-face {
  font-family: "Zhi Mang Xing";
  src: url("../fonts/ZhiMangXing-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* ============================================
   CSS Variables - Modern Color Scheme
   ============================================ */
:root {
  --ref-primary: #176e80; /* 封面湖蓝 */
  --ref-primary-dark: #175466; /* 湖蓝深色 */
  --ref-primary-light: #e7f6f2; /* 薄荷浅色背景 */
  --ref-secondary: #ef8b68; /* 封面暖橙 */
  --ref-accent: #ef8b68; /* 温暖珊瑚色强调 */
  --ref-text: #202124; /* Main text color */
  --ref-text-light: #5f6368; /* Secondary text */
  --ref-border: #dadce0; /* Border color */
  --ref-bg: #f4fbf8; /* Background */
  --ref-white: #ffffff;
  --ref-success: #1ca01a; /* Green for dates */
  --ref-shadow: rgba(60, 64, 67, 0.1);
  --ref-shadow-hover: rgba(60, 64, 67, 0.2);
}

/* ============================================
   Base Reset & Typography
   ============================================ */

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ref-text);
  background-color: #fffaf2;
  --home-bg-side-width: min(50vw, 66.6667vh);
  --home-bg-art-height: calc(var(--home-bg-side-width) * 1.5);
  background-image:
    radial-gradient(circle at 50% 4%, rgba(127, 213, 210, 0.24) 0 9%, transparent 35%),
    linear-gradient(180deg, #edfaf6 0, #fffaf2 46%, #fffaf2 100%);
  background-position: center top;
  background-repeat: repeat;
  background-size: 100% 100%;
  background-attachment: fixed;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  top: 0;
  width: var(--home-bg-side-width);
  height: var(--home-bg-art-height);
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 18%, rgba(255, 195, 150, 0.28) 0 8%, transparent 8.5%),
    radial-gradient(circle at 72% 30%, rgba(75, 171, 176, 0.18) 0 5%, transparent 5.5%);
  background-repeat: no-repeat;
  background-size: 200% 100%;
}

body::before {
  left: 0;
  background-position: left top;
}

body::after {
  right: 0;
  background-position: right top;
}

body > * {
  position: relative;
  z-index: 1;
}

.wrapper {
  position: relative;
  z-index: 1;
}

a {
  color: var(--ref-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ref-primary-dark);
  text-decoration: none;
}

img {
  border: 0;
  max-width: 100%;
  height: auto;
}

/* ============================================
   Layout Containers
   ============================================ */
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header-top {
  width: 100%;
  border-bottom: 1px solid var(--ref-border);
  padding: 15px 0;
}

.header-top .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  height: 70px;
}

.header-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.header-logo img {
  height: 70px;
  width: auto;
  transition: transform 0.3s ease;
}

.header-logo img:hover {
  transform: scale(1.02);
}

.header-tel {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ref-primary);
}

.header-tel .tel-label {
  font-size: 16px;
  color: var(--ref-primary);
  font-weight: 600;
  letter-spacing: 1px;
}

.header-tel .tel-number {
  font-size: 16px;
  font-weight: 600;
}

/* ============================================
   Homepage
   ============================================ */
.home-hero {
  position: relative;
  isolation: isolate;
  min-height: 210px;
  overflow: hidden;
  background: transparent;
  border-bottom: 1px solid #cde9e4;
}

.home-hero::before {
  content: none;
}

.home-hero-inner {
  max-width: 1200px;
  min-height: 230px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.home-brand {
  position: relative;
  flex: 0 0 730px;
  width: 730px;
  height: 110px;
}

.home-brand img {
  position: absolute;
  top: 50%;
  display: block;
  width: 118px;
  height: 118px;
  max-width: none;
  object-fit: cover;
  object-position: left center;
  transform: translateY(-50%);
}

.home-brand-copy {
  position: absolute;
  top: 50%;
  left: 122px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateY(-50%);
}

.home-brand-title {
  display: block;
  color: #175466;
  font-family:
    "Zhi Mang Xing", "STXingkai", "FZKai-Z03", "KaiTi", "STKaiti", cursive;
  font-size: 82px;
  font-weight: 900;
  letter-spacing: 5px;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.72);
}

.home-brand-pinyin {
  margin-left: 8px;
  margin-top: 12px;
  color: #176e80;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1.8px;
  line-height: 1;
  white-space: nowrap;
}

.home-brand-edition {
  margin-top: 9px;
  padding: 3px 12px;
  border: 1px solid rgba(239, 139, 104, 0.45);
  border-radius: 999px;
  color: #aa5b42;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  background: rgba(255, 239, 224, 0.8);
}

.home-search {
  margin-top: 170px;
  display: flex;
  width: min(100%, 240px);
  height: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(72, 158, 164, 0.42);
  border-radius: 4px;
}

.home-search input {
  min-width: 0;
  flex: 1;
  padding: 0 10px;
  border: 0;
  outline: 0;
  color: #58718a;
  font-size: 13px;
  background: transparent;
}

.home-search button {
  width: 34px;
  padding: 0;
  border: 0;
  color: #55728a;
  font: inherit;
  cursor: pointer;
  background: transparent;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.home-search button:hover {
  color: var(--ref-primary);
  background: rgba(31, 78, 121, 0.07);
}

.homepage-main {
  max-width: 1200px;
  margin: 28px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 26px;
  align-items: start;
}

.home-main-body {
  align-items: flex-start;
}

.home-news-sidebar {
  width: 260px;
}

.main-content.home-main-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.home-page-content {
  padding: 25px 50px 35px;
}

/* Journal contents, archive, issue and article presentation. */
.home-intro-card,
.home-journal-guide {
  margin: 0;
}

.home-intro-card,
.home-journal-guide--card {
  overflow: hidden;
  border: 1px solid #d8e3ec;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 9px var(--ref-shadow);
}

.home-journal-guide--card {
  display: flex;
  flex-direction: column;
  height: 574px;
  padding: 20px 22px 18px;
}

.home-journal-guide__header,
.catalog-page__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.home-journal-guide__header {
  align-items: flex-start;
}

.home-journal-guide__header h2,
.catalog-page h1,
.catalog-section h2,
.issue-page h2,
.article-page section h2,
.article-facts h2 {
  margin: 0;
  color: var(--ref-primary);
  font-size: 18px;
  font-weight: 600;
}

.home-journal-guide__header h2 i,
.catalog-page h1 i,
.catalog-section h2 i,
.issue-page h2 i,
.article-page section h2 i,
.article-facts h2 i {
  margin-right: 7px;
}

.home-journal-guide__header p,
.catalog-page__header p {
  margin: 5px 0 0;
  color: var(--ref-text-light);
  font-size: 12px;
}

.home-journal-guide__header > a {
  flex: 0 0 auto;
  font-size: 13px;
}

.home-guide-tabs {
  flex: 0 0 auto;
  display: flex;
  gap: 6px;
  margin-top: 16px;
  border-bottom: 1px solid #dbe7f0;
}

.home-guide-tabs button {
  padding: 8px 11px;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--ref-text-light);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  background: transparent;
}

.home-guide-tabs button[aria-selected="true"] {
  border-bottom-color: var(--ref-primary);
  color: var(--ref-primary);
  font-weight: 600;
}

.home-guide-panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-top: 8px;
}

.home-guide-current-issue {
  margin: 0 0 8px;
  color: var(--ref-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.home-guide-article-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-guide-article-list > li:not(.home-guide-column) {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  padding: 10px 2px;
  border-bottom: 1px solid #edf1f4;
}

.home-guide-article-list > li > span {
  color: var(--ref-primary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
}

.home-guide-article-list a {
  display: block;
  overflow: hidden;
  color: var(--ref-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-guide-article-list a:hover {
  color: var(--ref-primary);
}
.home-guide-article-list small {
  display: block;
  margin-top: 2px;
  color: var(--ref-text-light);
  font-size: 12px;
  line-height: 1.55;
}

.home-guide-article-author {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-guide-article-title {
  display: block;
  overflow: hidden;
  color: var(--ref-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-guide-article-meta {
  display: flex !important;
  flex-wrap: wrap;
  gap: 2px 12px;
}

.home-guide-article-meta > span {
  white-space: nowrap;
}

.home-guide-article-list small .home-guide-cnki-link {
  display: inline;
  color: var(--ref-primary);
  font-size: inherit;
  font-weight: inherit;
  text-decoration: underline;
  white-space: nowrap;
}

.home-guide-article-list small .home-guide-cnki-link:hover {
  color: var(--ref-primary);
}
.home-guide-column {
  margin-top: 8px;
  padding: 6px 9px;
  border-left: 3px solid var(--ref-primary);
  color: var(--ref-primary);
  font-size: 13px;
  font-weight: 600;
  background: var(--ref-primary-light);
}
.home-guide-archive {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 16px;
  padding: 8px 4px 16px;
}
.home-guide-archive a {
  display: block;
  color: var(--ref-text);
  text-align: center;
}
.home-guide-archive__cover {
  display: block;
  width: 100%;
  max-width: 180px;
  aspect-ratio: 810 / 1081;
  margin: 0 auto 10px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(42, 78, 110, 0.22);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.home-guide-archive a:hover .home-guide-archive__cover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(42, 78, 110, 0.28);
}
.home-guide-archive span {
  display: block;
  overflow: hidden;
  color: #173b62;
  font-size: 14px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-guide-article-list--ranked > li > span {
  color: #be7b16;
}

.catalog-page,
.issue-page,
.article-page {
  padding: 25px 50px 38px;
}
.catalog-page__header {
  margin-bottom: 25px;
  padding-bottom: 14px;
  border-bottom: 2px solid #e7f6f2;
}
.catalog-page h1 {
  font-size: 21px;
}
.catalog-page__filter {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ref-text-light);
  font-size: 13px;
}
.catalog-page__filter select {
  max-width: 260px;
  padding: 7px 28px 7px 9px;
  border: 1px solid #cfdbe5;
  color: var(--ref-text);
  font: inherit;
  background: #fff;
}
.catalog-section + .catalog-section {
  margin-top: 30px;
}
.catalog-section h2,
.issue-page__contents > h2 {
  padding-bottom: 11px;
  border-bottom: 2px solid #e7f6f2;
  font-size: 17px;
}
.catalog-latest {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 16px;
  padding: 17px;
  border: 1px solid #cbdfea;
  border-left: 4px solid var(--ref-primary);
  color: var(--ref-text);
  background: #f8fbfd;
}
.catalog-latest:hover {
  border-color: var(--ref-primary);
  box-shadow: 0 2px 9px var(--ref-shadow);
}
.catalog-latest__tag {
  flex: 0 0 auto;
  padding: 4px 8px;
  color: #fff;
  font-size: 12px;
  background: var(--ref-primary);
}
.catalog-latest__cover {
  display: block;
  width: 180px;
  max-width: 100%;
  max-height: 320px;
  flex: 0 0 auto;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(42, 78, 110, 0.22);
}
.catalog-latest__content {
  min-width: 0;
  flex: 1;
}
.catalog-latest strong,
.catalog-latest small {
  display: block;
}
.catalog-latest strong {
  font-size: 16px;
}
.catalog-latest small {
  margin-top: 5px;
  color: var(--ref-text-light);
  font-size: 12px;
}
.catalog-latest > i {
  color: var(--ref-primary);
  font-size: 20px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 16px;
}
.catalog-issue-card {
  display: block;
  min-height: 102px;
  padding: 16px;
  border: 1px solid #d8e3ec;
  color: var(--ref-text);
  background: #fff;
}
.catalog-issue-card__cover {
  display: block;
  width: 180px;
  max-width: 100%;
  max-height: 360px;
  margin: 0 auto 14px;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(42, 78, 110, 0.18);
}
.catalog-issue-card:hover {
  border-color: var(--ref-primary);
  box-shadow: 0 3px 10px var(--ref-shadow);
}
.catalog-issue-card__year {
  display: block;
  color: var(--ref-primary);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}
.catalog-issue-card strong {
  display: block;
  margin-top: 9px;
  font-size: 14px;
}
.catalog-issue-card small {
  display: block;
  margin-top: 7px;
  color: var(--ref-text-light);
  font-size: 12px;
}
.journal-empty {
  padding: 30px 18px;
  border: 1px dashed #cbd6de;
  color: var(--ref-text-light);
  text-align: center;
}
.journal-empty i {
  display: block;
  margin-bottom: 7px;
  color: #a7bbc9;
  font-size: 28px;
}
.journal-empty--compact {
  padding: 24px 16px;
  margin-top: 7px;
}

.issue-page__header {
  padding-bottom: 18px;
  border-bottom: 2px solid #e7f6f2;
}
.issue-page__header > p {
  margin: 0 0 8px;
  color: var(--ref-primary);
  font-size: 13px;
  font-weight: 600;
}
.issue-page__header > p i {
  margin-right: 6px;
}
.issue-page__header h1 {
  margin: 0;
  color: var(--ref-text);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.5;
}
.issue-page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 14px;
  color: var(--ref-text-light);
  font-size: 13px;
}
.issue-page__meta i {
  margin-right: 5px;
  color: var(--ref-primary);
}
.issue-page__description {
  margin-top: 18px;
  padding: 14px 17px;
  border-left: 3px solid var(--ref-primary);
  color: var(--ref-text-light);
  line-height: 1.85;
  background: #f7fafc;
}
.issue-page__contents {
  margin-top: 28px;
}
.issue-article-list {
  margin-top: 1px;
}
.issue-article-list h3 {
  margin: 18px 0 0;
  padding: 7px 10px;
  border-left: 3px solid var(--ref-primary);
  color: var(--ref-primary);
  font-size: 14px;
  background: var(--ref-primary-light);
}
.issue-article {
  padding: 16px 7px;
  border-bottom: 1px solid #e5edf2;
}
.issue-article > a,
.issue-article__title {
  display: block;
  color: var(--ref-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}
.issue-article > a:hover {
  color: var(--ref-primary);
}
.issue-article p {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 6px 0 0;
  color: var(--ref-text-light);
  font-size: 13px;
}
.issue-page__back,
.article-page__back {
  display: inline-block;
  margin-top: 24px;
  font-size: 13px;
}
.issue-page__back i,
.article-page__back i {
  margin-right: 5px;
}

.article-page__context {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 11px;
  margin-bottom: 14px;
  color: var(--ref-text-light);
  font-size: 13px;
}
.article-page__context i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #a4b3be;
}
.article-page > h1 {
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 2px solid #e7f6f2;
  color: var(--ref-text);
  font-size: 27px;
  font-weight: 600;
  line-height: 1.5;
}
.article-page__title-en {
  margin: 10px 0 0;
  color: var(--ref-text-light);
  font-size: 16px;
  line-height: 1.6;
}
.article-page__authors {
  margin: 17px 0 0;
  color: #42525e;
  font-size: 15px;
}
.article-page__authors span {
  display: block;
  margin-top: 5px;
  color: var(--ref-text-light);
  font-size: 13px;
}
.article-page__fund {
  margin: 10px 0 0;
  color: var(--ref-text-light);
  font-size: 13px;
  line-height: 1.8;
}
.article-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 28px;
  margin-top: 28px;
}
.article-page section {
  margin-bottom: 27px;
}
.article-page section h2 {
  padding-bottom: 10px;
  border-bottom: 2px solid #e7f6f2;
}
.article-page__abstract,
.article-page__keywords {
  margin-top: 14px;
  padding: 17px;
  border: 1px solid #dbe5ec;
  border-left: 3px solid var(--ref-primary);
  color: #40505c;
  line-height: 1.95;
  background: #fbfcfd;
}
.article-page__aside {
  align-self: start;
}
.article-facts {
  overflow: hidden;
  border: 1px solid #d3dfe7;
  background: #fff;
}
.article-facts h2 {
  padding: 11px 14px;
  border-left: 3px solid var(--ref-primary);
  border-bottom: 1px solid #dbe5ec;
  font-size: 15px;
  background: #f5f8fa;
}
.article-facts dl {
  margin: 0;
  padding: 14px;
}
.article-facts dl > div {
  padding-bottom: 11px;
  margin-bottom: 11px;
  border-bottom: 1px solid #e7edf1;
}
.article-facts dl > div:last-child {
  padding: 0;
  margin: 0;
  border: 0;
}
.article-facts dt {
  margin-bottom: 3px;
  color: var(--ref-text-light);
  font-size: 12px;
}
.article-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ref-text);
  font-size: 13px;
  font-weight: 500;
}
.article-facts dd i {
  margin-right: 4px;
  color: var(--ref-primary);
}
.article-page__download {
  display: block;
  margin-top: 12px;
  padding: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  background: var(--ref-primary);
}
.article-page__download:hover {
  color: #fff;
  background: var(--ref-primary-dark);
}
.article-page__download i {
  margin-right: 5px;
}

@media (max-width: 768px) {
  .home-page-content,
  .catalog-page,
  .issue-page,
  .article-page {
    padding: 22px 20px 28px;
  }

  .home-journal-guide--card {
    height: 520px;
    padding: 18px;
  }

  .catalog-page__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-guide-archive,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-page__layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .article-page__aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
  }
  .article-page__download {
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .home-guide-tabs {
    gap: 0;
    justify-content: space-between;
  }
  .home-guide-tabs button {
    padding-right: 6px;
    padding-left: 6px;
  }
  .home-guide-archive,
  .catalog-grid,
  .article-page__aside {
    grid-template-columns: 1fr;
  }
  .catalog-latest {
    align-items: flex-start;
    flex-direction: column;
  }
  .catalog-latest__cover {
    width: 180px;
  }
  .issue-page__header h1,
  .article-page > h1 {
    font-size: 21px;
  }
}

.home-panel {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(60, 64, 67, 0.08);
}

.home-panel-title {
  min-height: 48px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ref-primary);
  background: linear-gradient(90deg, #f7fafc, #fff);
  border-bottom: 1px solid #e4edf8;
}

.home-panel-title i {
  font-size: 19px;
}

.home-panel-title h1,
.home-panel-title h2 {
  margin: 0;
  color: inherit;
  font-size: 17px;
  font-weight: 600;
}

.home-intro {
  display: flex;
  flex-direction: column;
}

.home-journal-heading {
  margin: 0 24px 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
  color: var(--ref-primary);
  font-size: 22px;
  font-weight: 600;
}

.home-journal-heading i {
  margin-right: 8px;
}

.home-journal-overview {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 0;
  padding: 2px 12px 2px;
}

.home-journal-cover {
  margin-top: 10px;
  width: 191px;
  margin-left: 2px;
  border: 1px solid #d8e0e9;
  box-shadow: 0 3px 10px rgba(60, 64, 67, 0.18);
}

.home-journal-summary {
  min-width: 0;
}

.home-more-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  margin-top: -31px;
  color: var(--ref-primary);
  font-size: 13px;
}

.home-right-area {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 18px;
}

.sidebar-right.home-original-sidebar {
  width: 260px;
  min-width: 0;
}

.home-original-sidebar .sidebar-box {
  margin-bottom: 12px;
}

.home-original-sidebar .box-title i {
  margin-right: 6px;
}

.home-sidebar-content {
  padding: 15px;
}

.home-sidebar-content p {
  margin: 0 0 8px;
  color: var(--ref-text-light);
  font-size: 13px;
}

.home-sidebar-content p i {
  margin-right: 6px;
  color: var(--ref-primary);
}

.home-sidebar-submit,
.home-sidebar-query .modern-btn {
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
}

.home-sidebar-submit i,
.home-sidebar-query .modern-btn i {
  margin-right: 6px;
}

.home-sidebar-query {
  padding: 18px;
}

.home-sidebar-query label {
  display: block;
  margin-bottom: 6px;
  color: var(--ref-text-light);
  font-size: 13px;
  font-weight: 500;
}

.home-sidebar-query input {
  width: 100%;
  height: 40px;
  box-sizing: border-box;
  margin-bottom: 14px;
  padding: 0 12px;
  border: 1px solid var(--ref-border);
  border-radius: 8px;
  font: inherit;
}

.home-sidebar-query input:focus {
  outline: 0;
  border-color: var(--ref-primary);
  box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.1);
}

.home-sidebar-query .modern-btn {
  margin-top: 5px;
}

.home-download-list {
  margin: 0;
  padding: 7px 15px;
  list-style: none;
}

.home-download-list li {
  border-bottom: 1px dashed #e7ebf0;
}

.home-download-list li:last-child {
  border-bottom: 0;
}

.home-download-list a {
  display: block;
  padding: 9px 2px;
  color: var(--ref-text);
  font-size: 13px;
}

.home-download-list a:hover {
  color: var(--ref-primary);
}

.home-download-list i {
  margin-right: 7px;
  color: var(--ref-primary);
}

.home-visit-stats-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 14px 10px;
}

.home-visit-stats-list div {
  min-width: 0;
  padding: 2px 8px;
}

.home-visit-stats-list div + div {
  border-left: 1px solid #e6ebf0;
}

.home-visit-stats-list dt {
  color: var(--ref-text-light);
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
}

.home-visit-stats-list dt i {
  margin-right: 4px;
  color: var(--ref-primary);
}

.home-visit-stats-list dd {
  margin: 4px 0 0;
  color: var(--ref-primary);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.home-sidebar-news .sidebar-news-list dd a i {
  margin-right: 6px;
  color: var(--ref-primary);
  font-size: 8px;
  vertical-align: middle;
}

.home-sidebar-news .box-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.home-sidebar-news .box-title > span {
  white-space: nowrap;
}

.home-sidebar-news .box-title > span i {
  margin-right: 6px;
}

.home-sidebar-news-more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--ref-primary);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.home-sidebar-news-more:hover {
  color: var(--ref-secondary);
}

.home-friendly-links-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-friendly-links-list li {
  border-bottom: 1px solid #edf0f3;
}

.home-friendly-links-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: var(--ref-text);
  font-size: 14px;
  line-height: 1.45;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    padding 0.2s ease;
}

.home-friendly-links-list a:hover {
  padding-left: 20px;
  color: var(--ref-primary);
  background: var(--ref-primary-light);
}

.home-friendly-links-list a i {
  width: 16px;
  flex: 0 0 16px;
  color: var(--ref-primary);
  font-size: 16px;
  text-align: center;
}

.home-submit-card {
  min-height: 112px;
  padding: 18px 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    var(--ref-primary),
    var(--ref-primary-dark)
  );
  box-shadow: 0 3px 12px rgba(31, 78, 121, 0.24);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.home-submit-card:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(31, 78, 121, 0.3);
}

.home-submit-card > i {
  margin-bottom: 3px;
  font-size: 27px;
}

.home-submit-card span {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 2px;
}

.home-submit-card small {
  margin-top: 4px;
  opacity: 0.84;
  font-size: 12px;
}

.home-lower-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.home-query-panel,
.home-news-panel {
  min-width: 0;
}

.home-query-form {
  padding: 14px 16px 16px;
}

.home-query-form label {
  display: block;
  margin: 0 0 4px;
  color: var(--ref-text-light);
  font-size: 12px;
}

.home-query-form input {
  width: 100%;
  height: 34px;
  box-sizing: border-box;
  margin-bottom: 9px;
  padding: 0 9px;
  border: 1px solid var(--ref-border);
  outline: 0;
  color: var(--ref-text);
  font: inherit;
}

.home-query-form input:focus {
  border-color: var(--ref-primary);
  box-shadow: 0 0 0 2px rgba(31, 78, 121, 0.12);
}

.home-query-form .modern-btn {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--ref-primary);
  box-shadow: none;
}

.home-query-form .modern-btn:hover {
  background: var(--ref-primary-dark);
  transform: none;
  box-shadow: none;
}

.home-news-list {
  margin: 0;
  padding: 7px 15px;
}

.home-news-list dd {
  overflow: hidden;
  margin: 0;
  border-bottom: 1px dashed #e7edf4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-news-list dd:last-child {
  border-bottom: 0;
}

.home-news-list dd a {
  display: block;
  overflow: hidden;
  padding: 8px 0;
  color: var(--ref-text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-news-list dd a::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 7px 2px 0;
  border-radius: 50%;
  background: var(--ref-primary);
}

.home-news-list dd a:hover {
  color: var(--ref-primary);
}

.home-news-list dd .news-is-top::before {
  background: #d93025;
}

.home-news-list .news-is-top::after {
  display: none;
}

.home-news-more {
  display: block;
  padding: 8px 15px 12px;
  border-top: 1px solid #edf1f7;
  color: var(--ref-primary);
  font-size: 12px;
  text-align: right;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-journal-details {
  padding: 0 24px 10px;
}

.home-section-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 4px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e7f6f2;
  color: var(--ref-primary);
}

.home-section-heading i {
  font-size: 18px;
}

.home-section-heading h2 {
  margin: 0;
  color: inherit;
  font-size: 16px;
}

.home-journal-info-grid {
  display: flex;
  flex-direction: column;
}

.home-journal-info-grid div {
  min-width: 0;
  padding: 6px 0 5px 0px;
  border-bottom: 1px solid #edf1f5;
  font-size: 14px;
  line-height: 1.6;
}

.home-journal-info-grid div:last-child {
  border-bottom: 0;
}

.home-journal-info-grid span {
  color: var(--ref-text-light);
}

.home-journal-info-grid strong {
  margin-left: 6px;
  color: var(--ref-text);
  font-weight: 600;
}

.home-journal-indexing-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  vertical-align: middle;
}

.home-journal-info-grid .home-journal-indexing-tags span {
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--ref-primary);
  background: var(--ref-primary-light);
  font-size: 12px;
  line-height: 1.5;
}

.home-columns-heading {
  margin-top: 8px;
}

.home-columns-list {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: center;
  gap: 10px 25px;
}

.home-columns-list span {
  padding: 7px 15px;
  border-radius: 18px;
  color: var(--ref-primary);
  background: var(--ref-primary-light);
  font-size: 13px;
  text-align: center;
}

.home-contact-card {
  margin-top: 29px;
  padding: 18px;
  border-left: 4px solid #ff9800;
  border-radius: 10px;
  background: #fff3e0;
}

.home-contact-card h2 {
  margin: 0 0 10px;
  color: #e65100;
  font-size: 14px;
}

.home-contact-card p {
  margin: 5px 0;
  color: var(--ref-text-light);
  font-size: 13px;
}

/* ============================================
   Author Center
   ============================================ */
.author-center-content {
  padding: 28px 32px 32px;
}

.author-center-main .breadcrumb i {
  margin-right: 4px;
}

.author-center-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #dce5ec;
}

.author-center-kicker {
  display: block;
  margin-bottom: 6px;
  color: #688093;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.author-center-header h1 {
  margin: 0;
  color: var(--ref-primary-dark);
  font-size: 28px;
  font-weight: 650;
  line-height: 1.3;
}

.author-center-header p {
  margin: 7px 0 0;
  color: var(--ref-text-light);
  font-size: 14px;
}

.author-submit-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 5px;
  color: #fff;
  background: linear-gradient(
    115deg,
    #176e80,
    #126c96 48%,
    #087f8c 75%,
    #176e80
  );
  background-size: 250% 100%;
  box-shadow: 0 4px 14px rgba(18, 108, 150, 0.3);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.author-submit-button::before {
  content: "";
  position: absolute;
  inset: -50% auto -50% -65%;
  width: 45%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.32),
    transparent
  );
  transform: skewX(-22deg) translateX(0);
  animation: author-submit-shine 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.author-submit-button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(140, 244, 237, 0.48) 0%,
    rgba(140, 244, 237, 0) 68%
  );
  transform: translateY(-50%) scale(0.65);
  animation: author-submit-beacon 2.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.author-submit-button i,
.author-submit-button > span {
  position: relative;
  z-index: 1;
}

.author-submit-button i {
  transition: transform 0.3s ease;
}

.author-submit-button > span {
  animation: author-submit-copy 3.4s ease-in-out infinite;
}

.author-submit-button.is-animated {
  animation: author-submit-entry 0.72s cubic-bezier(0.2, 0.85, 0.3, 1.3) both;
}

.author-submit-button.is-floating {
  animation: author-submit-float 3.8s ease-in-out infinite;
}

.author-submit-button:hover,
.author-submit-button:focus-visible {
  color: #fff;
  transform: translateY(-3px);
}

.author-submit-button:hover i:first-child,
.author-submit-button:focus-visible i:first-child {
  transform: translate(2px, -3px) rotate(-12deg) scale(1.15);
}

.author-submit-button:hover i:last-child,
.author-submit-button:focus-visible i:last-child {
  transform: translate(3px, -3px);
}

.author-submit-button:focus-visible {
  outline: 3px solid #16879a;
  outline-offset: 4px;
}

.author-submit-button:active {
  transform: translateY(0) scale(0.97);
}

@keyframes author-submit-entry {
  0% {
    opacity: 0;
    transform: translateX(42px) scale(0.76);
    filter: saturate(0.65) brightness(1.25);
  }
  68% {
    opacity: 1;
    transform: translateX(-5px) scale(1.055);
    filter: saturate(1.16) brightness(1.08);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: saturate(1) brightness(1);
  }
}

@keyframes author-submit-float {
  0%,
  100% {
    background-position: 0% 50%;
    box-shadow:
      0 4px 14px rgba(18, 108, 150, 0.3),
      0 0 0 0 rgba(8, 127, 140, 0);
    transform: translateY(0);
  }
  50% {
    background-position: 100% 50%;
    box-shadow:
      0 9px 25px rgba(18, 108, 150, 0.44),
      0 0 0 5px rgba(8, 127, 140, 0.1);
    transform: translateY(-3px);
  }
}

@keyframes author-submit-shine {
  0%,
  25% {
    transform: skewX(-22deg) translateX(0);
  }
  65%,
  100% {
    transform: skewX(-22deg) translateX(420%);
  }
}

@keyframes author-submit-beacon {
  0%,
  100% {
    opacity: 0.15;
    transform: translateY(-50%) scale(0.65);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-50%) scale(1.15);
  }
}

@keyframes author-submit-copy {
  0%,
  100% {
    text-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    text-shadow: 0 0 12px rgba(228, 255, 255, 0.62);
  }
}

.author-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
  border-top: 1px solid #dce5ec;
  border-bottom: 1px solid #dce5ec;
  background: #f8fafb;
}

.author-tool {
  min-width: 0;
  padding: 24px;
}

.author-tool + .author-tool {
  border-left: 1px solid #dce5ec;
}

.author-tool-icon,
.author-query-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 5px;
  color: #2d6e9d;
  background: #e2eff8;
  font-size: 20px;
}

.author-tool-template .author-tool-icon {
  color: #2f7d58;
  background: #e0f1e8;
}

.author-tool-query .author-tool-icon {
  color: #98691f;
  background: #f8ebcf;
}

.author-tool h2 {
  margin: 14px 0 8px;
  color: var(--ref-primary-dark);
  font-size: 17px;
  font-weight: 650;
}

.author-tool p {
  min-height: 62px;
  margin: 0 0 16px;
  color: var(--ref-text-light);
  font-size: 13px;
  line-height: 1.75;
}

.author-tool > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ref-primary);
  font-size: 13px;
  font-weight: 600;
}

.author-tool > a:hover {
  color: var(--ref-primary-dark);
}

.author-query-panel {
  margin-top: 24px;
  padding: 24px;
  border-left: 3px solid var(--ref-primary);
  background: #f3f7fa;
  scroll-margin-top: 16px;
}

.author-query-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-query-heading h2 {
  margin: 0;
  color: var(--ref-primary-dark);
  font-size: 18px;
  font-weight: 650;
}

.author-query-heading p {
  margin: 4px 0 0;
  color: var(--ref-text-light);
  font-size: 13px;
}

.author-query-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 100px;
  align-items: end;
  gap: 12px;
  margin-top: 20px;
}

.author-query-field label {
  display: block;
  margin-bottom: 6px;
  color: #4d6172;
  font-size: 13px;
  font-weight: 600;
}

.author-query-field input {
  width: 100%;
  height: 42px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 1px solid #cbd8e2;
  border-radius: 5px;
  outline: none;
  background: #fff;
  font: inherit;
}

.author-query-field input:focus {
  border-color: var(--ref-primary);
  box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.1);
}

.author-query-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: var(--ref-primary);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.author-query-demo {
  margin: 13px 0 0;
  padding: 9px 12px;
  border-radius: 8px;
  color: #7a6047;
  background: #fff7ea;
  font-size: 13px;
  line-height: 1.6;
}

.author-query-demo i {
  margin-right: 6px;
  color: var(--ref-secondary);
}

.author-query-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.author-query-result {
  margin-top: 14px;
  padding: 11px 13px;
  border: 1px solid #d4dee6;
  border-radius: 4px;
  background: #fff;
  color: #4d6172;
  font-size: 13px;
  line-height: 1.65;
}

.author-query-result.is-success {
  border-color: #b9d9c7;
  color: #256746;
  background: #eef8f3;
}

.author-query-result.is-error {
  border-color: #e6c5c1;
  color: #a33a31;
  background: #fff5f4;
}

.author-contact-strip {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 22px;
  padding: 13px 16px;
  border-top: 1px solid #dce5ec;
  border-bottom: 1px solid #dce5ec;
  color: var(--ref-text-light);
  font-size: 13px;
}

.author-contact-strip span {
  color: var(--ref-primary-dark);
  font-weight: 650;
}

.author-contact-strip i {
  margin-right: 6px;
}

.author-contact-strip a {
  color: var(--ref-primary);
}

/* Navigation */
.nav-wrapper {
  width: 100%;
  background: linear-gradient(
    135deg,
    var(--ref-primary) 0%,
    var(--ref-primary-dark) 100%
  );
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(31, 78, 121, 0.3);
}

.nav-menu {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.nav-menu li {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 55px;
  padding: 12px 26px;
  box-sizing: border-box;
  color: var(--ref-white);
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  position: relative;
  isolation: isolate;
  text-shadow: 0 1px 1px rgba(6, 30, 56, 0.28);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
  letter-spacing: 0.3px;
}

.nav-menu > li > a:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(7, 39, 73, 0.18);
  text-decoration: none;
}

.nav-menu > li.current > a {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.18) 48%,
    rgba(7, 49, 89, 0.22) 100%
  );
  color: #ffffff;
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 1px 0 0 rgba(255, 255, 255, 0.16),
    inset -1px 0 0 rgba(6, 34, 64, 0.18),
    inset 0 -3px 0 rgba(4, 35, 66, 0.4),
    0 5px 10px rgba(4, 34, 63, 0.2);
  text-shadow: 0 1px 1px rgba(4, 27, 52, 0.45);
  text-decoration: none;
  z-index: 1;
}

.nav-menu > li.current > a::before {
  content: "";
  position: absolute;
  top: 4px;
  right: 9px;
  left: 9px;
  height: 1px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.nav-menu > li.current > a:hover {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.34) 0%,
    rgba(255, 255, 255, 0.22) 48%,
    rgba(7, 49, 89, 0.25) 100%
  );
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -3px 0 rgba(4, 35, 66, 0.42),
    0 7px 13px rgba(4, 34, 63, 0.24);
}

.nav-menu > li > a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: -4px;
  z-index: 2;
}

/* Dropdown Submenu */
.nav-menu li .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--ref-white);
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 20px var(--ref-shadow-hover);
  display: none;
  z-index: 101;
  overflow: hidden;
}

.nav-menu li:hover .submenu {
  display: block;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-menu li .submenu a {
  display: block;
  padding: 12px 20px;
  color: var(--ref-text);
  font-size: 14px;
  font-weight: 400;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
}

.nav-menu li .submenu a:last-child {
  border-bottom: none;
}

.nav-menu li .submenu a:hover {
  background: var(--ref-primary-light);
  color: var(--ref-primary);
  padding-left: 25px;
}

/* ============================================
   Main Body Layout
   ============================================ */
.main-body {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
  display: flex;
  gap: 25px;
}

.main-body.home-main-body {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 260px;
  grid-template-areas: "left main right";
  gap: 12px 14px;
}

.home-main-body > .home-news-sidebar {
  grid-area: left;
}

.home-main-body > .home-main-content {
  grid-area: main;
  align-self: stretch;
}

.home-main-body > .home-original-sidebar {
  grid-area: right;
  align-self: start;
}

.home-news-sidebar .sidebar-box:last-child,
.home-original-sidebar .sidebar-box:last-child {
  margin-bottom: 0;
}

/* Homepage submission-system entrances */
.home-role-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.home-role-action {
  --role-color: #2d6e9d;
  --role-border: #bdd3e4;
  --role-bg: #edf5fb;
  --role-icon-bg: #dcecf7;
  position: relative;
  min-width: 0;
  height: 68px;
  box-sizing: border-box;
  padding: 0 14px 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  border: 1px solid var(--role-border);
  border-radius: 6px;
  color: var(--role-color);
  background: var(--role-bg);
  box-shadow: 0 1px 3px rgba(43, 66, 83, 0.1);
  font-size: 16px;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  animation: home-role-enter 0.5s ease-out both;
}

.home-role-action::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--role-color);
}

.home-role-action::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -38%;
  width: 24%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.58) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  transform: skewX(-18deg);
  animation: home-role-shimmer 6.2s ease-in-out infinite 1.4s;
}

.home-role-action > i:first-child {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--role-border);
  border-radius: 5px;
  color: var(--role-color);
  background: var(--role-icon-bg);
  font-size: 19px;
  transition: transform 0.25s ease;
}

.home-role-action span {
  position: relative;
  z-index: 1;
  flex: 1;
  white-space: nowrap;
}

.home-role-action .home-role-action-arrow {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  color: var(--role-color);
  font-size: 17px;
  opacity: 0.68;
  transition: transform 0.2s ease;
}

.home-role-action:hover {
  border-color: var(--role-color);
  color: var(--role-color);
  background: #fff;
  box-shadow: 0 3px 9px rgba(43, 66, 83, 0.14);
  transform: translateY(-2px);
}

.home-role-action:hover .home-role-action-arrow {
  transform: translate(2px, -2px);
}

.home-role-action:hover > i:first-child {
  transform: scale(1.08) rotate(-5deg);
}

.home-role-action:focus-visible {
  outline: 3px solid rgba(31, 78, 121, 0.3);
  outline-offset: 3px;
}

.home-role-reviewer {
  --role-color: #2f7d58;
  --role-border: #b9d9c7;
  --role-bg: #eef8f3;
  --role-icon-bg: #dcefe5;
  animation-delay: 0.08s;
}

.home-role-editor {
  --role-color: #98691f;
  --role-border: #e5cea3;
  --role-bg: #fff7e8;
  --role-icon-bg: #f8e9c9;
  animation-delay: 0.16s;
}

.home-role-reviewer::after {
  animation-delay: 3.45s;
}

.home-role-editor::after {
  animation-delay: 5.5s;
}

@keyframes home-role-enter {
  from {
    opacity: 0;
    transform: translateY(7px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-role-shimmer {
  0%,
  72%,
  100% {
    left: -38%;
    opacity: 0;
  }

  76% {
    opacity: 0.7;
  }

  88% {
    left: 116%;
    opacity: 0;
  }
}

/* Left Sidebar */
.sidebar-left {
  width: 260px;
  flex-shrink: 0;
}

/* Right Sidebar */
.sidebar-right {
  width: 300px;
  flex-shrink: 0;
}

.sidebar-box {
  border: 1px solid var(--ref-border);
  margin-bottom: 12px;
  background: var(--ref-white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px var(--ref-shadow);
  transition: box-shadow 0.3s ease;
}

.sidebar-box:hover {
  box-shadow: 0 4px 12px var(--ref-shadow);
}

.sidebar-box .box-title {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8eaed 100%);
  border-bottom: 1px solid var(--ref-border);
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ref-primary);
}

/* News list in sidebar */
.sidebar-news-list {
  padding: 10px 15px;
}

.sidebar-news-list dt {
  font-size: 12px;
  color: var(--ref-text-light);
  line-height: 18px;
  margin-top: 8px;
}

.sidebar-news-list dd {
  margin: 0;
  line-height: 28px;
  border-bottom: 1px dotted #eee;
  font-size: 13px;
}

.sidebar-news-list dd:last-child {
  border-bottom: none;
}

.sidebar-news-list dd a {
  color: var(--ref-text);
  display: block;
  padding: 5px 0;
  transition: all 0.2s ease;
}

.sidebar-news-list dd a:hover {
  color: var(--ref-primary);
  padding-left: 5px;
}

/* Pinned news stands out in every latest-news list. */
.news-is-top {
  color: #d93025 !important;
  font-weight: 600;
}

.news-is-top::after {
  content: "置顶";
  display: inline-block;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 3px;
  background: #fce8e6;
  color: #d93025;
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
  vertical-align: middle;
}

/* Homepage latest-news panel: keep pinned items readable while the rest cycles. */
.home-sidebar-news {
  min-height: 390px;
}

.home-sidebar-news-content {
  min-height: 296px;
}

/* 征稿政策首页卡片仅展示 6 条，不沿用资讯卡片的 7 条最小高度。 */
.home-policy-panel {
  min-height: 431px;
}

.home-policy-panel .home-sidebar-news-content {
  min-height: 0;
}

.home-sidebar-news .sidebar-news-list {
  margin: 0;
}

.home-sidebar-news .sidebar-news-list dd {
  min-height: 39px;
  box-sizing: border-box;
}

.home-sidebar-news .sidebar-news-list dd a {
  overflow: hidden;
  padding: 5px 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-sidebar-news .news-is-top {
  color: var(--ref-primary) !important;
  font-weight: 700;
}

.home-sidebar-news .news-is-top::after {
  background: var(--ref-primary-light);
  color: var(--ref-primary);
  font-weight: 600;
}

/* Keep pinned items on the news page aligned with the site's primary blue. */
.news-page-body .news-is-top {
  color: var(--ref-primary) !important;
  font-weight: 700;
}

.news-page-body .news-is-top::after {
  background: var(--ref-primary-light);
  color: var(--ref-primary);
  font-weight: 600;
}

.home-news-pinned-list {
  border-bottom: 1px solid #dbe7f1;
  background: #f8fbfe;
}

.home-news-scroll {
  height: 250px;
  overflow: hidden;
}

.home-news-scroll-track {
  position: relative;
  top: 0;
}

.home-news-scroll-track.is-stepped {
  transition: top 0.5s ease-out;
}

/* Search box */
.search-box {
  padding: 15px;
}

.search-box form {
  display: flex;
  gap: 8px;
}

.search-box input[type="text"] {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--ref-border);
  border-radius: 6px;
  font-size: 13px;
  transition: all 0.2s ease;
}

.search-box input[type="text"]:focus {
  outline: none;
  border-color: var(--ref-primary);
  box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.1);
}

.search-box input[type="submit"] {
  height: 38px;
  padding: 0 16px;
  background: var(--ref-primary);
  border: none;
  border-radius: 6px;
  color: var(--ref-white);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-box input[type="submit"]:hover {
  background: var(--ref-primary-dark);
}

/* Latest-news search page */
.news-search-page > h1 {
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ref-primary-light);
  color: var(--ref-primary);
  font-size: 20px;
  font-weight: 600;
}

.news-search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.news-search-form input[type="text"] {
  min-width: 0;
  flex: 1;
  height: 40px;
  padding: 0 13px;
  border: 1px solid var(--ref-border);
  border-radius: 6px;
  color: var(--ref-text);
  font: inherit;
}

.news-search-form input[type="text"]:focus {
  outline: 0;
  border-color: var(--ref-primary);
  box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.1);
}

.news-search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 84px;
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font: inherit;
  cursor: pointer;
  background: var(--ref-primary);
}

.news-search-form button:hover {
  background: var(--ref-primary-dark);
}

.news-search-count {
  margin-bottom: 8px;
  color: var(--ref-text-light);
  font-size: 13px;
}

.article-list td.title .news-search-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 2px 0 7px 26px;
  color: var(--ref-text-light);
  font-size: 13px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-search-empty {
  padding: 55px 20px;
  color: var(--ref-text-light);
  text-align: center;
}

.news-search-empty i {
  display: block;
  margin-bottom: 10px;
  color: #aeb8c2;
  font-size: 42px;
}

.news-search-empty p {
  margin: 0;
}

/* Main Content Area */
.main-content {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--ref-border);
  background: var(--ref-white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px var(--ref-shadow);
}

/* Breadcrumb */
.breadcrumb {
  padding: 12px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid var(--ref-border);
  font-size: 13px;
  color: var(--ref-text-light);
}

.breadcrumb a {
  color: var(--ref-text-light);
}

.breadcrumb a:hover {
  color: var(--ref-primary);
}

/* 首页中间内容卡片使用与侧边卡片一致的标题栏样式。 */
.home-main-content .breadcrumb {
  padding: 14px 18px;
  color: var(--ref-primary);
  background: linear-gradient(135deg, #f8f9fa 0%, #e8eaed 100%);
  font-size: 15px;
  font-weight: 600;
}

.home-main-content .breadcrumb i {
  margin-right: 6px;
}

/* Article List */
.article-list {
  padding: 20px 50px;
}

.article-list table {
  width: 100%;
  border-collapse: collapse;
}

.article-list td {
  line-height: 42px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.article-list td.title {
  width: 85%;
}

.article-list td.title a {
  color: var(--ref-text);
  transition: color 0.2s ease;
}

.article-list td.title a:hover {
  color: var(--ref-primary);
}

.article-list td.date {
  width: 15%;
  text-align: right;
  font-size: 13px;
  color: var(--ref-text-light);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Pagination */
.pagination {
  padding: 20px;
  text-align: center;
  font-size: 13px;
}

.pagination a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--ref-border);
  margin: 0 3px;
  color: var(--ref-text);
  border-radius: 6px;
  transition: all 0.2s ease;
}

.pagination a:hover,
.pagination a.current {
  background: var(--ref-primary);
  border-color: var(--ref-primary);
  color: var(--ref-white);
  text-decoration: none;
}

/* Content Page */
.page-content {
  padding: 10px 39px;
  font-size: 14px;
  line-height: 1.8;
}

.page-content p {
  margin: 10px 0;
}

/* Article content - justify text */
.article-content p {
  text-align: justify;
  text-justify: inter-ideograph;
}

/* 最新资讯正文统一使用站点默认中英文字体，覆盖后台内容携带的字体设置。 */
.news-article-content,
.news-article-content * {
  font-family: inherit !important;
}

.page-content h1,
.page-content h2,
.page-content h3 {
  color: var(--ref-primary);
  margin: 0px 0 12px;
}

/* ============================================
   Query Form (用稿通知查询)
   ============================================ */
.query-section {
  padding: 25px;
}

.query-form {
  border: none;
  background: var(--ref-white);
  border-radius: 12px;
}

.query-form .form-group {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 12px 0;
}

.query-form label {
  width: 120px;
  text-align: right;
  padding-right: 18px;
  font-size: 14px;
  color: var(--ref-text);
  font-weight: 500;
}

.query-form input[type="text"] {
  flex: 1;
  max-width: 280px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--ref-border);
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.query-form input[type="text"]:focus,
.query-form input[type="email"]:focus {
  outline: none;
  border-color: var(--ref-primary);
  box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.1);
}

.query-section input[type="text"]:focus {
  outline: none;
  border-color: var(--ref-primary);
  box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.1);
}

.query-form input[type="submit"] {
  height: 44px;
  padding: 0 32px;
  background: linear-gradient(
    135deg,
    var(--ref-primary) 0%,
    var(--ref-primary-dark) 100%
  );
  border: none;
  border-radius: 8px;
  color: var(--ref-white);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(31, 78, 121, 0.3);
}

.query-form input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(31, 78, 121, 0.4);
}

/* Query Result Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  backdrop-filter: blur(2px);
}

.modal-box {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  background: var(--ref-white);
  border-radius: 16px;
  z-index: 1001;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.modal-box h3 {
  text-align: center;
  color: var(--ref-primary);
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--ref-primary-light);
}

.modal-box p {
  line-height: 1.8;
  font-size: 15px;
  color: var(--ref-text);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 24px;
  cursor: pointer;
  color: var(--ref-text-light);
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--ref-accent);
}

/* ============================================
   Contact Info
   ============================================ */
.contact-info {
  padding: 20px;
  font-size: 14px;
  line-height: 1.8;
}

.contact-info p {
  margin: 10px 0;
}

/* ============================================
   Guestbook Form
   ============================================ */
.guestbook-form {
  padding: 25px;
}

.guestbook-form table {
  width: 100%;
}

.guestbook-form td {
  padding: 10px 0;
  font-size: 14px;
}

.guestbook-form input[type="text"],
.guestbook-form input[type="email"],
.guestbook-form textarea {
  width: 100%;
  max-width: 400px;
  padding: 12px;
  border: 1px solid var(--ref-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.guestbook-form input[type="text"]:focus,
.guestbook-form input[type="email"]:focus,
.guestbook-form textarea:focus {
  outline: none;
  border-color: var(--ref-primary);
  box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.1);
}

.guestbook-form textarea {
  height: 120px;
  resize: vertical;
}

.guestbook-form input[type="submit"] {
  padding: 12px 28px;
  background: linear-gradient(
    135deg,
    var(--ref-primary) 0%,
    var(--ref-primary-dark) 100%
  );
  border: none;
  border-radius: 8px;
  color: var(--ref-white);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(31, 78, 121, 0.3);
}

.guestbook-form input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(31, 78, 121, 0.4);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 25px 0;
  background: #1a252f;
  /* 向两侧铺满页脚色块，但不使用 100vw，避免产生横向溢出。 */
  box-shadow: 0 0 0 100vmax #1a252f;
  clip-path: inset(0 -100vmax);
  text-align: center;
  font-size: 13px;
  color: #aab2bd;
  margin-top: 30px;
}

.footer a {
  color: #aab2bd;
}

.footer a:hover {
  color: var(--ref-white);
}

/* Fixed access to the external manuscript submission system. */
.submission-float {
  position: fixed;
  right: 40px;
  bottom: 180px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  box-sizing: border-box;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(
    120deg,
    #175466 0%,
    #176e80 28%,
    #168a82 52%,
    #216b91 76%,
    #175466 100%
  );
  background-size: 220% 100%;
  box-shadow:
    0 4px 15px rgba(23, 58, 92, 0.35),
    0 0 0 4px rgba(31, 78, 121, 0.1);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  isolation: isolate;
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  animation: submission-float-attention 3.8s ease-in-out infinite;
}

.submission-float > .submission-float-shine {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  border-radius: 7px;
  pointer-events: none;
}

.submission-float-shine::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 5%;
  width: 18%;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  transform: skewX(-22deg) translateX(-100%);
  transition:
    transform 0.55s ease,
    opacity 0.15s ease;
  opacity: 0; /* 默认透明隐藏 */
}

.submission-float::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px;
  border-radius: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

/* A separate layer keeps the decorative motion out of the clickable content. */
.submission-float-orbit {
  position: absolute;
  z-index: -2;
  inset: -11px;
  border: 1px solid rgba(59, 215, 191, 0.52);
  border-radius: 12px;
  pointer-events: none;
  animation: submission-float-halo 3.8s ease-out infinite;
}

.submission-float-orbit::before,
.submission-float-orbit::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff4ad;
  box-shadow: 0 0 9px 3px rgba(255, 232, 120, 0.78);
}

.submission-float-orbit::before {
  top: -4px;
  left: 18%;
}

.submission-float-orbit::after {
  right: 14%;
  bottom: -4px;
  animation: submission-float-spark 1.9s ease-in-out infinite alternate;
}

.submission-float i {
  position: relative;
  z-index: 1;
  font-size: 19px;
  transition: transform 0.25s ease;
}

.submission-float span {
  position: relative;
  z-index: 1;
}

.submission-float:hover {
  color: #fff;
  background: linear-gradient(135deg, #175466 0%, #1f7198 52%, #16917c 100%);
  box-shadow:
    0 9px 24px rgba(23, 58, 92, 0.4),
    0 0 0 5px rgba(31, 78, 121, 0.13);
  transform: translateY(-4px) scale(1.02);
  animation-play-state: paused;
}

.submission-float:hover .submission-float-shine::before {
  transform: skewX(-22deg) translateX(620%);
  opacity: 1;
}

.submission-float:hover i {
  transform: translate(2px, -2px) rotate(-8deg);
}

.submission-float:hover .submission-float-orbit {
  animation-play-state: paused;
  opacity: 0.9;
}

.submission-float:focus-visible {
  outline: 3px solid #f4c542;
  outline-offset: 3px;
}

@keyframes submission-float-attention {
  0%,
  100% {
    background-position: 0% 50%;
    transform: translateY(0) scale(1);
    box-shadow:
      0 4px 16px rgba(23, 58, 92, 0.42),
      0 0 0 5px rgba(31, 78, 121, 0.16);
  }

  45% {
    background-position: 100% 50%;
    transform: translateY(-5px) scale(1.025);
    box-shadow:
      0 10px 25px rgba(15, 99, 120, 0.52),
      0 0 0 12px rgba(36, 191, 165, 0.12);
  }

  57% {
    transform: translateY(-2px) scale(1.01);
  }
}

@keyframes submission-float-halo {
  0%,
  22% {
    opacity: 0;
    transform: scale(0.88);
  }

  44% {
    opacity: 0.78;
  }

  78%,
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes submission-float-spark {
  from {
    transform: translate(-2px, 2px) scale(0.7);
    opacity: 0.5;
  }

  to {
    transform: translate(2px, -2px) scale(1.25);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-role-action,
  .home-role-action::after {
    animation: none;
  }

  .submission-float,
  .submission-float-orbit,
  .submission-float-orbit::after {
    animation: none;
  }

  .home-role-action,
  .home-role-action > i:first-child,
  .home-role-action .home-role-action-arrow,
  .submission-float,
  .submission-float-shine::before,
  .submission-float i,
  .submission-float-orbit::after {
    transition: none;
  }
}

/* ============================================
   Modern Card Style
   ============================================ */
.modern-card {
  background: var(--ref-white);
  border-radius: 12px;
  box-shadow: 0 1px 3px var(--ref-shadow);
  transition: all 0.3s ease;
  overflow: hidden;
}

.modern-card:hover {
  box-shadow: 0 8px 25px var(--ref-shadow-hover);
  transform: translateY(-2px);
}

/* ============================================
   Modern Button
   ============================================ */
.modern-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: linear-gradient(
    135deg,
    var(--ref-primary) 0%,
    var(--ref-primary-dark) 100%
  );
  border: none;
  border-radius: 8px;
  color: var(--ref-white);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(31, 78, 121, 0.3);
}

.modern-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(31, 78, 121, 0.4);
  color: var(--ref-white);
}

/* ============================================
   Info Box
   ============================================ */
.info-box {
  background: var(--ref-primary-light);
  border-left: 4px solid var(--ref-primary);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 15px 0;
}

.info-box h4 {
  color: var(--ref-primary);
  margin: 0 0 8px 0;
  font-size: 15px;
}

.info-box p {
  margin: 0;
  font-size: 13px;
  color: var(--ref-text);
}

/* ============================================
   Utility Classes
   ============================================ */
.text-primary {
  color: var(--ref-primary);
}
.text-success {
  color: var(--ref-success);
}
.text-light {
  color: var(--ref-text-light);
}
.bg-light {
  background: var(--ref-primary-light);
}
.border-primary {
  border-color: var(--ref-primary);
}

.mt-10 {
  margin-top: 10px;
}
.mb-10 {
  margin-bottom: 10px;
}
.p-10 {
  padding: 10px;
}

/* Clear float */
.clearfix::after {
  content: " ";
  display: block;
  clear: both;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .home-hero {
    min-height: 0;
  }

  .submission-float {
    right: 16px;
    bottom: 88px;
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .home-hero-inner {
    min-height: 0;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-direction: column;
    gap: 14px;
  }

  .home-brand img {
    width: 50px;
    height: 50px;
  }

  .home-brand {
    flex: 0 0 62px;
    width: min(100%, 500px);
    height: 62px;
  }

  .home-brand-copy {
    left: 60px;
  }

  .home-brand-title {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: 0;
  }

  .home-brand-pinyin {
    margin-top: 5px;
    font-size: 9px;
    letter-spacing: 0;
  }

  .home-search {
    margin-top: 0;
    width: min(100%, 360px);
  }

  .homepage-main {
    margin-top: 18px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .home-role-actions {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 12px;
  }

  .home-role-action {
    height: 56px;
    padding: 0 12px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    font-size: 14px;
  }

  .home-role-action > i:first-child {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .home-role-action span {
    flex: 1;
  }

  .home-role-action .home-role-action-arrow {
    display: block;
  }

  .home-page-content {
    padding: 20px;
  }

  .home-journal-heading {
    margin-right: 0;
    margin-left: 0;
    font-size: 19px;
  }

  .home-journal-overview {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px;
  }

  .home-journal-cover {
    display: block;
    width: min(180px, 100%);
    margin: 0 auto 16px;
  }

  .home-journal-details {
    padding: 0 18px 18px;
  }

  .home-columns-list {
    grid-template-columns: repeat(2, auto);
  }

  .home-lower-grid {
    grid-template-columns: 1fr;
  }

  .main-body {
    flex-direction: column;
  }

  .main-body.home-main-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "main"
      "right"
      "left";
    gap: 12px;
  }

  .home-sidebar-news,
  .home-policy-panel,
  .home-sidebar-news-content {
    min-height: 0;
  }

  .sidebar-left {
    width: 100%;
  }

  .sidebar-right.home-original-sidebar {
    width: 100%;
  }

  .homepage .nav-menu,
  .author-center-page .nav-menu {
    padding: 0;
  }

  .homepage .nav-menu > li,
  .author-center-page .nav-menu > li {
    flex: 0 0 25%;
  }

  .homepage .nav-menu > li > a,
  .author-center-page .nav-menu > li > a {
    min-height: 48px;
    padding: 6px 3px;
    font-size: 13px;
  }

  .author-center-content {
    padding: 20px;
  }

  .author-center-header {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 20px;
  }

  .author-center-header h1 {
    font-size: 24px;
  }

  .author-submit-button {
    width: 100%;
    box-sizing: border-box;
  }

  .author-tools {
    grid-template-columns: 1fr;
  }

  .author-tool {
    padding: 18px;
  }

  .author-tool + .author-tool {
    border-top: 1px solid #dce5ec;
    border-left: 0;
  }

  .author-tool p {
    min-height: 0;
  }

  .author-query-panel {
    padding: 18px;
  }

  .author-query-form {
    grid-template-columns: 1fr;
  }

  .author-query-button {
    width: 100%;
  }

  .author-contact-strip {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px 16px;
  }
}

@media (max-width: 960px) and (min-width: 769px) {
  .homepage-main {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .home-hero {
    min-height: 150px;
  }

  .home-hero-inner {
    min-height: 150px;
    padding-right: 20px;
    gap: 16px;
  }

  .home-brand {
    width: auto;
    min-width: 0;
    height: 82px;
    flex: 1 1 auto;
  }

  .home-brand img {
    top: 50%;
    width: 64px;
    height: 64px;
  }

  .home-brand-copy {
    left: 78px;
  }

  .home-brand-title {
    font-size: 34px;
    letter-spacing: 0;
  }

  .home-brand-pinyin {
    margin-top: 7px;
    margin-left: 2px;
    font-size: 10px;
    letter-spacing: 0;
  }

  .home-search {
    width: 180px;
    flex: 0 0 180px;
    margin-top: 78px;
  }

  .home-news-sidebar {
    width: 220px;
  }

  .main-body.home-main-body {
    grid-template-columns: 220px minmax(0, 1fr) 220px;
  }

  .home-role-action {
    padding-right: 10px;
    padding-left: 10px;
    gap: 7px;
    font-size: 15px;
  }

  .home-role-action > i:first-child {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }

  .home-role-action .home-role-action-arrow {
    display: none;
  }

  .sidebar-right.home-original-sidebar {
    width: 220px;
  }

  .home-page-content {
    padding-right: 28px;
    padding-left: 28px;
  }
}

@media (max-width: 420px) {
  .home-brand-title {
    font-size: 23px;
    letter-spacing: 0;
  }
}

.article-share {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding: 16px 0;
  border-top: 1px solid #e7f6f2;
  border-bottom: 1px solid #e7f6f2;
  color: #5f6368;
  font-size: 14px;
}

.article-share-label {
  white-space: nowrap;
}

.article-share-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5f6368;
  cursor: pointer;
  font-size: 21px;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.article-share-button:hover,
.article-share-button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.article-share-button:focus-visible {
  box-shadow: 0 0 0 2px rgba(31, 78, 121, 0.25);
}

.article-share-copy {
  color: #35b35d;
}
.article-share-qq {
  color: #32b6e8;
}
.article-share-qzone {
  color: #f6bf25;
}
.article-share-wechat {
  color: #34b746;
}
.article-share-weibo {
  color: #e83f45;
}
.article-share-mail {
  color: #35b48b;
}

.article-share-status {
  min-width: 70px;
  color: #176e80;
  font-size: 13px;
}

.article-share-wechat-panel {
  position: absolute;
  z-index: 10;
  top: calc(100% - 8px);
  left: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 184px;
  padding: 12px;
  border: 1px solid #e2e8ed;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(32, 33, 36, 0.15);
  color: #5f6368;
  font-size: 13px;
}

.article-share-wechat-panel[hidden] {
  display: none;
}

.article-share-qrcode {
  display: block;
  width: 160px;
  height: 160px;
}

@media (max-width: 600px) {
  .article-share {
    gap: 8px;
  }

  .article-share-wechat-panel {
    left: 0;
  }
}
