/* =========================================================
   tech-journal.css — tech_journal_01~03
========================================================= */

/* ---- 聯絡提示 ---- */
.tech-journal-page .tech-journal-contact {
  text-align: center;
  color: #64748b;
  margin-bottom: var(--title-gap-page, 32px);
}

.tech-journal-page .tech-journal-contact a {
  color: var(--tech-primary, #0c596f);
  font-weight: 600;
  text-decoration: none;
}

.tech-journal-page .tech-journal-contact a:hover {
  color: var(--tech-accent, #19a7b8);
}

/* ---- 期數 Slick 導覽 ---- */
.tech-journal-page .tech-main .slider-nav {
  width: min(100%, 42rem);
  margin: 0 auto 1.5rem;
}

.tech-journal-page .tech-main .slider-nav .nav-items {
  text-align: center;
  cursor: pointer;
  padding: 0 6px;
}

.tech-journal-page .tech-main .slider-nav h3 {
  background-color: #fff;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  line-height: 70px;
  margin: 0 auto;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--tech-primary-deep, #083d4d);
  box-shadow: inset 0 0 0 3px rgba(12, 89, 111, 0.15);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.tech-journal-page .tech-main .slider-nav .slick-current h3 {
  background: linear-gradient(135deg, var(--tech-primary, #0c596f), var(--tech-accent, #19a7b8));
  color: #fff;
  box-shadow: 0 8px 18px rgba(12, 89, 111, 0.25);
}

.tech-journal-page .tech-main .slick-prev:before,
.tech-journal-page .tech-main .slick-next:before {
  color: var(--tech-primary, #0c596f);
}

/* ---- 各期標題 ---- */
.tech-journal-page .tech-journal-period-title {
  margin: 0 0 20px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tech-primary-deep, #083d4d);
}

.tech-journal-page .tech-journal-period-title span {
  color: var(--tech-accent, #19a7b8);
}

.tech-journal-page .journal-period-container {
  margin-top: 8px;
}

.tech-journal-page .journal-period-block {
  display: none;
}

.tech-journal-page .journal-period-block.is-active {
  display: block;
}

/* ---- 論文列表（02 / 03） ---- */
.tech-journal-page .journal-list {
  margin: 0;
}

.tech-journal-page .journal-list dt {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.75rem 0.5rem 0.75rem 1rem;
  margin-bottom: 0;
  border-top-left-radius: 0.75rem;
  border-bottom-left-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-right: 0;
}

.tech-journal-page .journal-list dd {
  padding: 0.75rem 1rem;
  margin-bottom: 0;
  border-top-right-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-left: 0;
  line-height: 1.7;
}

.tech-journal-page .journal-list dt span {
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--tech-primary, #0c596f), var(--tech-accent, #19a7b8));
  color: #fff;
  display: inline-block;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  position: static;
}

.tech-journal-page .journal-list .author {
  color: var(--tech-primary-deep, #083d4d);
  font-weight: 700;
}

.tech-journal-page .journal-list .font-italic {
  color: #334155;
  text-decoration: underline;
  font-style: italic;
  font-weight: 600;
}

.tech-journal-page .journal-list > dt,
.tech-journal-page .journal-list > dd {
  margin-bottom: 12px;
}

@media (max-width: 767.98px) {
  .tech-journal-page .journal-list dt,
  .tech-journal-page .journal-list dd {
    border-radius: 0.75rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
  }

  .tech-journal-page .journal-list dt {
    border-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    justify-content: flex-start;
  }

  .tech-journal-page .journal-list dd {
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin-bottom: 16px;
  }

  .tech-journal-page .tech-main .slider-nav h3 {
    width: 58px;
    height: 58px;
    line-height: 58px;
    font-size: 1.1rem;
  }
}
