.knowledge-page {
  background: #f7fbf8;
}

.knowledge-hero {
  border-bottom: 1px solid #dfece4;
  background:
    linear-gradient(135deg, rgba(4, 101, 49, 0.08), rgba(236, 28, 36, 0.035)),
    #ffffff;
  padding: 34px 0 28px;
}

.knowledge-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: end;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  color: #687d8e;
  font-size: 13px;
}

.breadcrumb a {
  color: var(--green);
  font-weight: 500;
}

.breadcrumb svg {
  width: 14px;
  height: 14px;
}

.knowledge-hero h1 {
  max-width: 720px;
  margin-top: 10px;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.25;
}

.knowledge-hero p:not(.vn-kicker) {
  max-width: 690px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.knowledge-search {
  border: 1px solid #dce8df;
  border-radius: 10px;
  background: #ffffff;
  padding: 16px;
  box-shadow: var(--shadow);
}

.knowledge-search label {
  display: block;
  margin-bottom: 9px;
  color: #243b4d;
  font-size: 13px;
  font-weight: 600;
}

.knowledge-search div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 58px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #dce8df;
  border-radius: 8px;
  background: #fbfffd;
}

.knowledge-search svg {
  justify-self: center;
  width: 17px;
  height: 17px;
  color: var(--green);
}

.knowledge-search input {
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
}

.knowledge-search button {
  height: 40px;
  border: 0;
  background: var(--green);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.knowledge-search span {
  display: block;
  margin-top: 8px;
  color: #789;
  font-size: 12.5px;
}

.knowledge-filter-section {
  position: sticky;
  top: 115px;
  z-index: 20;
  border-bottom: 1px solid #dfece4;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.knowledge-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
}

.knowledge-filter button,
.knowledge-filter a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #dce8df;
  border-radius: 999px;
  background: #ffffff;
  color: #244154;
  padding: 8px 13px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.knowledge-filter button:hover,
.knowledge-filter a:hover,
.knowledge-filter button.active,
.knowledge-filter a.active {
  border-color: rgba(4, 101, 49, 0.26);
  background: #edf8f2;
  color: var(--green);
}

.knowledge-filter button.active,
.knowledge-filter a.active {
  box-shadow: inset 0 0 0 1px rgba(4, 101, 49, 0.08);
}

.knowledge-filter svg,
.article-tag svg,
.article-meta svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.9;
}

.knowledge-section {
  padding: 46px 0;
}

.knowledge-section + .knowledge-section {
  padding-top: 18px;
}

.knowledge-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.knowledge-section-head h2 {
  margin-top: 8px;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.32;
}

.knowledge-section-head.compact {
  margin-bottom: 16px;
}

.knowledge-feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 16px;
}

.knowledge-feature-card,
.knowledge-mini-card,
.knowledge-card,
.knowledge-sidebar-card,
.knowledge-newsletter {
  overflow: hidden;
  border: 1px solid #dfece4;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.knowledge-feature-card {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
}

.knowledge-thumb,
.knowledge-card-img {
  display: block;
  background: #e9f4ef;
}

.knowledge-thumb img,
.knowledge-mini-card img,
.knowledge-card-img img {
  height: 100%;
  object-fit: cover;
}

.knowledge-feature-body {
  padding: 24px;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
}

.tag-blue {
  background: #eef7ff;
  color: #12609e;
}

.tag-green {
  background: #edf8f2;
  color: var(--green);
}

.tag-pink {
  background: #fff2f3;
  color: #b9151d;
}

.tag-red {
  background: #fff2f3;
  color: var(--red);
}

.tag-gold {
  background: #fff8e8;
  color: #98710e;
}

.knowledge-feature-card h3 {
  margin-top: 13px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.34;
}

.knowledge-feature-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
}

.knowledge-feature-card .btn {
  margin-top: 18px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 13px;
  color: #6f8191;
  font-size: 12.5px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.knowledge-side-feature {
  display: grid;
  gap: 16px;
}

.knowledge-mini-card {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  min-height: 162px;
}

.knowledge-mini-card > div {
  padding: 16px;
}

.knowledge-mini-card h3 {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.38;
}

.knowledge-latest {
  background: #ffffff;
}

.knowledge-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 22px;
  align-items: start;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.knowledge-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  min-height: 188px;
}

.knowledge-card[hidden] {
  display: none;
}

.knowledge-card > div {
  padding: 16px;
}

.knowledge-card h3 {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.38;
}

.knowledge-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.knowledge-load {
  margin-top: 20px;
  text-align: center;
}

.knowledge-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.knowledge-pagination[hidden] {
  display: none;
}

.pagination-button {
  display: inline-grid;
  min-width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #dce8df;
  border-radius: 8px;
  background: #ffffff;
  color: #244154;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.pagination-button:hover,
.pagination-button.active {
  border-color: rgba(4, 101, 49, 0.3);
  background: var(--green);
  color: #ffffff;
}

.pagination-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.pagination-button svg {
  width: 17px;
  height: 17px;
}

.knowledge-sidebar {
  position: sticky;
  top: 178px;
  display: grid;
  gap: 14px;
}

.knowledge-sidebar-card,
.knowledge-newsletter,
.knowledge-sidebar-banner {
  padding: 18px;
}

.knowledge-sidebar-card h3,
.knowledge-newsletter h3 {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}

.knowledge-sidebar-card a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 17px;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #e7f0eb;
  padding: 13px 0;
  color: #294457;
  font-size: 13.5px;
  line-height: 1.45;
}

.knowledge-sidebar-card a:first-of-type {
  margin-top: 10px;
}

.knowledge-sidebar-card span {
  display: block;
  min-width: 0;
  color: var(--green);
  font-size: 13.5px;
  font-weight: 600;
}

.knowledge-sidebar-banner {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 310px;
  align-content: end;
  overflow: hidden;
  border: 1px solid rgba(4, 101, 49, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(2, 63, 33, 0.05), rgba(2, 63, 33, 0.86)),
    var(--blog-banner-image) center/cover no-repeat,
    #0b5b32;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.knowledge-sidebar-banner span {
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  padding: 5px 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.knowledge-sidebar-banner strong {
  color: #ffffff;
  font-size: 22px;
  line-height: 1.28;
}

.knowledge-sidebar-banner small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13.5px;
  line-height: 1.55;
}

.knowledge-sidebar-banner em {
  width: fit-content;
  margin-top: 4px;
  border-radius: 8px;
  background: var(--red);
  box-shadow: 0 8px 18px rgba(236, 28, 36, 0.22);
  color: #ffffff;
  padding: 9px 13px;
  font-style: normal;
  font-weight: 700;
}

.knowledge-newsletter {
  background:
    radial-gradient(circle at 94% 12%, rgba(236, 28, 36, 0.1), transparent 30%),
    linear-gradient(180deg, #f3faf6, #ffffff);
}

.knowledge-newsletter > svg {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(4, 101, 49, 0.1);
  border-radius: 10px;
  background: #ffffff;
  color: var(--green);
  padding: 9px;
}

.knowledge-newsletter h3 {
  margin-top: 12px;
}

.knowledge-newsletter p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
}

.knowledge-newsletter form {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.knowledge-newsletter input {
  min-height: 40px;
  border: 1px solid #dce8df;
  border-radius: 8px;
  background: #ffffff;
  padding: 8px 12px;
  outline: none;
  color: var(--ink);
}

.knowledge-newsletter .btn {
  width: 100%;
}

.knowledge-feature,
.vn-feature-article,
.post-card,
.vn-blog-list article {
  overflow: hidden;
  border: 1px solid #dfece4;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.knowledge-feature,
.vn-feature-article {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  margin-bottom: 24px;
}

.knowledge-feature img,
.vn-feature-article img,
.vn-blog-list img,
.post-card img {
  height: 100%;
  object-fit: cover;
}

.knowledge-feature-body,
.vn-feature-article > div,
.vn-blog-list article > div,
.post-body {
  padding: 22px;
}

.vn-feature-article h2 {
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.3;
}

.vn-feature-article p,
.vn-blog-list p {
  margin-top: 8px;
  color: var(--muted);
}

.vn-feature-article .btn {
  margin-top: 16px;
}

.posts-grid,
.knowledge-list,
.vn-blog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.vn-blog-list article {
  display: grid;
  grid-template-rows: 180px minmax(0, 1fr);
}

.vn-blog-list h3 {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.4;
}

.vn-blog-list .text-link {
  margin-top: 12px;
}
