/* CMS content area only. Never style sidebar here. */

/* Shell */
.content-layout {
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(148, 181, 79, 0.22), transparent 58%),
    radial-gradient(900px 450px at 85% -10%, rgba(82, 92, 168, 0.16), transparent 60%),
    #f0ede6;
}

.cms-content-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.cms-page {
  display: grid;
  gap: 18px;
}

/* Top Bar */
.cms-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
}

.cms-topbar-plain {
  padding: 4px 2px 0;
}

.cms-topbar .pill {
  font-size: 12px;
}

.cms-topbar-brand {
  font-family: Rajdhani, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6f8e33;
}

/* Hero */
.cms-hero-visual {
  margin-top: 10px;
}

.cms-title {
  font-family: Rajdhani, sans-serif;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: #2b2f36;
  margin: 0;
}

.cms-hero-bg {
  position: relative;
  overflow: hidden;
  min-height: clamp(300px, 48vw, 460px);
  border-radius: 18px;
  border: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    8px 8px 18px rgba(82, 87, 99, 0.15),
    -4px -4px 10px rgba(255, 255, 255, 0.42);
  background:
    radial-gradient(circle at 22% 28%, rgba(190, 210, 118, 0.92), rgba(123, 181, 66, 0.9) 28%, rgba(55, 94, 46, 0.92) 64%, rgba(38, 38, 38, 0.96)),
    linear-gradient(145deg, #a8c45d, #708d3d);
}

.cms-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(38, 38, 38, 0.12) 0, rgba(38, 38, 38, 0.12) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(55, 94, 46, 0.14) 0, rgba(55, 94, 46, 0.14) 1px, transparent 1px, transparent 4px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 3;
}

.cms-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(18px, 4vw, 40px);
  z-index: 4;
}

.cms-hero-copy {
  width: 100%;
  display: grid;
  gap: 12px;
}

.cms-hero-title {
  max-width: 14ch;
  margin: 0;
  color: #ffffff;
  font-family: Rajdhani, sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-shadow: 4px 4px 0 #94b54f;
}

.cms-hero-icon {
  position: absolute;
  right: 0;
  top: 52%;
  transform: translateY(-50%);
  font-size: clamp(14rem, 34vw, 28rem);
  line-height: 1;
  opacity: 0.18;
  transform: translate(50%, -50%);
  filter: saturate(0.85);
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

/* Hero Meta */
.cms-meta {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: #50555c;
  font-size: 13px;
}

.cms-meta-under-hero {
  padding: 0;
  margin-top: 0;
  gap: 10px;
}

.cms-meta-text {
  color: rgba(248, 246, 242, 0.92);
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.32rem 0.68rem;
  background: rgba(38, 38, 38, 0.2);
  border: 1px solid rgba(248, 246, 242, 0.16);
  backdrop-filter: blur(2px);
}

.cms-meta-sep {
  color: rgba(79, 85, 92, 0.52);
  margin: 0 2px;
}

.cms-inline-tag,
.cms-hot-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(248, 246, 242, 0.92);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.32rem 0.68rem;
  background: rgba(38, 38, 38, 0.18);
  border: 1px solid rgba(248, 246, 242, 0.16);
  backdrop-filter: blur(2px);
}

.cms-inline-tag + .cms-inline-tag {
  margin-left: 2px;
}

.cms-hot-flag {
  color: #ffd0e9;
  border-color: rgba(255, 208, 233, 0.4);
}

/* Layout */
.cms-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.45fr) minmax(240px, 0.8fr);
  gap: 18px;
  margin-top: 16px;
  align-items: start;
}

.cms-home-hot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.cms-home-latest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cms-home-card {
  padding: 8px;
  border: 1px solid rgba(149, 146, 146, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 6px 18px rgba(82, 87, 99, 0.08);
}

.cms-home-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.cms-home-card-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.cms-home-card-media-latest {
  height: 108px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(149, 146, 146, 0.22);
  background: radial-gradient(circle at 28% 22%, rgba(190, 210, 118, 0.92), rgba(112, 141, 61, 0.9) 52%, rgba(43, 47, 54, 0.94));
}

.cms-home-card-icon {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1;
  opacity: 0.4;
  filter: saturate(0.85);
  z-index: 1;
  pointer-events: none;
}

.cms-home-hot-card {
  border-radius: 14px;
  overflow: hidden;
  background: #1f242b;
  box-shadow: 0 16px 34px rgba(26, 33, 40, 0.18);
}

.cms-home-hot-media {
  position: relative;
  height: 280px;
  overflow: hidden;
  background:
    radial-gradient(circle at 22% 28%, rgba(190, 210, 118, 0.92), rgba(123, 181, 66, 0.9) 28%, rgba(55, 94, 46, 0.92) 64%, rgba(38, 38, 38, 0.96)),
    linear-gradient(145deg, #a8c45d, #708d3d);
  z-index: 1;
}

.cms-home-hot-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(38, 38, 38, 0.12) 0, rgba(38, 38, 38, 0.12) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(55, 94, 46, 0.14) 0, rgba(55, 94, 46, 0.14) 1px, transparent 1px, transparent 4px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 4;
}

.cms-home-hot-card .cms-home-card-thumb {
  opacity: 1;
  z-index: 3;
}

.cms-home-hot-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 5;
  padding: 16px 14px 14px;
  background: linear-gradient(180deg, rgba(12, 14, 16, 0.05), rgba(12, 14, 16, 0.8) 46%, rgba(12, 14, 16, 0.94));
}

.cms-home-hot-kicker {
  position: absolute;
  z-index: 5;
  left: 12px;
  top: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #f4f8eb;
  background: rgba(32, 38, 44, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.cms-home-hot-media .cms-home-card-icon {
  right: 10px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  font-size: clamp(3.4rem, 8vw, 6rem);
  opacity: 0.34;
  z-index: 2;
}

.cms-home-hot-title {
  margin: 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.18;
  font-family: Rajdhani, sans-serif;
}

.cms-home-hot-summary {
  margin: 8px 0 0;
  color: rgba(243, 246, 250, 0.92);
  font-size: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cms-home-card-body {
  margin-top: 10px;
}

.cms-home-card-title {
  margin: 0;
  font-family: Rajdhani, sans-serif;
  font-size: 18px;
  line-height: 1.25;
  color: #2b2f36;
}

.cms-home-card-latest .cms-home-card-title {
  font-size: 15px;
}

.cms-home-card-summary {
  margin: 8px 0 0;
  font-size: 14px;
  color: #5a6168;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cms-section {
  display: grid;
  gap: 12px;
}

.cms-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cms-section-title {
  margin: 0;
  font-family: Rajdhani, sans-serif;
  font-size: 24px;
  color: #2b2f36;
}

.cms-section-note {
  color: #666c73;
  font-size: 13px;
  line-height: 1.6;
  max-width: 52ch;
}

.cms-panel {
  padding: 16px;
}

/* Article Hero Background */
.cms-article-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 0% 0%, rgba(214, 229, 171, 0.42) 0%, rgba(194, 220, 122, 0.16) 8%, rgba(148, 181, 79, 0.06) 15%, transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(245, 242, 235, 0.93));
}

.cms-article-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 180px;
  height: 180px;
  transform: translate(-48%, -48%);
  border-radius: 0 0 100% 0;
  background: radial-gradient(circle at 35% 35%, rgba(226, 238, 186, 0.4) 0%, rgba(194, 220, 122, 0.16) 18%, rgba(148, 181, 79, 0.06) 34%, transparent 58%);
  opacity: 0.72;
  pointer-events: none;
}

.cms-article-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 38%);
  pointer-events: none;
}

.cms-article-panel > * {
  position: relative;
  z-index: 1;
}

.cms-h2-lcd {
  margin: 1.8rem 0 1rem;
}

/* Prose */
.cms-prose {
  margin-top: 12px;
  color: #34383e;
  line-height: 1.88;
  font-size: 16px;
  word-break: break-word;
  max-width: 78ch;
  padding-right: 2px;
}

.cms-prose h2,
.cms-prose h3,
.cms-prose h4,
.cms-prose h5 {
  color: #22262d;
  font-family: Rajdhani, sans-serif;
  line-height: 1.18;
  margin: 1.45em 0 0.58em;
  letter-spacing: 0.01em;
}

.cms-prose h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.8rem 0 1rem;
  padding: 0 0 0 0.65rem;
  border: 0;
  border-left: 3px solid rgba(148, 181, 79, 0.35);
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 1.56rem;
  line-height: 1.14;
  color: #324017;
}

.cms-prose h3 {
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 0.65rem;
  border-left: 3px solid rgba(148, 181, 79, 0.35);
  color: #324017;
}

.cms-prose h4 {
  font-size: 1.08rem;
}

.cms-prose h5 {
  font-size: 1rem;
}

.cms-prose p {
  margin: 0 0 1.08em;
}

.cms-prose > p:first-of-type {
  padding: 0.95rem 1rem 1rem;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(241, 246, 224, 0.62));
  border: 1px solid rgba(148, 181, 79, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 8px 20px rgba(82, 87, 99, 0.08);
  font-size: 1.04rem;
  color: #31343a;
}

.cms-prose ul,
.cms-prose ol {
  margin: 0.4em 0 1.12em 1.3em;
  padding: 0;
}

.cms-prose ul {
  list-style: none;
}

.cms-prose ul > li {
  position: relative;
  padding-left: 1.2rem;
}

.cms-prose ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: radial-gradient(circle, #cce28c 0%, #94b54f 72%, #6d8836 100%);
  box-shadow: 0 0 0 1px rgba(77, 106, 31, 0.22);
}

.cms-prose ol {
  counter-reset: cms-ol;
}

.cms-prose ol > li {
  position: relative;
  padding-left: 0.18rem;
}

.cms-prose ol > li::marker {
  color: #6f8e33;
  font-family: "IBM Plex Mono", monospace;
}

.cms-prose li {
  margin: 0.42em 0;
  padding-left: 0.12em;
}

.cms-prose blockquote {
  position: relative;
  margin: 1.15em 0;
  padding: 1.05em 1.2em 1.05em 3rem;
  border-left: 4px solid #6f8e33;
  background:
    radial-gradient(circle at 8% 10%, rgba(231, 241, 198, 0.95) 0%, rgba(231, 241, 198, 0.52) 22%, transparent 58%),
    linear-gradient(100deg, rgba(227, 236, 205, 0.9), rgba(255, 255, 255, 0.64));
  color: #394129;
  border-radius: 0 12px 12px 0;
}

.cms-prose blockquote::before {
  content: "“";
  position: absolute;
  left: 0.9rem;
  top: 0.35rem;
  font-family: Rajdhani, sans-serif;
  font-size: 2.8rem;
  line-height: 1;
  color: rgba(111, 142, 51, 0.28);
}

.cms-prose pre {
  position: relative;
  margin: 1.15em 0;
  padding: 1.25em 1.08em 1.02em;
  overflow: auto;
  background: linear-gradient(160deg, #1f2329, #2a2f37);
  color: #ebf5d6;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 22px rgba(31, 35, 41, 0.14);
}

.cms-prose pre::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #94b54f, #b6d46b, transparent 82%);
}

.cms-prose code {
  padding: 0.16em 0.38em;
  border-radius: 5px;
  background: rgba(148, 181, 79, 0.18);
  color: #25340f;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92em;
}

.cms-prose pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.cms-table-wrap {
  margin: 1.2em 0;
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(149, 146, 146, 0.2);
}

.cms-prose table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(149, 146, 146, 0.3);
  border-left: 4px solid rgba(148, 181, 79, 0.55);
  border-radius: 12px;
  overflow: hidden;
}

.cms-prose th,
.cms-prose td {
  padding: 0.72rem 0.85rem;
  border-bottom: 1px solid rgba(149, 146, 146, 0.18);
  text-align: left;
  vertical-align: top;
}

.cms-prose th {
  background: linear-gradient(180deg, rgba(171, 205, 103, 0.46), rgba(148, 181, 79, 0.3));
  font-weight: 700;
  color: #262a30;
}

.cms-prose tr:nth-child(even) td {
  background: rgba(236, 243, 224, 0.52);
}

.cms-prose tr:last-child td {
  border-bottom: none;
}

.cms-prose hr {
  margin: 1.2rem 0;
  border: 0;
  border-top: 1px solid rgba(149, 146, 146, 0.28);
}

.cms-article-ordered {
  margin: 0;
  padding-left: 1.25rem;
}

.cms-faq-list {
  display: grid;
  gap: 0.65rem;
}

.cms-faq-item {
  border: 1px solid rgba(149, 146, 146, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  padding: 0.85rem 0.95rem;
}

.cms-faq-item summary {
  cursor: pointer;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  color: #22262d;
}

.cms-faq-item summary::-webkit-details-marker {
  display: none;
}

.cms-faq-item summary::before {
  content: "+";
  display: inline-block;
  width: 1em;
  margin-right: 0.5rem;
  color: #94b54f;
}

.cms-faq-item[open] summary::before {
  content: "−";
}

.cms-faq-item > div {
  margin-top: 0.7rem;
  color: #4f5359;
}

.cms-prose a {
  color: #395813;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.cms-prose a:hover {
  color: #22360c;
}

.cms-prose strong {
  color: #262a30;
}

.cms-prose img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(149, 146, 146, 0.24);
  margin: 1rem auto;
  padding: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(236, 243, 224, 0.58));
  box-shadow: 0 12px 24px rgba(82, 87, 99, 0.1);
}

.cms-prose :is(h2, h3, h4, h5) + p {
  margin-top: 0.2em;
}

.cms-prose details {
  margin: 1em 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(149, 146, 146, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(240, 245, 228, 0.66));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.cms-prose details summary {
  cursor: pointer;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
  color: #2b2f36;
}

.cms-prose details summary::-webkit-details-marker {
  display: none;
}

.cms-prose details summary::before {
  content: "+";
  display: inline-block;
  width: 1em;
  margin-right: 0.5rem;
  color: #94b54f;
}

.cms-prose details[open] summary::before {
  content: "−";
}

.cms-prose details > div,
.cms-prose details > p {
  margin-top: 0.75rem;
  color: #4f5359;
}

/* Side Rail */
.cms-rail-stack {
  display: grid;
  gap: 12px;
}

.cms-rail-title {
  font-family: Rajdhani, sans-serif;
  font-size: 17px;
  margin: 0 0 10px;
  color: #2c3036;
}

.cms-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cms-home-tag-lcd {
  width: 100%;
}

.cms-home-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 12px;
  align-items: center;
}

.cms-home-tag-link {
  color: #525ca8;
  text-decoration: none;
  white-space: nowrap;
  font-family: Rajdhani, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.cms-home-intro {
  padding: 16px 0 12px;
}

.cms-home-block {
  padding: 10px 0 4px;
}

.cms-section-spacer {
  margin-top: 36px;
}

.cms-home-intro .cms-title {
  font-size: clamp(44px, 5.2vw, 68px);
  line-height: 0.95;
}

.cms-home-intro .cms-deck {
  font-size: 15px;
  line-height: 1.65;
  color: #4e4c50;
  max-width: 58ch;
}

.cms-home-latest-mix {
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(149, 146, 146, 0.2);
  background:
    linear-gradient(120deg, rgba(82, 92, 168, 0.12), rgba(171, 47, 121, 0.1)),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 18px rgba(82, 87, 99, 0.08);
}

.cms-home-latest-mix .cms-home-card-summary {
  margin-top: 8px;
  font-size: 13px;
  color: #4f5359;
  -webkit-line-clamp: 2;
}

.cms-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cms-tool-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.cms-mini-list p {
  margin: 0 0 6px;
  font-size: 14px;
  color: #53575e;
}

.cms-mini-list {
  display: grid;
  gap: 8px;
}

.cms-toc-panel {
  padding: 12px;
}

.cms-toc-empty {
  margin: 0;
  color: #7b7875;
  font-size: 13px;
}

.cms-toc-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 9px;
  margin-bottom: 8px;
  border-radius: 8px;
  border: 1px solid rgba(149, 146, 146, 0.22);
  background: rgba(255, 255, 255, 0.44);
  color: #36421d;
  text-decoration: none;
  transition: all 0.15s ease;
}

.cms-toc-link:last-child {
  margin-bottom: 0;
}

.cms-toc-link:hover {
  border-color: rgba(148, 181, 79, 0.58);
  background: rgba(245, 251, 230, 0.9);
  color: #213307;
}

.cms-toc-link span {
  flex: none;
  min-width: 22px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  line-height: 1.6;
  color: #6d7e3a;
}

.cms-toc-link em {
  flex: 1;
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
}

.cms-toc-level-3 {
  margin-left: 10px;
  width: calc(100% - 10px);
  background: rgba(248, 250, 242, 0.82);
}

.cms-rail-sticky {
  position: sticky;
  top: 18px;
  align-self: start;
}

.cms-tools-panel {
  padding: 12px;
}

/* Related Tools */
.cms-related-tools-title {
  font-family: Rajdhani, sans-serif;
  font-size: 17px;
  margin: 0 0 10px;
  color: #2c3036;
}

.cms-related-tools-list {
  display: grid;
  gap: 8px;
}

.cms-related-tool-item {
  display: block;
  width: 100%;
  padding: 14px 12px;
  border-radius: 0.375rem;
  border: 1px solid rgb(148, 181, 79, 0.7);
  background: linear-gradient(145deg, rgba(190, 210, 118, 0.32), rgba(137, 161, 83, 0.2));
  box-shadow: inset 1px 1px 0 rgba(248, 246, 242, 0.5);
  color: rgb(55, 94, 46);
  font-family: Rajdhani, sans-serif;
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: filter 0.15s ease;
}

.cms-related-tool-item:hover {
  filter: brightness(1.08);
}

.cms-related-tool-item:active {
  filter: brightness(0.95);
}

.cms-article-body {
  margin-top: 12px;
}

.cms-article-body > * + * {
  margin-top: 14px;
}

/* Responsive */
@media (max-width: 1080px) {
  .cms-main-grid {
    grid-template-columns: 1fr;
  }

  .cms-home-latest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cms-rail-sticky {
    position: static;
  }
}

@media (max-width: 768px) {
  .cms-title {
    font-size: clamp(26px, 8vw, 34px);
  }

  .cms-home-hot-grid {
    grid-template-columns: 1fr;
  }

  .cms-home-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cms-home-hot-media {
    height: 228px;
  }

  .cms-home-hot-title {
    font-size: 22px;
  }

  .cms-home-intro .cms-title {
    font-size: clamp(34px, 11vw, 48px);
  }

  .cms-home-tag-link {
    font-size: 18px;
  }

  .cms-hero-visual,
  .cms-panel {
    padding: 14px;
  }

  .cms-section-title {
    font-size: 20px;
  }

  .cms-prose {
    font-size: 15px;
    line-height: 1.82;
  }

  .cms-prose table {
    min-width: 460px;
  }
}

/* ==========================================================================
   Changelog Styles
   ========================================================================== */

/* Changelog List Container */
.changelog-list {
  display: grid;
  gap: 16px;
}

/* Changelog Item */
.changelog-item {
  /* 使用 panel-recessed 提供内凹效果 */
  transition: all 0.2s ease;
}

.changelog-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Changelog Content */
.changelog-content {
  line-height: 1.6;
  color: #2b2f36;
}

.changelog-content p {
  margin-bottom: 0.5em;
}

.changelog-content ul,
.changelog-content ol {
  margin-left: 1.5em;
  margin-bottom: 0.5em;
}

/* ===== 更新日志页（ChangelogView 构建样式）===== */
.changelog-view {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}
.changelog-header {
  margin-bottom: 2rem;
  text-align: center;
}
.changelog-header h1 {
  font-size: 2rem;
  color: #2d2d2d;
  margin-bottom: .5rem;
  font-family: Rajdhani, sans-serif;
  font-weight: 700;
}
.changelog-header p {
  color: #666;
  line-height: 1.6;
}
.changelog-content {
  padding: 2rem;
  background: #fafaf8;
}
.changelog-item {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #8ea85c;
  background: #fff;
  transition: all 0.3s ease;
}
.changelog-item:hover {
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.changelog-item:last-child {
  margin-bottom: 0;
}
.changelog-date {
  font-size: 0.9rem;
  color: #8ea85c;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: "IBM Plex Mono", monospace;
}
.changelog-text {
  font-size: 1rem;
  color: #2d2d2d;
  line-height: 1.6;
}
.changelog-text a {
  color: #94b54f;
  text-decoration: underline;
}
.changelog-text a:hover {
  color: #708d3d;
}
.changelog-empty {
  text-align: center;
  padding: 3rem;
  color: #959292;
}
.changelog-seo {
  margin-top: 1.5rem;
  padding: 1.5rem;
  color: #666;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ===== 关于我页（AboutView 构建样式）===== */
.about-view {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem;
}
.about-header {
  text-align: center;
  margin-bottom: 2rem;
}
.about-header h1 {
  font-family: Rajdhani, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dpad-500, #2b2f36);
}
.about-card {
  padding: 2.5rem;
  background: var(--fog-100, #e6e3de);
}
.about-section {
  margin-bottom: 2rem;
}
.about-section:last-of-type {
  margin-bottom: 0;
}
.section-title {
  font-family: Rajdhani, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--screen-dark, #708d3d);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--screen-green, #94b54f);
  display: inline-block;
}
.about-text {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.95rem;
  color: var(--dpad-500, #2b2f36);
  line-height: 1.8;
  text-align: justify;
}
.about-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--fog-200, #ccc8c3);
  text-align: center;
}
.about-footer p {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  color: var(--fog-400, #959292);
}
.about-seo {
  margin-top: 1.5rem;
  padding: 1.5rem;
  color: #666;
  line-height: 1.8;
  font-size: 0.95rem;
}
