/* Statistics list + detail — Medi-Tech Insights */
.statistics-page,
.statistic-detail-page {
  background: #f5f7f6;
}

.st-list-wrap,
.st-detail-wrap {
  padding: 40px 0 72px;
}

.st-layout,
.st-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
}

.st-page-title {
    margin: 0 0 28px;
    font: 700 45px / 1.25 var(--font-body);
    color: #0b3d2e;
    font-family: "DM Serif Display", serif;
}

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

.st-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 40, 30, 0.06);
}

.st-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8efe9;
}

.st-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.st-card:hover .st-card-media img {
  transform: scale(1.03);
}

.st-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 20px;
  flex: 1;
}

.st-card-body time {
  font: 400 13px/1.3 var(--font-alt);
  color: #6b7280;
}

.st-card-body h2 {
  margin: 0;
  font: 700 16px/1.4 var(--font-body);
  color: #0b3d2e;
}

.st-card-body h2 a {
  color: inherit;
  text-decoration: none;
}

.st-card-body h2 a:hover {
  color: #008028;
}

.st-card-body p {
  margin: 0;
  color: #4b5563;
  font: 400 14px/1.55 var(--font-alt);
  flex: 1;
}

.st-read-more {
  align-self: flex-start;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid #008028;
  border-radius: 20px;
  color: #008028;
  font: 600 13px var(--font-body);
  text-decoration: none;
  background: #fff;
}

.st-read-more:hover {
  background: #008028;
  color: #fff;
}

.st-sidebar-card {
  background: #fff;
  border-radius: 6px;
  padding: 22px 20px;
  box-shadow: 0 2px 10px rgba(0, 40, 30, 0.06);
  margin-bottom: 18px;
}

.st-sidebar-card h2 {
  margin: 0 0 14px;
  font: 700 20px/1.3 var(--font-body);
  color: #008028;
}

.st-sidebar-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.st-sidebar-card li {
  border-bottom: 1px solid #e8ece9;
}

.st-sidebar-card li:last-child {
  border-bottom: 0;
}

.st-sidebar-card li a {
  display: block;
  padding: 12px 0;
  color: #333;
  font: 500 14px/1.4 var(--font-body);
  text-decoration: none;
}

.st-sidebar-card li a:hover {
  color: #008028;
}

.st-sidebar-empty {
  margin: 0;
  color: #6b7280;
  font: 400 14px var(--font-alt);
}

.st-sidebar-cta p {
  margin: 0 0 14px;
  color: #4b5563;
  font: 400 14px/1.5 var(--font-alt);
}

.st-sidebar-cta > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 24px;
  background: #008028;
  color: #fff;
  font: 600 13px var(--font-body);
  text-decoration: none;
}

.st-empty {
  background: #fff;
  border-radius: 8px;
  padding: 48px 24px;
  text-align: center;
}

.st-empty h2 {
  margin: 0 0 8px;
  color: #0b3d2e;
}

.st-empty p {
  margin: 0;
  color: #6b7280;
}

.st-pagination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.st-pagination a,
.st-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  background: #fff;
  color: #0b3d2e;
  text-decoration: none;
  font: 600 14px var(--font-body);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.st-pagination span[aria-disabled="true"] {
  opacity: 0.45;
}

.st-page-status {
  box-shadow: none !important;
  background: transparent !important;
  color: #6b7280 !important;
  font-weight: 500 !important;
}

/* Detail */
.st-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font: 500 14px/1.4 var(--font-body);
  color: #6b7280;
}

.st-breadcrumb a {
  color: #008028;
  text-decoration: none;
}

.st-breadcrumb a:hover {
  text-decoration: underline;
}

.st-article {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 42px 36px 40px;
  box-shadow: 0 4px 18px rgba(0, 40, 30, 0.07);
}

.st-date-badge {
  position: absolute;
  top: 0;
  left: 24px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  background: #0b3d2e;
  color: #fff;
  font: 600 13px/1 var(--font-body);
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
}

.st-date-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-top: 8px solid #008028;
  border-right: 8px solid transparent;
}

.st-article h1 {
  margin: 18px 0 10px;
  font: 700 30px/1.3 var(--font-body);
  color: #0b3d2e;
}

.st-author {
  margin: 0 0 18px;
  color: #6b7280;
  font: 500 14px/1.4 var(--font-alt);
}

.st-intro {
  margin: 0 0 22px;
  color: #374151;
  font: 400 16px/1.7 var(--font-alt);
}

.st-article-image {
  margin: 0 0 24px;
  border-radius: 8px;
  overflow: hidden;
}

.st-article-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 420px;
}

.st-article-content {
  color: #333;
  font: 400 16px/1.75 var(--font-alt);
}

.st-article-content h2,
.st-article-content h3 {
  color: #0b3d2e;
  margin-top: 1.5em;
}

.st-article-content ul,
.st-article-content ol {
  padding-left: 1.25em;
}

.st-article-content li {
  margin-bottom: 0.55em;
}

.st-article-content strong {
  color: #0b3d2e;
}

.st-article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 1100px) {
  .st-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .st-layout,
  .st-detail-layout {
    grid-template-columns: 1fr;
  }

  .st-sidebar {
    order: 2;
  }
}

@media (max-width: 640px) {
  .st-list-wrap,
  .st-detail-wrap {
    padding: 28px 0 52px;
  }

  .st-page-title {
    font-size: 28px;font-weight: normal;
  }

  .st-card-grid {
    grid-template-columns: 1fr;
  }

  .st-article {
    padding: 36px 18px 28px;
  }

  .st-article h1 {
    font-size: 24px;
  }
}
