body:has(.posts-archive-page) {
  background: #f8f9fc;
}

body:has(.posts-archive-page) .article-header-shell {
  background: rgba(10, 48, 92, .72);
  border-color: rgba(255, 255, 255, .08);
  box-shadow: none;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: transform .28s ease, opacity .22s ease, background-color .24s ease, border-color .24s ease, box-shadow .24s ease, top .24s ease;
}

body:has(.posts-archive-page) .article-header-shell.is-scrolled {
  background: rgba(10, 48, 92, .9);
  border-color: rgba(255, 255, 255, .12);
}

body:has(.posts-archive-page) .article-header-shell.is-light-header {
  background: rgba(255, 255, 255, .96);
  border-color: rgba(226, 232, 240, .95);
  box-shadow: 0 12px 34px rgba(15, 23, 42, .11);
}

body:has(.posts-archive-page) .article-header-shell.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -140%, 0);
}

body:has(.posts-archive-page) .article-header-top {
  border-bottom-color: rgba(255, 255, 255, .08);
}

body:has(.posts-archive-page) .article-header-shell.is-light-header .article-header-top {
  border-bottom-color: rgba(226, 232, 240, .78);
}

body:has(.posts-archive-page) .article-header-top,
body:has(.posts-archive-page) .article-nav a,
body:has(.posts-archive-page) .article-nav-row,
body:has(.posts-archive-page) .article-header-actions,
body:has(.posts-archive-page) .article-login {
  color: #b1c1e8;
}

body:has(.posts-archive-page) .article-header-shell.is-light-header .article-header-top,
body:has(.posts-archive-page) .article-header-shell.is-light-header .article-nav a,
body:has(.posts-archive-page) .article-header-shell.is-light-header .article-nav-row,
body:has(.posts-archive-page) .article-header-shell.is-light-header .article-header-actions,
body:has(.posts-archive-page) .article-header-shell.is-light-header .article-login {
  color: #62748e;
}

body:has(.posts-archive-page) .article-hotline a,
body:has(.posts-archive-page) .article-nav a:hover,
body:has(.posts-archive-page) .article-login:hover,
body:has(.posts-archive-page) .article-icon-button:hover {
  color: #43b7ff;
}

body:has(.posts-archive-page) .article-header-shell.is-light-header .article-hotline a,
body:has(.posts-archive-page) .article-header-shell.is-light-header .article-nav a:hover,
body:has(.posts-archive-page) .article-header-shell.is-light-header .article-login:hover,
body:has(.posts-archive-page) .article-header-shell.is-light-header .article-icon-button:hover {
  color: #008efb;
}

body:has(.posts-archive-page) .article-sub-menu a {
  color: #475569;
}

body:has(.posts-archive-page) .article-sub-menu a:hover {
  color: #008efb;
}

.posts-archive-page {
  background: #f8f9fc;
  color: #62748e;
}

.posts-archive-page .wrapper {
  width: min(1200px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.posts-hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 130px 20px 88px;
  background:
    linear-gradient(180deg, rgba(7, 36, 77, .88), rgba(10, 39, 92, .88)),
    url("/template/cms/assets/original-media/slearn_13-573349b869.webp") center / cover no-repeat;
  color: #fff;
}

.posts-hero-content {
  width: min(680px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.posts-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0;
}

.posts-hero p {
  margin: 18px 0 22px;
  color: #b1c1e8;
  font-size: 13px;
}

.posts-search {
  width: min(600px, 100%);
  height: 46px;
  display: grid;
  grid-template-columns: 104px 1fr 64px;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}

.posts-search button,
.posts-search input {
  border: 0;
  outline: 0;
  font: inherit;
}

.posts-search-type {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #62748e;
  border-right: 1px solid #eff5ff !important;
}

.posts-search-type svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.posts-search input {
  min-width: 0;
  padding: 0 16px;
  color: #0f172a;
}

.posts-search-submit {
  background: #008efb;
  color: #fff;
  cursor: pointer;
}

.posts-breadcrumb {
  background: #fff;
  border-bottom: 1px solid #eff5ff;
}

.posts-breadcrumb .wrapper {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #62748e;
}

.posts-body {
  padding: 20px 0 40px;
}

.posts-filter {
  padding: 0 20px;
}

.posts-filter-row {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #eff5ff;
  color: #62748e;
  font-size: 13px;
}

.posts-filter-row:last-child {
  border-bottom: 0;
}

.posts-filter-row b {
  width: 52px;
  color: #0f172a;
  font-size: 14px;
  flex: 0 0 auto;
}

.posts-filter-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #62748e;
  text-decoration: none;
  white-space: nowrap;
}

.posts-filter-row a.active,
.posts-filter-row a:hover {
  border-color: #008efb;
  color: #008efb;
}

.posts-filter-result span {
  color: #62748e;
}

.posts-active-filters {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.posts-active-filters:empty {
  display: none;
}

.posts-active-filters a {
  height: 28px;
  gap: 6px;
  border-color: #d9ecff;
  background: #f5fbff;
  color: #008efb;
}

.posts-active-filters .posts-reset-filter {
  border-color: #ffccd7;
  background: #fff5f7;
  color: #d03050;
}

.posts-active-filters em {
  font-style: normal;
  color: #9aa7b9;
}

.posts-active-filters a:hover em {
  color: #008efb;
}

.posts-active-filters .posts-reset-filter:hover {
  border-color: #d03050;
  color: #d03050;
}

.posts-filter-search {
  margin-left: auto;
  width: 240px;
  height: 36px;
  display: flex;
  border: 1px solid #eff5ff;
  border-radius: 3px;
  overflow: hidden;
  background: #f8fafc;
}

.posts-filter-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 12px;
  background: transparent;
  color: #0f172a;
}

.posts-filter-search button {
  width: 38px;
  border: 0;
  background: transparent;
  color: #9aa7b9;
  cursor: pointer;
}

.posts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30%;
  gap: 20px;
  align-items: start;
  margin-top: 20px;
}

.posts-list,
.posts-sidebar {
  min-width: 0;
}

.posts-list,
.posts-list-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.posts-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  min-height: 170px;
  padding: 24px 28px;
}

.posts-card-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #edf3f8;
}

.posts-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.posts-card:hover .posts-card-thumb img {
  transform: scale(1.05);
}

.posts-card-content {
  min-width: 0;
}

.posts-card h2 {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0;
}

.posts-card h2 a,
.posts-hot-card h3 a {
  color: #0f172a;
  text-decoration: none;
}

.posts-card h2 a:hover,
.posts-hot-card h3 a:hover {
  color: #008efb;
}

.posts-card-excerpt {
  margin: 0 0 12px;
  color: #62748e;
  font-size: 14px;
  line-height: 1.8;
}

.posts-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: #9aa7b9;
  font-size: 12px;
}

.posts-card-meta span,
.posts-card-meta a {
  color: inherit;
  text-decoration: none;
}

.posts-card-meta i {
  margin-right: 4px;
}

.posts-author img {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  border-radius: 50%;
  vertical-align: -3px;
}

.posts-author {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.posts-card-spacer {
  flex: 1 1 auto;
}

.posts-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 0;
}

.posts-sidebar-title {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid #eff5ff;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
}

.posts-daily-body {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 28px 24px;
  text-align: center;
}

.posts-daily-body p {
  margin: 0;
  color: #62748e;
  font-size: 13px;
  line-height: 1.9;
}

.posts-daily-body span {
  color: #8ca0b3;
  font-size: 13px;
}

.posts-daily-body img {
  width: 164px;
  height: 164px;
  object-fit: contain;
}

.posts-hot-title {
  justify-content: space-between;
  gap: 10px;
}

.posts-hot-title nav {
  display: flex;
  align-items: center;
}

.posts-hot-title nav span {
  height: 32px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eff5ff;
  color: #62748e;
  font-size: 12px;
  font-weight: 400;
}

.posts-hot-title nav span.active {
  border-color: #008efb;
  color: #008efb;
}

.posts-hot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.posts-hot-card {
  min-width: 0;
  padding: 18px 14px 14px;
  border: 1px solid #eff5ff;
  border-radius: 6px;
  background: #fff;
}

.posts-hot-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 6px;
  background: #edf3f8;
}

.posts-hot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.posts-hot-card h3 {
  margin: 0 0 12px;
  min-height: 44px;
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: 0;
}

.posts-hot-card h3 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.posts-hot-card .posts-card-meta {
  gap: 8px;
}

.posts-pagination {
  padding: 14px 18px;
}

.posts-pagination:empty {
  display: none;
}

.posts-page-nav,
.posts-pagination ul,
.posts-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.posts-page-nav a,
.posts-page-nav span,
.posts-pagination a,
.posts-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid #eff5ff;
  border-radius: 3px;
  color: #62748e;
  text-decoration: none;
}

.posts-page-nav a.active,
.posts-page-nav a:hover,
.posts-pagination .active span,
.posts-pagination a:hover {
  border-color: #008efb;
  color: #008efb;
}

.posts-page-nav .is-disabled {
  opacity: .45;
  pointer-events: none;
}

.posts-region-loading {
  opacity: .55;
  pointer-events: none;
}

.posts-empty {
  padding: 72px 24px;
  text-align: center;
}

.posts-empty div {
  margin-bottom: 8px;
  color: #62748e;
  font-size: 15px;
  font-weight: 700;
}

.posts-empty p {
  margin: 0;
  color: #9aa7b9;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .posts-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .posts-sidebar {
    position: static;
    display: none;
  }
}

@media (max-width: 767.98px) {
  body:has(.posts-archive-page) #salong {
    display: block !important;
  }

  body:has(.posts-archive-page) .article-header-shell.is-mobile-menu-open {
    background: rgba(255, 255, 255, .98);
    border-color: rgba(226, 232, 240, .95);
    color: #62748e;
  }

  body:has(.posts-archive-page) .article-header-shell.is-mobile-menu-open .article-nav a,
  body:has(.posts-archive-page) .article-header-shell.is-mobile-menu-open .article-nav-row {
    color: #62748e;
  }

  .posts-archive-page .wrapper {
    width: calc(100% - 24px);
  }

  .posts-hero {
    min-height: 390px;
    padding-top: 92px;
    padding-bottom: 54px;
  }

  .posts-hero h1 {
    font-size: 26px;
  }

  .posts-search {
    grid-template-columns: 86px 1fr 58px;
  }

  .posts-filter {
    padding: 0 14px;
  }

  .posts-filter-row {
    align-items: flex-start;
    overflow-x: auto;
    padding: 12px 0;
    gap: 10px;
  }

  .posts-filter-result {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .posts-filter-row b {
    width: auto;
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 1;
  }

  .posts-filter-search {
    margin-left: 0;
    min-width: 210px;
    width: 100%;
  }

  .posts-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
  }

  .posts-card-thumb {
    justify-content: flex-start;
  }

  .posts-card-thumb {
    width: 100%;
  }

  .posts-card-spacer {
    display: none;
  }
}
