:root {
  --yj-fire-red: #b7202e;
  --yj-fire-red-deep: #7f1520;
  --yj-fire-gold: #d9a13a;
  --yj-fire-ink: #17202a;
  --yj-fire-muted: #66717d;
  --yj-fire-paper: #fffaf3;
  --yj-fire-line: #eadfd3;
}

.yj-fire-home,
.yj-fire-archive,
.yj-fire-single {
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: var(--yj-fire-ink);
}

.yj-fire-home {
  position: relative;
  isolation: isolate;
  margin: clamp(42px, 7vw, 92px) auto 0;
  padding: clamp(28px, 4vw, 54px);
  overflow: hidden;
  border: 1px solid var(--yj-fire-line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 98% 0%, rgba(183, 32, 46, .13), transparent 28%),
    linear-gradient(145deg, #fffdf9 0%, var(--yj-fire-paper) 100%);
  box-shadow: 0 24px 60px rgba(70, 37, 28, .10);
}

.yj-fire-home::before {
  content: "119";
  position: absolute;
  z-index: -1;
  right: -12px;
  top: -48px;
  color: rgba(183, 32, 46, .035);
  font-size: clamp(120px, 20vw, 260px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.08em;
}

.yj-fire-home-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.yj-fire-eyebrow,
.yj-archive-eyebrow,
.yj-single-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--yj-fire-red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}

.yj-fire-eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3e9c63;
  box-shadow: 0 0 0 5px rgba(62, 156, 99, .12);
}

.yj-fire-home h2 {
  margin: 0;
  color: var(--yj-fire-ink);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.045em;
}

.yj-fire-home-head p {
  margin: 10px 0 0;
  color: var(--yj-fire-muted);
  font-size: 15px;
}

.yj-all-news,
.yj-source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--yj-fire-red);
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(183, 32, 46, .22);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.yj-all-news:hover,
.yj-source-link:hover {
  transform: translateY(-2px);
  background: var(--yj-fire-red-deep);
  box-shadow: 0 14px 28px rgba(127, 21, 32, .25);
}

.yj-fire-news-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 16px;
}

.yj-news-card {
  min-width: 0;
  border: 1px solid var(--yj-fire-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 8px 22px rgba(45, 27, 22, .055);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.yj-news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 32, 46, .34);
  box-shadow: 0 16px 32px rgba(65, 31, 27, .11);
}

.yj-news-card.is-featured {
  grid-row: span 2;
  background:
    linear-gradient(160deg, rgba(127, 21, 32, .98), rgba(183, 32, 46, .94)),
    #a51e2a;
  border-color: transparent;
  color: #fff;
}

.yj-card-link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 22px;
  color: inherit !important;
  text-decoration: none !important;
}

.yj-news-card.is-featured .yj-card-link {
  padding: clamp(26px, 3vw, 38px);
}

.yj-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.yj-topic {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(183, 32, 46, .09);
  color: var(--yj-fire-red);
  font-size: 12px;
  font-weight: 800;
}

.yj-news-card.is-featured .yj-topic {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.yj-card-top time {
  color: #8a9299;
  font-size: 12px;
  font-weight: 700;
}

.yj-news-card.is-featured .yj-card-top time {
  color: rgba(255, 255, 255, .72);
}

.yj-news-card h3 {
  margin: 0 0 11px;
  color: inherit;
  font-size: 18px;
  font-weight: 850;
  line-height: 1.48;
  letter-spacing: -.02em;
}

.yj-news-card.is-featured h3 {
  margin-top: auto;
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.35;
}

.yj-news-card p {
  display: -webkit-box;
  margin: 0 0 20px;
  overflow: hidden;
  color: var(--yj-fire-muted);
  font-size: 13px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.yj-news-card.is-featured p {
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  -webkit-line-clamp: 3;
}

.yj-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--yj-fire-red);
  font-size: 13px;
  font-weight: 800;
}

.yj-news-card.is-featured .yj-read-more {
  color: #fff;
}

.yj-read-more b {
  font-size: 17px;
  transition: transform .2s ease;
}

.yj-card-link:hover .yj-read-more b {
  transform: translateX(4px);
}

.yj-fire-source-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 24px;
  color: #77818a;
  font-size: 12px;
  text-align: center;
}

.yj-fire-source-note span {
  display: inline-grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 9px;
  background: rgba(183, 32, 46, .09);
  color: var(--yj-fire-red);
  font-size: 10px;
  font-weight: 900;
}

.yj-archive-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 8vw, 96px) 24px;
  background:
    linear-gradient(120deg, rgba(94, 12, 22, .97), rgba(183, 32, 46, .92)),
    #8c1722;
  color: #fff;
}

.yj-archive-hero::after {
  content: "119";
  position: absolute;
  right: max(4vw, 30px);
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .08);
  font-size: clamp(100px, 17vw, 230px);
  font-weight: 900;
  line-height: 1;
}

.yj-archive-inner,
.yj-fire-archive,
.yj-fire-single {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.yj-archive-inner {
  position: relative;
  z-index: 1;
}

.yj-archive-eyebrow,
.yj-single-eyebrow {
  color: #f6c96e;
}

.yj-archive-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 6vw, 66px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.055em;
}

.yj-archive-hero p {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.8;
}

.yj-archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 25px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}

.yj-fire-archive {
  padding: clamp(42px, 6vw, 76px) 0;
}

.yj-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.yj-archive-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #e8e1db;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(41, 31, 28, .06);
}

.yj-archive-card h2 {
  margin: 18px 0 12px;
  color: var(--yj-fire-ink);
  font-size: 21px;
  line-height: 1.5;
}

.yj-archive-card h2 a {
  color: inherit;
  text-decoration: none;
}

.yj-archive-card h2 a:hover {
  color: var(--yj-fire-red);
}

.yj-archive-card p {
  margin: 0 0 22px;
  color: var(--yj-fire-muted);
  font-size: 14px;
  line-height: 1.8;
}

.yj-archive-card .yj-read-more {
  margin-top: auto;
  text-decoration: none;
}

.yj-archive-pagination {
  margin-top: 42px;
  text-align: center;
}

.yj-archive-pagination .page-numbers {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  margin: 3px;
  place-items: center;
  border: 1px solid #e6ddd6;
  border-radius: 11px;
  color: var(--yj-fire-ink);
  text-decoration: none;
}

.yj-archive-pagination .current,
.yj-archive-pagination a:hover {
  border-color: var(--yj-fire-red);
  background: var(--yj-fire-red);
  color: #fff;
}

.yj-single-wrap {
  background: #f8f5f1;
}

.yj-fire-single {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(48px, 7vw, 84px) 0;
}

.yj-single-main {
  min-width: 0;
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid #e8e0d9;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(43, 30, 27, .07);
}

.yj-single-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #7a858e;
  font-size: 13px;
}

.yj-single-main h1 {
  margin: 0;
  color: var(--yj-fire-ink);
  font-size: clamp(30px, 4.8vw, 50px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -.04em;
}

.yj-single-deck {
  margin: 22px 0 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid #ece5df;
  color: #5d6871;
  font-size: 17px;
  line-height: 1.85;
}

.yj-fire-article-body {
  color: #303840;
  font-size: 16px;
  line-height: 1.95;
}

.yj-fire-lead {
  margin: 0 0 32px;
  padding-left: 18px;
  border-left: 4px solid var(--yj-fire-red);
  color: #4c5760;
}

.yj-fire-summary,
.yj-manager-box,
.yj-source-box {
  margin: 30px 0;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 18px;
}

.yj-fire-summary {
  border: 1px solid #eadfd6;
  background: #fffaf4;
}

.yj-manager-box {
  border: 1px solid rgba(183, 32, 46, .18);
  background: linear-gradient(145deg, rgba(183, 32, 46, .055), rgba(217, 161, 58, .08));
}

.yj-section-kicker {
  color: var(--yj-fire-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

.yj-fire-article-body h2 {
  margin: 8px 0 14px;
  color: var(--yj-fire-ink);
  font-size: 23px;
  line-height: 1.5;
}

.yj-manager-box ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.yj-manager-box li {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.yj-manager-box li span {
  display: inline-grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--yj-fire-red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.yj-source-box {
  border: 1px dashed #d9cec5;
  background: #f8f6f4;
  color: #67717a;
  font-size: 13px;
}

.yj-source-box p {
  margin: 0 0 12px;
}

.yj-single-aside {
  align-self: start;
  position: sticky;
  top: 120px;
}

.yj-aside-box {
  margin-bottom: 20px;
  padding: 26px;
  border: 1px solid #e7ded7;
  border-radius: 19px;
  background: #fff;
}

.yj-aside-box h2 {
  margin: 0 0 16px;
  color: var(--yj-fire-ink);
  font-size: 19px;
}

.yj-aside-box p,
.yj-aside-box li {
  color: #657079;
  font-size: 13px;
  line-height: 1.75;
}

.yj-aside-box ul {
  margin: 0;
  padding-left: 18px;
}

.yj-aside-latest a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid #eee7e1;
  color: var(--yj-fire-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
}

.yj-aside-latest a:hover {
  color: var(--yj-fire-red);
}

.yj-back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--yj-fire-red);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.yj-empty-news {
  padding: 70px 20px;
  text-align: center;
}

@media (max-width: 980px) {
  .yj-fire-news-grid {
    grid-template-columns: 1fr 1fr;
  }

  .yj-news-card.is-featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 330px;
  }

  .yj-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yj-fire-single {
    grid-template-columns: 1fr;
  }

  .yj-single-aside {
    position: static;
  }
}

@media (max-width: 680px) {
  .yj-fire-home {
    width: auto;
    margin-inline: -6px;
    padding: 26px 18px;
    border-radius: 20px;
  }

  .yj-fire-home-head {
    display: block;
  }

  .yj-all-news {
    margin-top: 18px;
  }

  .yj-fire-news-grid,
  .yj-archive-grid {
    grid-template-columns: 1fr;
  }

  .yj-news-card.is-featured {
    min-height: 310px;
  }

  .yj-card-link,
  .yj-news-card.is-featured .yj-card-link {
    padding: 23px;
  }

  .yj-fire-source-note {
    align-items: flex-start;
    text-align: left;
  }

  .yj-archive-inner,
  .yj-fire-archive,
  .yj-fire-single {
    width: min(100% - 28px, 1180px);
  }

  .yj-archive-hero {
    padding-inline: 18px;
  }

  .yj-archive-hero::after {
    right: -20px;
  }

  .yj-single-main {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .yj-single-main h1 {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yj-news-card,
  .yj-all-news,
  .yj-source-link,
  .yj-read-more b {
    transition: none;
  }
}

