/* ── KNOWLEDGE PAGE SPECIFIC STYLES ── */

/* Page Header & Intro */
.knowledge-hero {
  padding: 180px 60px 120px;
  background-image: linear-gradient(to bottom, rgba(13, 26, 18, 0.45) 0%, var(--ink) 100%), url('../../../../uploads/2026/06/bg-camau-hoangho.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (hover: hover) {
  .knowledge-hero {
    background-attachment: fixed;
  }
}

.knowledge-title {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 20px;
}

.knowledge-title em {
  font-style: italic;
  color: var(--gold);
}

.knowledge-subtitle {
  font-size: 16px;
  color: rgba(247, 242, 232, 0.6);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Category Filter Tabs */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
  padding: 0 60px;
}

.filter-btn {
  background: rgba(13, 26, 18, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--ivory);
  padding: 12px 28px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--gold);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25);
  transform: translateY(-2px);
}

/* Spotlight Featured Article */
.spotlight-section {
  padding: 0 60px;
  margin-bottom: 100px;
}

.spotlight-card {
  display: grid;
  grid-template-columns: 7fr 5fr;
  background: rgba(247, 242, 232, 0.02);
  border: 1.5px solid rgba(201, 168, 76, 0.15);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.spotlight-card:hover {
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.spotlight-visual {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-card:hover .spotlight-img {
  transform: scale(1.04);
}

.spotlight-content {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, rgba(22, 43, 30, 0.3) 0%, rgba(13, 26, 18, 0.8) 100%);
  border-left: 1.5px solid rgba(201, 168, 76, 0.15);
}

.spotlight-tag {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.spotlight-tag::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: var(--rust);
  border-radius: 50%;
}

.spotlight-title {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 44px);
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 400;
}

.spotlight-title em {
  font-style: italic;
  color: var(--gold);
}

.spotlight-desc {
  font-size: 14px;
  color: rgba(247, 242, 232, 0.6);
  line-height: 1.8;
  margin-bottom: 36px;
}

.spotlight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid rgba(247, 242, 232, 0.08);
  padding-top: 24px;
}

.read-time {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.4);
}

.spotlight-link {
  color: var(--gold);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.spotlight-card:hover .spotlight-link {
  gap: 14px;
}

/* Article Grid Section */
.articles-section {
  padding: 0 60px;
  margin-bottom: 120px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.article-card {
  background: rgba(247, 242, 232, 0.01);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.article-visual {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.article-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover .article-img {
  transform: scale(1.06);
}

.article-content {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-tag-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.article-tag {
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 500;
}

.article-title {
  font-family: var(--display);
  font-size: 24px;
  color: var(--ivory);
  line-height: 1.3;
  margin-bottom: 14px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.article-card:hover .article-title {
  color: var(--gold);
}

.article-desc {
  font-size: 13px;
  color: rgba(247, 242, 232, 0.5);
  line-height: 1.7;
  margin-bottom: 24px;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid rgba(247, 242, 232, 0.05);
  padding-top: 20px;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(180deg, transparent 0%, rgba(201, 168, 76, 0.05) 100%);
  padding: 100px 60px;
  text-align: center;
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-icon {
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 20px;
}

.newsletter-title {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  color: var(--ivory);
  margin-bottom: 16px;
  font-weight: 300;
}

.newsletter-desc {
  font-size: 14px;
  color: rgba(247, 242, 232, 0.6);
  line-height: 1.7;
  margin-bottom: 36px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-input {
  flex-grow: 1;
  background: rgba(13, 26, 18, 0.6);
  border: 1.5px solid rgba(201, 168, 76, 0.2);
  padding: 16px 24px;
  color: var(--ivory);
  font-size: 13px;
  border-radius: 0;
  outline: none;
  font-family: inherit;
  transition: border-color 0.3s;
}

.newsletter-input:focus {
  border-color: var(--gold);
}

.newsletter-submit {
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: 16px 32px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.newsletter-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ── RESPONSIVE KNOWLEDGE ── */
@media (max-width: 960px) {
  .spotlight-section {
    padding: 0 24px;
    margin-bottom: 80px;
  }
  .articles-section {
    padding: 0 24px;
    margin-bottom: 80px;
  }
  .filter-container {
    padding: 0 24px;
  }
  .newsletter-section {
    padding: 80px 24px;
  }
  .spotlight-card {
    grid-template-columns: 1fr;
  }
  .spotlight-content {
    border-left: none;
    border-top: 1.5px solid rgba(201, 168, 76, 0.15);
    padding: 40px 32px;
  }
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .knowledge-hero {
    padding: 120px 24px 60px;
  }
  .articles-section {
    margin-bottom: 80px;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 16px;
  }
  .newsletter-submit {
    width: 100%;
  }
}

/* Pagination Styling */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.pagination ul {
  display: flex;
  list-style: none;
  gap: 8px;
  padding: 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--ivory);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s;
}

.pagination .current,
.pagination a:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.pagination .prev,
.pagination .next {
  width: auto;
  padding: 0 20px;
}

/* Breadcrumbs Styling */
.breadcrumbs-container {
  position: relative;
  z-index: 10;
  margin-bottom: 24px;
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.breadcrumbs-item a {
  color: rgba(247, 242, 232, 0.45);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.breadcrumbs-item a:hover {
  color: var(--gold);
}

.breadcrumbs-item.active {
  color: var(--gold);
  font-weight: 500;
  pointer-events: none;
}

.breadcrumbs-separator {
  color: rgba(247, 242, 232, 0.25);
  font-size: 9px;
  user-select: none;
}

/* Post Header Banner in single post */
.post-header-banner {
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

@media (hover: hover) {
  .post-header-banner {
    background-attachment: fixed;
  }
}


