html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body,
.list-page {
  background: #f3f2ef;
}

body {
  font-family: Poppins, sans-serif;
  color: #4d4643;
}

.list-page {
  width: 100%;
}

.list-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 28px 84px;
}

#list-items {
  display: flex;
  flex-direction: column;
  gap: 26px;
  transition: opacity .22s ease;
}

.list-card {
  display: flex;
  min-height: 218px;
  background: #fff;
  border: 1px solid #ece6e0;
  border-radius: 0 0 40px 0;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(60, 60, 60, .08);
  transition: transform .28s cubic-bezier(.2, .7, .3, 1), box-shadow .28s ease;
}

.list-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(60, 60, 60, .15);
}

.list-card.is-hidden {
  display: none;
}

.list-image-wrap {
  width: 380px;
  flex: none;
  overflow: hidden;
  border-radius: 0 0 40px 0;
}

.list-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 218px;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2, .7, .3, 1), filter .3s ease;
}

.list-card:hover .list-image {
  transform: scale(1.06);
  filter: brightness(.94);
}

.list-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px 36px;
  min-width: 0;
}

.list-title {
  margin: 0;
  font-family: Poppins, sans-serif;
  font-size: 23px;
  line-height: 1.35;
  color: #2b2b2b;
  letter-spacing: -.01em;
}

.list-date {
  margin-top: 7px;
  font-size: 13px;
  color: #9a9a9a;
}

.list-author {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #7f7a72;
}

.list-description {
  margin: 12px 0 0;
  max-width: 620px;
  font-size: 14px;
  line-height: 1.7;
  color: #888;
}

.list-spacer {
  flex: 1;
}

.breadcrumb-link {
  transition: color .2s;
}

.breadcrumb-link:hover {
  color: #ffb03b;
}

.read-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 7px;
  margin-top: 20px;
  color: #f18d1b;
  font-size: 14px;
  font-weight: 700;
  transition: gap .25s;
}

.list-card:hover .read-more {
  gap: 11px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.page-btn,
.page-ellipsis {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 20px;
  font: 700 14px Poppins, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-btn {
  border: 1px solid #e2dcd5;
  background: #fff;
  color: #4d4643;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.page-btn:hover:not(:disabled):not(.is-disabled) {
  background: #fdf1e3;
  border-color: #f18d1b;
  color: #f18d1b;
}

.page-btn.is-active {
  background: #f18d1b;
  border-color: #f18d1b;
  color: #fff;
}

.page-btn:disabled,
.page-btn.is-disabled {
  opacity: .4;
  cursor: not-allowed;
  pointer-events: none;
}

.page-ellipsis {
  color: #8a837e;
}

.list-empty {
  text-align: center;
  color: #827a73;
  font-size: 14px;
  padding: 32px 0;
}

.list-skeleton {
  display: flex;
  min-height: 218px;
  background: #fff;
  border: 1px solid #ece6e0;
  border-radius: 0 0 40px 0;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(60, 60, 60, .08);
}

.list-skeleton-image {
  width: 380px;
  flex: none;
}

.list-skeleton-body {
  flex: 1;
  padding: 32px 36px;
}

.skeleton-block {
  position: relative;
  overflow: hidden;
  background: #e4ded8;
}

.skeleton-block::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  animation: skeleton-shimmer 1.35s infinite;
}

.list-skeleton-title {
  width: 58%;
  height: 26px;
  border-radius: 6px;
}

.list-skeleton-date {
  width: 150px;
  height: 13px;
  border-radius: 6px;
  margin-top: 12px;
}

.list-skeleton-line {
  height: 14px;
  border-radius: 6px;
  margin-top: 14px;
}

.list-skeleton-line.short {
  width: 64%;
}

@keyframes skeleton-shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 768px) {
  .list-wrap {
    padding: 48px 18px 64px !important;
  }

  .list-card,
  .list-skeleton {
    flex-direction: column;
  }

  .list-image-wrap,
  .list-skeleton-image {
    width: 100%;
    height: 205px;
  }

  .list-image {
    min-height: 205px;
  }

  .list-content,
  .list-skeleton-body {
    padding: 22px !important;
  }

  .list-title {
    font-size: 19px !important;
  }

  .page-title {
    font-size: 36px !important;
  }

  .hero-banner {
    height: 315px !important;
  }
}
