/* ====== 全局基础 ====== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", sans-serif;
  background: #ffffff;
  color: #222222;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ====== 顶部 publisher bar（灰底小字） ====== */

.publisher-bar {
  background: #f5f6f8;
  border-bottom: 1px solid #d9dde5;
  font-size: 13px;
}

.publisher-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.publisher-left,
.publisher-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.publisher-logo {
  font-weight: 700;
  color: #004b8d;
}

.publisher-inner a {
  text-decoration: none;
  color: #505765;
}

.publisher-inner a:hover {
  text-decoration: underline;
}

/* ====== Journal 顶部蓝条标题 ====== */

.journal-header {
  background: #004b8d; /* 深蓝 */
  color: #ffffff;
}

.journal-header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
}

.journal-name {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ====== Hero banner：蓝色底 + 文字，仿乐高背景 ====== */

.hero-feature {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* 用渐变 + 模糊模拟蓝色乐高背景，有设计感但不侵权 */
  background-image:
    linear-gradient(135deg, #0076c0 0%, #005a9e 40%, #004b8d 70%, #012b5a 100%);
  filter: brightness(0.85);
}

.hero-content {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  height: 100%;
  padding: 40px 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.hero-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 10px;
  max-width: 700px;
}

.hero-authors {
  font-size: 16px;
  font-style: italic;
  margin: 0;
}

.hero-arrows {
  position: absolute;
  right: 24px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  font-size: 20px;
  opacity: 0.8;
}

.hero-arrows span {
  cursor: pointer;
}

/* ====== Journal 内部导航条 ====== */

.journal-nav {
  background: #ffffff;
  border-bottom: 1px solid #d9dde5;
}

.journal-nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.journal-nav-left {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.journal-nav-left a {
  text-decoration: none;
  font-size: 14px;
  color: #004b8d;
  padding-bottom: 6px;
  border-bottom: 3px solid transparent;
}

.journal-nav-left a:hover {
  border-bottom-color: #b7c8e5;
}

.journal-nav-left a.active {
  border-bottom-color: #ffcc33;
  font-weight: 600;
}

/* 右边 Submit / Subscribe + 搜索框 */

.journal-nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  text-decoration: none;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-submit {
  background: #004b8d;
  color: #ffffff;
  border-color: #004b8d;
}

.btn-submit:hover {
  background: #00376a;
}

.btn-subscribe {
  background: #ffffff;
  color: #004b8d;
  border-color: #004b8d;
}

.btn-subscribe:hover {
  background: #e6edf6;
}

.journal-search input {
  border-radius: 3px;
  border: 1px solid #c5cad5;
  padding: 6px 8px;
  font-size: 13px;
  min-width: 180px;
}

/* ====== 主体：左列表 + 右侧信息 ====== */

.journal-main {
  flex: 1;
  background: #f7f8fb;
  padding: 24px 0 40px;
}

.main-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr);
  gap: 24px;
}

/* 左侧 Recent Content */

.main-left {
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #d9dde5;
  padding: 18px 20px 14px;
}

.section-heading {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
}

.article-card {
  padding: 12px 0;
  border-top: 1px solid #e2e5ec;
}

.article-card:first-of-type {
  border-top: none;
}

.article-title {
  margin: 0 0 4px;
  font-size: 16px;
  color: #004b8d;
}

.article-title:hover {
  text-decoration: underline;
}

.article-meta {
  font-size: 13px;
  color: #555c69;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-links {
  margin-top: 4px;
  font-size: 12px;
  color: #555c69;
}

.placeholder-note {
  margin-top: 10px;
  font-size: 12px;
  color: #777f8f;
}

/* 右侧 info 卡片 */

.main-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.info-card {
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #d9dde5;
  padding: 14px 16px;
  font-size: 13px;
}

.info-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #004b8d;
}

.info-line {
  margin: 2px 0;
}

/* ====== 页脚 ====== */

.journal-footer {
  border-top: 1px solid #d9dde5;
  background: #ffffff;
  font-size: 12px;
  color: #555c69;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 10px 24px 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ====== 响应式 ====== */

@media (max-width: 900px) {
  .hero-feature {
    height: auto;
  }
  .hero-content {
    padding: 24px 16px 20px;
  }
  .hero-title {
    font-size: 24px;
  }
  .main-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .publisher-inner {
    padding: 6px 12px;
  }
  .journal-header-inner {
    padding: 10px 12px;
  }
  .journal-nav-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 12px 10px;
  }
  .journal-nav-right {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .journal-search input {
    width: 100%;
    min-width: 0;
  }
  .main-inner {
    padding: 0 12px;
  }
}
