
.project-warp.issue-warp {
  padding-bottom: 8em;
}

.issue-card-bg {
  display: block;
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  transition: box-shadow 0.35s ease;
}


.issue-card-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 40%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.issue-card-bg:hover::before {
  opacity: 0.55;
}

.issue-card-bg:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.issue-card-bg__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.8em;
  font-weight: 500;
  color: #fff;
  background-color: #0B433A;
  letter-spacing: 0.05em;
  transition: background-color 0.25s ease;
}

.issue-card-bg:hover .issue-card-bg__tag {
  background-color: #FF6339;
}

.issue-card-bg__img-wrap {
  position: relative;
  z-index: 0;
  overflow: hidden;
  line-height: 0;
}

.issue-card-bg__img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
  transition: transform 0.5s ease;
}

.issue-card-bg:hover .issue-card-bg__img {
  transform: scale(1.04);
}

.issue-card-bg__title-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

.issue-card-bg__title {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.5em;
  line-height: 1.45;
  font-weight: bold;
  color: #fff;
  margin: 0 0 6px 0;
  transition: text-shadow 0.35s ease;
}

.issue-card-bg:hover .issue-card-bg__title {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 0 12px rgba(0, 0, 0, 0.25);
}

.issue-card-bg__subtitle {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.9em;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: text-shadow 0.35s ease;
}

.issue-card-bg:hover .issue-card-bg__subtitle {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 0, 0, 0.2);
}

.issue-card-bg__more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: auto;
  align-self: stretch;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.issue-card-bg__more i {
  margin-left: 6px;
  font-size: 0.9em;
  transition: transform 0.25s ease;
}

.issue-card-bg:hover .issue-card-bg__more i {
  transform: translateX(4px);
}

@media screen and (max-width: 768px) {
  .issue-card-bg__tag {
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 0.75em;
  }

  .issue-card-bg__title-wrap {
    padding: 16px 14px;
  }

  .issue-card-bg__title {
    font-size: 1.15em;
  }

  .issue-card-bg__subtitle {
    font-size: 0.85em;
    -webkit-line-clamp: 2;
  }

  .issue-card-bg__more {
    font-size: 0.8em;
  }
}

/* ---------- 議題內頁 (issue_detail.php)：Hero ---------- */
.issue-detail-hero {
  padding: 56px 0 48px;
}

.issue-detail-hero__inner {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
  background-color: #0B433A;
}

.issue-detail-hero__left {
  flex: 1 1 auto;
  min-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 56px;
  background-color: #0B433A;
  color: #fff;
}

.issue-detail-hero__content {
  position: relative;
  max-width: 460px;
  width: 100%;
}

.issue-detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.issue-detail-hero__tag {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.8em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background-color: transparent;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  letter-spacing: 0.16em;
}

.issue-detail-hero__date {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.85);
}

.issue-detail-hero__date i {
  margin-right: 6px;
  opacity: 0.9;
}

.issue-detail-hero__title {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(1.5rem, 2.4vw + 1rem, 2.3rem);
  font-weight: 600;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.96);
  margin: 0 0 18px 0;
}

.issue-detail-hero__subtitle {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.97rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.8);
  margin: 14px 0 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  max-width: 32em;
}

.issue-detail-hero__right {
  flex: 1 1 auto;
  min-width: 280px;
  min-height: 360px;
  overflow: hidden;
  background-color: #000;
}

.issue-detail-hero__img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

@media screen and (min-width: 992px) {
  .issue-detail-hero__left {
    flex: 0 0 42%;
    background: linear-gradient(
      to right,
      #0B433A 0%,
      #0B433A 70%,
      rgba(11, 67, 58, 0) 100%
    );
  }

  .issue-detail-hero__right {
    flex: 0 0 58%;
  }
}

@media screen and (max-width: 768px) {
  .issue-detail-hero__inner {
    min-height: auto;
    flex-direction: column-reverse;
  }

  .issue-detail-hero__left {
    padding: 36px 24px;
    min-height: auto;
  }

  .issue-detail-hero__meta {
    margin-bottom: 18px;
  }

  .issue-detail-hero__tag {
    padding: 6px 12px;
    font-size: 0.8em;
  }

  .issue-detail-hero__date {
    font-size: 0.85em;
  }

  .issue-detail-hero__title {
    font-size: 1.35rem;
  }

  .issue-detail-hero__subtitle {
    font-size: 0.95rem;
  }

  .issue-detail-hero__right {
    min-height: 260px;
  }

  .issue-detail-hero__img {
    min-height: 260px;
  }
}

/* ---------- 議題內頁：專題內文 ---------- */
.issue-detail-body {
  position: relative;
  padding: 5em 0 8em;
}

.issue-detail-body::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  width: 1.5px;
  height: 100px;
  background: linear-gradient(to bottom, #0B433A 0%, transparent 100%);
}

.issue-detail-body__inner {
  margin: 0 auto 4em;
}

.issue-detail-body__inner.article-content p {
  text-align: justify;
  max-width: 680px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.05em;
  margin: 0 auto 2.5em;
  color: #424242;
}

.issue-detail-body__inner.article-content p:last-of-type {
  margin-bottom: 0;
}

/* ---------- 議題內頁：相關文章 ---------- */
.issue-detail-related {
  position: relative;
  padding: 8em 0;
  background-color: #111;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.issue-detail-related::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  pointer-events: none;
}

.issue-detail-related > .container {
  position: relative;
  z-index: 1;
}

.issue-detail-related__title {
  font-family: 'Noto Serif TC', serif;
  font-size: 2em;
  font-weight: bold;
  color: #fff;
  margin: 0 0 40px 0;
}

.issue-detail-related__title-en {
  display: block;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.5em;
  font-weight: 500;
  color: #FF6339;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.issue-detail-related__card {
  display: block;
  height: 100%;
  background-color: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.issue-detail-related__card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.issue-detail-related__img-wrap {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.issue-detail-related__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.issue-detail-related__card:hover .issue-detail-related__img {
  transform: scale(1.03);
}

.issue-detail-related__body {
  display: block;
  padding: 20px 22px 24px;
}

.issue-detail-related__date {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.85em;
  color: #666;
  margin-bottom: 8px;
  display: block;
}

.issue-detail-related__heading {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1.45;
  color: #424242;
  margin: 0;
}

.issue-detail-related__card:hover .issue-detail-related__heading {
  color: #0B433A;
}

/* ---------- 議題內頁：製作團隊 ---------- */
.issue-detail-team {
  padding: 5em 0;
  margin-bottom: 10em;
  background-color: #f6f6f6;
}

.issue-detail-team__title {
  position: relative;
  font-family: 'Noto Serif TC', serif;
  font-size: 2em;
  font-weight: 600;
  color: #2c2c2c;
  text-align: center;
  margin-bottom: 2em;
  letter-spacing: 0.02em;
}

.issue-detail-team__title::before,
.issue-detail-team__title::after {
  content: '';
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 96px;
  height: 1px;
  background: linear-gradient(to right, transparent, #d0ccc7);
  margin: 0 16px;
}

.issue-detail-team__title::after {
  background: linear-gradient(to left, transparent, #d0ccc7);
}

.issue-detail-team__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.issue-detail-team__item {
  flex: 0 0 auto;
  width: 200px;
}

.issue-detail-team__card {
  text-align: center;
  padding: 0 0.25rem;
}

.issue-detail-team__avatar-wrap {
  display: inline-block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ebe8e4;
  margin-bottom: 12px;
}

.issue-detail-team__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.issue-detail-team__name {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #2c2c2c;
  margin: 0 0 4px 0;
  letter-spacing: 0.01em;
}

.issue-detail-team__role {
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.8em;
  color: #6b6b6b;
  margin: 0;
  font-weight: 400;
}

@media screen and (max-width: 768px) {
  .issue-detail-team__list {
    gap: 1.5rem 1.25rem;
  }

  .issue-detail-team__item {
    width: 160px;
  }

  .issue-detail-team__avatar-wrap {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
  }

  .issue-detail-team__title {
    font-size: 1.15rem;
  }

  .issue-detail-team__subtitle {
    margin-bottom: 28px;
    font-size: 0.85rem;
  }

  .issue-detail-team__name {
    font-size: 1rem;
  }
}
