/* Articles — simple layout */
.statiebi-background-wrapper {
  position: relative;
  background: #f4f6f8;
  min-height: calc(100vh - 63px);
}

.statiebi-dots-bg {
  position: fixed;
  top: 63px;
  left: 0;
  width: 100%;
  height: calc(100vh - 63px);
  z-index: 0;
  pointer-events: none;
}

.statiebi-page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-left: 1px solid #e9ecef;
  border-right: 1px solid #e9ecef;
  background: #fff;
  min-height: calc(100vh - 63px);
  flex: 1 1 auto;
  color: #1c3146;
}

.statiebi-page *,
.statiebi-page *::before,
.statiebi-page *::after {
  box-sizing: border-box;
}

.statiebi-shell {
  padding: 32px 20px 64px;
}

.statiebi-page a {
  text-decoration: none;
}

.statiebi-page a:hover,
.statiebi-page a:focus {
  text-decoration: none;
}

.statiebi-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: #64748b;
}

.statiebi-breadcrumb a {
  color: #1c3146;
}

.statiebi-breadcrumb a:hover {
  color: var(--site-brand);
}

.statiebi-breadcrumb__sep {
  color: #cbd5e1;
}

/* Load animation */
.statiebi-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
}

.statiebi-page--ready .statiebi-reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .statiebi-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Listing */
.statiebi-page-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9ecef;
}

.statiebi-page-header h1 {
  margin: 0 0 8px;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
}

.statiebi-page-header p {
  margin: 0;
  font-size: 1rem;
  color: #64748b;
  line-height: 1.5;
}

.statiebi-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.statiebi-list__item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 1.15rem;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.statiebi-list__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.statiebi-list__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f3f5;
}

.statiebi-list__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.statiebi-list__thumb--empty {
  background: #f1f3f5;
}

.statiebi-list__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.statiebi-list__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 6px;
}

.statiebi-list__date {
  display: block;
  margin-bottom: 0;
  font-size: 0.8125rem;
  color: #64748b;
}

.statiebi-list__views {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: #64748b;
  white-space: nowrap;
}

.statiebi-list__views i {
  font-size: 0.9rem;
  opacity: 0.85;
}

.statiebi-list__title {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}

.statiebi-list__title a {
  color: #1c3146;
}

.statiebi-list__title a:hover {
  color: #041123;
}

.statiebi-list__excerpt {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #64748b;
}

.statiebi-list__excerpt p {
  margin: 0;
}

.statiebi-list__link {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: #041123;
}

.statiebi-list__link:hover {
  color: var(--site-brand);
}

.statiebi-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e9ecef;
}

.statiebi-pagination__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  color: #1c3146;
  font-size: 0.875rem;
  font-weight: 600;
  background: #fff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.statiebi-pagination__btn:hover {
  border-color: #041123;
  background: #041123;
  color: #fff;
}

.statiebi-pagination__btn--disabled {
  opacity: 0.45;
  pointer-events: none;
}

.statiebi-pagination__info {
  font-size: 0.875rem;
  color: #64748b;
}

.statiebi-empty {
  padding: 48px 0;
  text-align: center;
  color: #64748b;
}

/* Single article */
.statiebi-back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: #64748b;
}

.statiebi-back:hover {
  color: #1c3146;
}

.statiebi-article__title {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: #1c3146;
}

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

.statiebi-article__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #475569;
}

.statiebi-article__date {
  font-weight: 600;
  color: #1c3146;
}

.statiebi-article__meta-item--reading {
  gap: 6px;
}

.statiebi-article__meta-label {
  font-weight: 500;
  color: #64748b;
}

.statiebi-article__meta-label::after {
  content: ":";
}

.statiebi-article__meta-value {
  font-weight: 600;
  color: #1c3146;
}

.statiebi-article__image {
  margin: 0 0 28px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f3f5;
}

.statiebi-article__image img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.statiebi-article__content {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
}

.statiebi-article__content p {
  margin: 0 0 1em;
}

.statiebi-article__content h2,
.statiebi-article__content h3 {
  margin: 1.5em 0 0.5em;
  font-weight: 700;
  color: #1c3146;
  line-height: 1.35;
}

.statiebi-article__content h2 {
  font-size: 1.2rem;
}

.statiebi-article__content h3 {
  font-size: 1.05rem;
}

.statiebi-article__content ul,
.statiebi-article__content ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.statiebi-article__content a {
  color: #1c3146;
}

.statiebi-article__content a:hover {
  color: #0ea5e9;
}

.statiebi-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e9ecef;
}

.statiebi-related__title {
  margin: 0 0 24px;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
}

.statiebi-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.statiebi-related__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.statiebi-related__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

.statiebi-related__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: #f1f3f5;
  overflow: hidden;
}

.statiebi-related__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.statiebi-related__media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 2rem;
}

.statiebi-related__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.15rem 1.2rem;
  gap: 0.55rem;
}

.statiebi-related__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.statiebi-related__date {
  font-size: 0.8125rem;
  color: #64748b;
}

.statiebi-related__views {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: #64748b;
  white-space: nowrap;
}

.statiebi-related__views i {
  font-size: 0.9rem;
  opacity: 0.85;
}

.statiebi-related__card-title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
}

.statiebi-related__card-title a {
  color: #1c3146;
}

.statiebi-related__card-title a:hover {
  color: #041123;
}

.statiebi-related__excerpt {
  margin: 0;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.statiebi-related__link {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: #041123;
}

.statiebi-related__link:hover {
  color: var(--site-brand);
}

@media (max-width: 991px) {
  .statiebi-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .statiebi-related__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .statiebi-shell {
    padding: 24px 16px 48px;
  }

  .statiebi-list__item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .statiebi-list__thumb {
    max-width: 100%;
  }
}
