/* 龍華科技大學電子報共用樣式：原生 CSS */ :root {
  --wine: #7f1d2d;
  --wine-dark: #5f1420;
  --gold: #d88a1d;
  --green: #168554;
  --green-dark: #0f6840;
  --ink: #262422;
  --muted: #6f6a65;
  --bg: #f5f3f0;
  --surface: #fff;
  --line: #e3ddd7;
  --shadow: 0 8px 24px rgba(45, 35, 30, .08);
  --max: 1180px;
}
* {
  box-sizing: border-box
}
html {
  scroll-behavior: smooth
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7
}
body.menu-open {
  overflow: hidden
}
img {
  display: block;
  max-width: 100%;
  height: auto
}
a {
  color: inherit;
  text-decoration: none
}
button {
  font: inherit
}
.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto
}
.site-header {
  position: relative;
  z-index: 1000;
  color: #fff;
  background: linear-gradient(135deg, var(--wine), #691722);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .18)
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px
}
.brand {
  display: flex;
  align-items: center;
  min-width: 0
}
.brand img {
  width: auto;
  max-width: 310px;
  max-height: 54px
}
.navigation {
  display: flex;
  align-items: center
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none
}
.nav-list > li {
  position: relative
}
.nav-list a, .nav-dropdown-button {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 15px;
  color: #fff;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-weight: 600;
  cursor: pointer
}
.nav-list a:hover, .nav-list a:focus-visible, .nav-dropdown-button:hover, .nav-dropdown-button:focus-visible {
  background: rgba(255, 255, 255, .14);
  outline: none
}
.nav-dropdown-button::after {
  width: 7px;
  height: 7px;
  margin: -4px 0 0 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg)
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  min-width: 180px;
  margin: 0;
  padding: 7px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18)
}
.dropdown.open .dropdown-menu {
  display: block
}
.dropdown-menu a {
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  color: var(--ink)
}
.dropdown-menu a:hover, .dropdown-menu a:focus-visible {
  color: #fff;
  background: var(--wine)
}
.menu-button {
  display: none;
  width: 46px;
  height: 42px;
  padding: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 7px;
  cursor: pointer
}
.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px
}
.page-intro {
  padding: 54px 0 38px;
  text-align: center
}
.page-kicker, .article-kicker {
  margin: 0 0 5px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em
}
.page-title, .article-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.3
}
.page-title::after {
  display: block;
  width: 54px;
  height: 4px;
  margin: 16px auto 0;
  background: var(--wine);
  border-radius: 99px;
  content: ""
}
.page-description {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted)
}
.issue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 70px
}
.issue-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s
}
.issue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 36px rgba(45, 35, 30, .14)
}
.cover-link {
  display: block
}
.cover-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, #ece4dc, #d5c1b4)
}
.cover-media::after {
  position: absolute;
  inset: auto 20px 20px;
  z-index: 0;
  color: rgba(127, 29, 45, .45);
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  content: attr(data-label)
}
.issue-cover {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s
}
.issue-card:hover .issue-cover {
  transform: scale(1.018)
}
.issue-info {
  padding: 21px
}
.issue-date {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em
}
.issue-name {
  margin: 0 0 18px;
  font-size: 22px
}
.button-group {
  display: flex;
  justify-content: center;
  gap: 10px
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 7px;
  color: #fff !important;
  font-weight: 700;
  text-align: center;
  transition: background .2s, transform .2s, box-shadow .2s
}
.btn:hover, .btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .16);
  outline: none
}
.btn-primary {
  background: var(--wine)
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--wine-dark)
}
.btn-pdf {
  background: var(--green)
}
.btn-pdf:hover, .btn-pdf:focus-visible {
  background: var(--green-dark)
}
.article {
  padding: 48px 0 70px
}
.article-header {
  max-width: 820px;
  margin: 0 auto 38px;
  text-align: center
}
.article-meta {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 15px;
  text-align: center
}
.issue-pages {
  display: grid;
  gap: 28px;
  max-width: 1080px;
  margin-inline: auto
}
.issue-page {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  background: linear-gradient(145deg, #fff, #eee9e4);
  border: 1px solid var(--line);
  border-radius: 9px;
  box-shadow: var(--shadow)
}
.issue-page::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 0;
  color: #a8988d;
  font-size: 22px;
  font-weight: 700;
  content: attr(data-label)
}
.issue-page img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto
}
.article-download {
  display: flex;
  justify-content: center;
  margin-top: 38px
}
.article-download .btn {
  min-width: 190px;
  padding: 12px 28px;
  font-size: 17px
}
.site-footer {
  padding: 30px 0;
  color: #fff;
  background: linear-gradient(135deg, #c9660e, var(--gold));
  text-align: center
}
.site-footer p {
  margin: 0;
  line-height: 1.85
}
.footer-address {
  display: block;
  margin-top: 5px
}
@media(max-width:900px) {
  .issue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
  .menu-button {
    display: block
  }
  .navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 20px 20px;
    background: var(--wine)
  }
  .navigation.open {
    display: block
  }
  .nav-list {
    display: block
  }
  .nav-list > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .15)
  }
  .nav-list a, .nav-dropdown-button {
    justify-content: space-between;
    width: 100%;
    border-radius: 0
  }
  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none
  }
}
@media(max-width:620px) {
  .container {
    width: calc(100% - 24px)
  }
  .header-inner {
    min-height: 70px
  }
  .brand img {
    max-width: 215px;
    max-height: 44px
  }
  .page-intro {
    padding: 38px 0 28px
  }
  .issue-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 45px
  }
  .issue-card {
    width: 100%;
    max-width: 430px;
    margin-inline: auto
  }
  .issue-info {
    padding: 18px
  }
  .article {
    padding: 35px 0 45px
  }
  .article-header {
    margin-bottom: 26px
  }
  .article-meta {
    font-size: 14px
  }
  .site-footer {
    padding: 23px 0;
    font-size: 14px
  }
}
.footer-address img {
    display: inline;
}
@media(max-width:390px) {
  .button-group {
    flex-direction: column
  }
  .btn {
    width: 100%
  }
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important
  }
}