.content-main {
  padding: 38px 0 70px;
}

.content-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.content-toolbar .search-group {
  display: flex;
  flex: 1;
  min-width: 280px;
  gap: 8px;
}

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

.content-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(40, 55, 82, 0.06);
}

.content-card-cover {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.content-card-body {
  padding: 19px;
}

.content-card h2 {
  margin: 0 0 8px;
  font-size: 21px;
}

.content-card p {
  display: -webkit-box;
  margin: 0 0 17px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.content-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 17px;
  color: #94a3b8;
  font-size: 12px;
}

.content-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.status-badge {
  display: inline-flex;
  padding: 4px 9px;
  color: #166534;
  background: #dcfce7;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.status-badge.draft {
  color: #92400e;
  background: #fef3c7;
}

/* Blog listing ----------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.blog-page {
  --primary: #ed684a;
  --primary-dark: #d94f32;
  --blog-ink: #18251f;
  --blog-muted: #69746e;
  --blog-cream: #f7f4ed;
  --blog-line: #dedfd8;
  color: var(--blog-ink);
  background: var(--blog-cream);
}

.blog-header {
  position: relative;
  min-height: 438px;
  padding-bottom: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 35%, rgba(241, 197, 108, 0.24) 0 2px, transparent 3px),
    linear-gradient(120deg, #f5f0e6 0%, #f9f6f0 48%, #eaf1ea 100%);
  background-size: 30px 30px, auto;
}

.blog-header::before {
  position: absolute;
  top: 120px;
  right: -80px;
  width: 430px;
  height: 430px;
  content: "";
  background: rgba(179, 205, 185, 0.28);
  border-radius: 52% 48% 35% 65% / 52% 34% 66% 48%;
  transform: rotate(-14deg);
}

.blog-hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 56px;
  align-items: center;
  min-height: 300px;
  margin-top: 24px;
}

.blog-hero-copy {
  max-width: 650px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #2f6652;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.blog-hero h1 {
  margin: 0;
  color: var(--blog-ink);
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: clamp(44px, 5.2vw, 68px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.blog-hero h1 span {
  color: var(--primary);
}

.blog-hero-description {
  max-width: 560px;
  margin: 17px 0 0;
  color: var(--blog-muted);
  font-size: 17px;
  line-height: 1.85;
}

.blog-hero-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 22px;
}

.blog-create-button {
  min-height: 50px;
  padding-inline: 22px;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(237, 104, 74, 0.2);
}

.blog-create-button span,
.toolbar-create-button span {
  margin-right: 5px;
  font-size: 20px;
  font-weight: 400;
}

.hero-text-link {
  color: #40564b;
  font-size: 14px;
  font-weight: 700;
}

.hero-text-link span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.2s;
}

.hero-text-link:hover span {
  transform: translateY(3px);
}

.blog-hero-art {
  position: relative;
  min-height: 250px;
}

.hero-note {
  position: absolute;
  width: 285px;
  height: 205px;
  border-radius: 10px;
}

.hero-note-back {
  top: 40px;
  right: 64px;
  background: #2f6652;
  box-shadow: 0 30px 70px rgba(40, 70, 57, 0.2);
  transform: rotate(9deg);
}

.hero-note-main {
  top: 18px;
  right: 88px;
  z-index: 2;
  display: flex;
  padding: 32px 31px;
  flex-direction: column;
  color: var(--blog-ink);
  background: #fffdf8;
  border: 1px solid rgba(66, 84, 74, 0.1);
  box-shadow: 0 24px 60px rgba(45, 67, 56, 0.17);
  transform: rotate(-4deg);
}

.hero-note-main::before {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 86px;
  height: 29px;
  content: "";
  background: rgba(238, 193, 115, 0.58);
  transform: translateX(-50%) rotate(2deg);
}

.hero-note-label {
  color: #8a948e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-note strong {
  margin: 13px 0 17px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 24px;
}

.hero-note-line {
  width: 100%;
  height: 7px;
  margin-bottom: 10px;
  background: #e8ebe5;
  border-radius: 999px;
}

.hero-note-line.short {
  width: 68%;
}

.hero-note-signature {
  margin-top: auto;
  color: #8a948e;
  font-size: 11px;
}

.hero-spark {
  position: absolute;
  z-index: 3;
  color: #e8a83e;
}

.hero-spark-one {
  top: 12px;
  right: 34px;
  font-size: 30px;
}

.hero-spark-two {
  right: 30px;
  bottom: 26px;
  font-size: 18px;
}

.blog-page .content-main {
  padding-top: 70px;
  padding-bottom: 90px;
}

.blog-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.blog-section-heading h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.blog-section-heading .section-kicker {
  margin-bottom: 7px;
  color: var(--primary);
}

.blog-result-summary {
  margin: 0 0 6px;
  color: var(--blog-muted);
  font-size: 14px;
}

.blog-page .content-toolbar {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) 190px auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 34px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(208, 211, 202, 0.9);
  border-radius: 18px;
  box-shadow: 0 9px 34px rgba(49, 64, 56, 0.05);
}

.blog-page .content-toolbar .search-group {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  min-width: 0;
}

.blog-page .search-group .input {
  height: 48px;
  padding-left: 44px;
  background: #fff;
  border-color: #d7dad2;
  border-radius: 12px;
}

.search-icon {
  position: absolute;
  top: 8px;
  left: 15px;
  z-index: 1;
  color: #7c8881;
  font-size: 25px;
  line-height: 30px;
  transform: rotate(-18deg);
  pointer-events: none;
}

.search-button {
  min-height: 48px;
  padding-inline: 20px;
}

.scope-field {
  display: grid;
  gap: 5px;
}

.scope-field>span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.scope-field .select {
  height: 48px;
  background-color: #fff;
  border-color: #d7dad2;
}

.toolbar-create-button {
  min-height: 48px;
  white-space: nowrap;
}

.blog-page .content-grid {
  gap: 24px;
}

.blog-page .content-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-color: var(--blog-line);
  border-radius: 18px;
  box-shadow: 0 10px 34px rgba(43, 58, 50, 0.07);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.blog-page .content-card:hover,
.blog-page .content-card:focus-within {
  border-color: #c2cbbf;
  box-shadow: 0 20px 50px rgba(43, 58, 50, 0.12);
  transform: translateY(-5px);
}

.content-card-media {
  display: block;
  overflow: hidden;
  background: #dde8de;
}

.blog-page .content-card-cover {
  width: 100%;
  height: 218px;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.blog-page .content-card:hover .content-card-cover {
  transform: scale(1.035);
}

.content-card-placeholder {
  position: relative;
  display: grid;
  padding: 24px;
  place-content: center;
  color: #fff;
  background:
    radial-gradient(circle at 78% 24%, rgba(246, 205, 113, 0.8) 0 9%, transparent 10%),
    linear-gradient(135deg, #315f4d, #7ca486);
  text-align: center;
}

.content-card-placeholder::before,
.content-card-placeholder::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.content-card-placeholder::before {
  inset: 26px 45px;
}

.content-card-placeholder::after {
  inset: 50px 72px;
}

.content-card-placeholder span {
  z-index: 1;
  font-family: Georgia, serif;
  font-size: 66px;
  line-height: 1;
}

.content-card-placeholder small {
  z-index: 1;
  margin-top: 10px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.blog-page .content-card-body {
  display: flex;
  min-height: 300px;
  padding: 22px;
  flex: 1;
  flex-direction: column;
}

.content-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  color: #909a94;
  font-size: 11px;
  font-weight: 700;
}

.blog-page .status-badge {
  padding: 4px 9px;
  color: #2e6951;
  background: #e8f2e9;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.blog-page .status-badge.draft {
  color: #8e651c;
  background: #fbefd6;
}

.blog-page .content-card h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: 23px;
  line-height: 1.4;
}

.blog-page .content-card h2 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog-page .content-card h2 a:hover,
.blog-page .content-card h2 a:focus-visible {
  color: var(--primary);
  outline: none;
}

.blog-page .content-card-summary {
  display: -webkit-box;
  min-height: 67px;
  margin: 0 0 22px;
  overflow: hidden;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.content-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 17px;
  border-top: 1px solid #eceee9;
}

.content-author {
  display: flex;
  gap: 9px;
  align-items: center;
  min-width: 0;
}

.content-author-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: #365f4f;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.content-author>span:last-child {
  display: grid;
  min-width: 0;
}

.content-author strong {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-author time {
  color: #929c96;
  font-size: 10px;
}

.blog-page .content-actions {
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.card-icon-button {
  padding: 3px 0;
  color: #6f7a74;
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 700;
}

.card-icon-button:hover,
.card-icon-button:focus-visible {
  color: var(--primary);
  outline: none;
}

.card-icon-button.danger:hover,
.card-icon-button.danger:focus-visible {
  color: var(--danger);
}

.read-more-link {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  color: #2f6652;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.read-more-link span {
  transition: transform 0.2s;
}

.read-more-link:hover span,
.read-more-link:focus-visible span {
  transform: translateX(4px);
}

.read-more-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.blog-card-skeleton {
  display: flex;
  min-height: 515px;
  padding: 0 22px 22px;
  overflow: hidden;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--blog-line);
  border-radius: 18px;
}

.blog-card-skeleton span,
.blog-card-skeleton i {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e9ebe7;
}

.blog-card-skeleton span::after,
.blog-card-skeleton i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.4s infinite;
}

.blog-card-skeleton span {
  width: calc(100% + 44px);
  height: 218px;
  margin: 0 -22px 24px;
}

.blog-card-skeleton i {
  width: 86%;
  height: 14px;
  margin-bottom: 12px;
  border-radius: 999px;
}

.blog-card-skeleton i:nth-of-type(1) {
  width: 42%;
  height: 23px;
}

.blog-card-skeleton i:nth-of-type(3) {
  width: 64%;
}

.blog-empty-state {
  grid-column: 1 / -1;
  min-height: 330px;
  align-content: center;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed #cbd0c7;
  border-radius: 18px;
}

.blog-empty-state h3 {
  margin: 12px 0 5px;
  font-family: Georgia, "Songti SC", serif;
  font-size: 25px;
}

.blog-empty-state p {
  margin: 0 auto 18px;
  color: var(--blog-muted);
}

.empty-state-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin: auto;
  place-items: center;
  color: #fff;
  background: #73917f;
  border-radius: 50%;
  font-size: 22px;
}

.blog-page .pagination {
  gap: 18px;
  margin-top: 40px;
}

.pagination-button {
  min-height: 40px;
  padding: 0 15px;
  color: #40564b;
  background: transparent;
  border: 1px solid #ccd2c9;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.pagination-button:hover:not(:disabled),
.pagination-button:focus-visible:not(:disabled) {
  color: #fff;
  background: #365f4f;
  border-color: #365f4f;
  outline: none;
}

.pagination-info {
  display: grid;
  min-width: 54px;
  min-height: 40px;
  place-items: center;
  color: #68746e;
  font-size: 13px;
  font-weight: 800;
}

.blog-footer {
  padding: 27px 0;
  color: #dce9df;
  background: #203f33;
  font-size: 13px;
}

.blog-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.blog-footer a {
  color: #fff;
  font-weight: 700;
}

.blog-page .modal {
  --modal-accent: #39705a;
  border: 1px solid #e2e3de;
  border-radius: 24px;
}

.blog-page .modal-xl {
  width: min(980px, 100%);
}

.blog-page .modal h2 {
  font-family: Georgia, "Songti SC", serif;
  font-size: 28px;
}

.field-hint {
  color: #8a948e;
  font-size: 11px;
}

.editor-content-input {
  min-height: 280px;
  line-height: 1.75;
}

.visibility-toggle {
  position: relative;
  display: flex;
  min-height: 48px;
  padding: 7px 11px;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #d9ddd5;
  border-radius: 11px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.visibility-toggle:hover {
  background: #f1f5ef;
  border-color: #b9c6bb;
}

.visibility-copy {
  display: grid;
  flex: 1;
  gap: 3px;
}

.visibility-copy strong {
  font-size: 13px;
  line-height: 1.35;
}

.visibility-copy small {
  color: #7d8882;
  font-size: 10px;
  line-height: 1.3;
}

.visibility-switch {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  width: 40px;
  height: 22px;
  margin: 0;
  flex: 0 0 auto;
  background: #c8cec9;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
}

.visibility-switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  content: "";
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(35, 55, 45, 0.2);
  transition: transform 0.2s;
}

.visibility-switch:checked {
  background: #39705a;
}

.visibility-switch:checked::after {
  transform: translateX(18px);
}

.visibility-switch:focus-visible {
  box-shadow: 0 0 0 3px rgba(57, 112, 90, 0.2);
}

.visibility-field .field-label {
  font-size: 14px;
  font-weight: 700;
}

.card-icon-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.editor-form {
  display: grid;
  gap: 18px;
}

.editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.blog-page .editor-step,
.blog-page .upload-icon {
  color: #39705a;
  background: #eaf1ec;
}

.blog-page .upload-dropzone:hover,
.blog-page .upload-dropzone:focus-within {
  color: #39705a;
  background: #f4f8f4;
  border-color: #39705a;
}

.blog-page .upload-file-name {
  color: #39705a !important;
}

@media (max-width: 640px) {
  .blog-page .modal {
    width: 100%;
    border-radius: 22px 22px 0 0;
  }

  .editor-content-input {
    min-height: 220px;
  }
}

.article-layout {
  display: block;
  width: 100%;
}

.article {
  width: 100%;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.article-cover {
  width: 100%;
  max-height: 460px;
  margin-bottom: 28px;
  object-fit: cover;
  border-radius: 16px;
}

.article h1 {
  margin: 0 0 12px;
  font-size: clamp(31px, 5vw, 52px);
  line-height: 1.2;
}

.article-meta {
  margin-bottom: 30px;
  color: var(--muted);
}

.article-content {
  color: #334155;
  font-size: 17px;
  white-space: pre-wrap;
}

.news-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.news-page .content-main {
  padding-top: 30px;
}

.news-page .content-toolbar {
  margin-bottom: 16px;
  padding: 9px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(32, 53, 83, 0.07);
  backdrop-filter: blur(14px);
}

.news-page .content-toolbar .input {
  min-height: 46px;
  padding-inline: 16px;
  background: rgba(255, 255, 255, 0.92);
  border-color: transparent;
  border-radius: 12px;
}

.news-page .content-toolbar .input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  outline: none;
}

.news-page .content-toolbar .button {
  min-width: 92px;
  min-height: 46px;
}

.news-category-nav {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  padding: 7px;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 17px;
  box-shadow: 0 10px 28px rgba(32, 53, 83, 0.06);
  scrollbar-width: none;
}

.news-category-nav::-webkit-scrollbar {
  display: none;
}

.news-category-nav button {
  min-width: 82px;
  height: 40px;
  color: #475569;
  background: transparent;
  border: 0;
  border-radius: 11px;
  font-weight: 700;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.news-category-nav button:hover,
.news-category-nav button:focus-visible {
  color: var(--primary);
  background: #eff6ff;
  outline: none;
}

.news-category-nav button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  box-shadow: 0 7px 18px rgba(37, 99, 235, 0.24);
}

.news-lead {
  position: relative;
  height: 370px;
  margin: 0 0 30px;
  overflow: hidden;
  background: #dbeafe;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  box-shadow: 0 20px 46px rgba(24, 44, 75, 0.16);
  isolation: isolate;
}

.news-slides,
.news-slide {
  position: absolute;
  inset: 0;
}

.news-slide {
  display: block;
  visibility: hidden;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.65s ease, transform 0.8s ease, visibility 0.65s;
}

.news-slide.is-active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.news-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-slide img[hidden],
.news-slide-placeholder[hidden] {
  display: none;
}

.news-slide-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 28px;
  place-items: center;
  align-content: center;
  gap: 9px;
  color: #52627a;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.75) 0 7%, transparent 8%),
    linear-gradient(135deg, #dceeff, #e9f6f3 52%, #f8e8ef);
  text-align: center;
}

.news-slide-placeholder > span {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 19px;
  font-size: 20px;
  font-weight: 900;
}

.news-slide-placeholder strong {
  color: var(--ink);
  font-size: 18px;
}

.news-slide-placeholder p {
  max-width: 560px;
  margin: 0;
  font-size: 13px;
}

.news-slide-placeholder.is-loading > span {
  animation: news-placeholder-pulse 1.4s ease-in-out infinite;
}

.news-slide-placeholder.is-error > span {
  color: var(--danger);
}

@keyframes news-placeholder-pulse {
  50% {
    opacity: 0.52;
    transform: scale(0.92);
  }
}

.news-lead-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 90px 78px 32px 30px;
  color: #fff;
  background: linear-gradient(transparent, rgba(8, 18, 36, 0.93));
}

.news-lead-copy h2 {
  max-width: 780px;
  margin: 0;
  overflow: hidden;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-wrap: balance;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-carousel-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0 0 3px;
  place-items: center;
  color: #fff;
  background: rgba(15, 23, 42, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  font-size: 31px;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.2s, background 0.2s, transform 0.2s;
  backdrop-filter: blur(8px);
}

.news-carousel-prev {
  left: 18px;
}

.news-carousel-next {
  right: 18px;
}

.news-lead:hover .news-carousel-arrow,
.news-lead:focus-within .news-carousel-arrow {
  opacity: 1;
}

.news-carousel-arrow:hover,
.news-carousel-arrow:focus-visible {
  background: rgba(37, 99, 235, 0.88);
  outline: none;
  transform: translateY(-50%) scale(1.06);
}

.news-carousel-dots {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 31px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.news-carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  border: 0;
  border-radius: 999px;
  transition: width 0.25s, background 0.25s;
}

.news-carousel-dot.is-active {
  width: 24px;
  background: #fff;
}

.news-carousel-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.news-page .section-heading {
  margin: 0 0 16px;
}

.news-page .section-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 22px;
}

.news-page .section-heading h2::before {
  width: 5px;
  height: 22px;
  content: '';
  background: linear-gradient(var(--primary), #4f46e5);
  border-radius: 99px;
}

.news-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.news-row {
  position: relative;
  display: flex;
  min-height: 148px;
  padding: 20px;
  overflow: hidden;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(32, 53, 83, 0.07);
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s;
}

.news-row::after {
  position: absolute;
  right: -26px;
  bottom: -30px;
  width: 84px;
  height: 84px;
  content: '';
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent 68%);
  border-radius: 50%;
}

.news-row:hover,
.news-row:focus-visible {
  border-color: #bfdbfe;
  box-shadow: 0 16px 34px rgba(32, 53, 83, 0.13);
  outline: none;
  transform: translateY(-3px);
}

.news-row h3 {
  max-height: 3em;
  margin: 0 0 10px;
  overflow: hidden;
  color: #1e293b;
  font-size: 17px;
  line-height: 1.5;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-row p {
  max-height: 5.1em;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.hot-panel {
  position: sticky;
  top: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(32, 53, 83, 0.1);
  backdrop-filter: blur(14px);
}

.hot-panel h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  font-size: 21px;
}

.hot-panel h2::before {
  width: 9px;
  height: 9px;
  content: '';
  background: #f43f5e;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(244, 63, 94, 0.1);
}

.hot-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: hot;
}

.hot-list li {
  counter-increment: hot;
  padding: 14px 0;
  border-top: 1px solid #e8edf4;
}

.hot-list a {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  align-items: start;
  overflow: hidden;
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
  transition: color 0.2s;
}

.hot-list a::before {
  content: counter(hot);
  color: var(--primary);
  font-size: 15px;
  font-weight: 800;
}

.hot-list a:hover,
.hot-list a:focus-visible {
  color: var(--primary);
  outline: none;
}

.hot-list li:nth-child(-n + 3) a::before {
  color: #f43f5e;
}

.news-page .pagination {
  gap: 14px;
  margin-top: 30px;
}

.news-page .pagination .button-sm {
  display: inline-flex;
  width: auto;
  min-width: 92px;
  border-radius: 11px;
}

.news-page .pagination [data-page-info] {
  min-width: 104px;
  color: #475569;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

/* 关键词搜索后取消焦点+热点的默认布局，让结果以独立列表展示。 */
.news-search-results .news-page-layout {
  grid-template-columns: minmax(0, 1fr);
}

.news-search-results .news-lead,
.news-search-results .hot-panel {
  display: none;
}

.news-search-results .news-list {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.news-search-results .news-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  min-height: 0;
  padding: 20px 24px;
  gap: 24px;
  align-items: start;
}

.news-search-results .news-row h3 {
  max-height: 4.5em;
  margin: 0;
  -webkit-line-clamp: 3;
}

.news-search-results .news-row p {
  max-height: 5.1em;
}

@media (max-width: 980px) {
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-page-layout {
    grid-template-columns: 1fr;
  }

  .hot-panel {
    position: static;
  }
}

@media (max-width: 620px) {

  .content-grid,
  .news-list,
  .editor-grid {
    grid-template-columns: 1fr;
  }

  .content-toolbar .search-group {
    min-width: 100%;
  }

  .article {
    padding: 22px 18px;
  }

  .news-page .content-main {
    padding-top: 22px;
  }

  .news-page .content-toolbar {
    padding: 7px;
  }

  .news-page .content-toolbar .button {
    min-width: 76px;
    padding-inline: 15px;
  }

  .news-category-nav {
    margin-bottom: 18px;
  }

  .news-category-nav button {
    min-width: 70px;
  }

  .news-lead {
    height: 270px;
    margin-bottom: 24px;
    border-radius: 19px;
  }

  .news-lead-copy {
    padding: 75px 24px 26px;
  }

  .news-lead-copy h2 {
    font-size: 21px;
  }

  .news-carousel-arrow {
    width: 38px;
    height: 38px;
    opacity: 1;
  }

  .news-carousel-prev {
    left: 12px;
  }

  .news-carousel-next {
    right: 12px;
  }

  .news-carousel-dots {
    right: 22px;
    bottom: 17px;
  }

  .news-row {
    min-height: 136px;
  }

  .hot-panel {
    padding: 21px;
  }

  .news-search-results .news-row {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .news-search-results .news-row h3 {
    max-height: 3em;
    -webkit-line-clamp: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-slide,
  .news-row,
  .news-carousel-arrow,
  .news-carousel-dot {
    transition: none;
  }
}

@media (max-width: 980px) {
  .blog-header {
    min-height: 420px;
  }

  .blog-hero {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 26px;
    min-height: 280px;
  }

  .hero-note {
    width: 240px;
    height: 190px;
  }

  .hero-note-main {
    right: 34px;
    padding: 28px 25px;
  }

  .hero-note-back {
    right: 15px;
  }

  .hero-note strong {
    font-size: 23px;
  }

  .blog-page .content-toolbar {
    grid-template-columns: minmax(280px, 1fr) 185px;
  }

  .toolbar-create-button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .blog-header {
    min-height: 0;
    padding-bottom: 30px;
  }

  .blog-header::before {
    top: 200px;
    right: -180px;
  }

  .blog-hero {
    display: block;
    min-height: auto;
    margin-top: 34px;
  }

  .blog-hero-copy {
    max-width: 600px;
  }

  .blog-hero-art {
    display: none;
  }

  .blog-page .content-main {
    padding-top: 52px;
    padding-bottom: 68px;
  }

  .blog-page .content-toolbar {
    grid-template-columns: 1fr;
  }

  .toolbar-create-button {
    grid-column: auto;
  }

  .blog-page .content-toolbar .search-group {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 540px) {
  .blog-header {
    min-height: 0;
    padding-bottom: 28px;
  }

  .blog-hero {
    margin-top: 30px;
  }

  .blog-hero h1 {
    font-size: clamp(40px, 13.5vw, 56px);
  }

  .blog-hero-description {
    font-size: 15px;
  }

  .blog-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .blog-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .blog-page .content-toolbar {
    padding: 10px;
  }

  .blog-page .content-toolbar .search-group {
    grid-template-columns: 1fr;
  }

  .blog-page .search-group .input {
    padding-left: 42px;
  }

  .search-button {
    width: 100%;
  }

  .blog-page .content-card-body {
    min-height: 280px;
    padding: 19px;
  }

  .content-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-page .content-actions {
    width: 100%;
    justify-content: space-between;
  }

  .blog-page .pagination {
    gap: 9px;
  }

  .pagination-button {
    padding-inline: 12px;
  }

  .blog-footer .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}
