.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.article-meta span i {
  font-size: 0.9rem;
  color: var(--primary-color, #ff006b);
}

.article-meta a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-meta a:hover {
  color: var(--primary-color, #ff006b);
}

.article-meta span:not(:last-child)::after {
  content: '•';
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.3);
}

.post-navigation {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.post-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 100%;
}

.post-nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color, #ff006b);
  transform: translateY(-2px);
}

.post-nav-link.prev {
  justify-content: flex-start;
}

.post-nav-link.next {
  justify-content: flex-end;
  text-align: right;
}

.post-nav-link i {
  font-size: 1.5rem;
  color: var(--primary-color, #ff006b);
  flex-shrink: 0;
}

.post-nav-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.post-nav-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.post-nav-title {
  font-size: 1rem;
  color: #fff;
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .post-navigation {
    flex-direction: column;
  }
  
  .post-nav-link {
    max-width: 100%;
  }
  
  .post-nav-link.next {
    text-align: left;
  }
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 4rem;
  padding: 2rem 0;
}

.pagination-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination-link:hover:not(.disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color, #ff006b);
  transform: translateY(-2px);
}

.pagination-link.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination-page:hover:not(.active) {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color, #ff006b);
}

.pagination-page.active {
  background: var(--primary-color, #ff006b);
  border-color: var(--primary-color, #ff006b);
  font-weight: 600;
}

@media (max-width: 768px) {
  .pagination {
    flex-wrap: wrap;
  }
  
  .pagination-pages {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
  }
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 120px;
}

.category-card {
  background: linear-gradient(330deg, #0e0e0e, #0c0c0c);
  border: 1px solid #ffffff0d;
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.category-card:hover {
  border-color: rgba(138, 43, 226, 0.5);
  transform: translateY(-8px);
}

.category-card:hover::before {
  opacity: 1;
}

.category-icon-wrapper {
  display: flex;
  align-items: flex-start;
}

.category-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #8a2be2 0%, #9d4edd 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.1) rotate(-5deg);
}

.category-icon i {
  font-size: 1.75rem;
  color: #fff;
}

.category-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

.category-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: -0.5px;
}

.category-info p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.6;
}

.category-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #8a2be2;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
}

.category-link-arrow i {
  transition: transform 0.3s ease;
}

.category-card:hover .category-link-arrow {
  color: #9d4edd;
}

.category-card:hover .category-link-arrow i {
  transform: translateX(6px);
}

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
  
  .category-card {
    padding: 1.75rem;
  }
}

.article-grid, .articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.article-card {
  background: linear-gradient(330deg, #0e0e0e, #0c0c0c);
  border: 1px solid #ffffff0d;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: stretch;
}

.article-card:hover {
  border-color: rgba(138, 43, 226, 0.3);
  transform: translateX(4px);
}

.article-image {
  width: 180px;
  min-width: 180px;
  height: auto;
  overflow: hidden;
  position: relative;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.article-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.article-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.article-category {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(138, 43, 226, 0.12);
  color: #8a2be2;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
}

.article-time {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.article-time i {
  color: #8a2be2;
  font-size: 0.75rem;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-body p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #8a2be2;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
  transition: gap 0.3s ease;
}

.article-card:hover .article-read-more {
  gap: 0.75rem;
}

.article-read-more i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.article-card:hover .article-read-more i {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .article-grid, .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .article-card {
    flex-direction: column;
  }
  
  .article-image {
    width: 100%;
    height: 160px;
  }
  
  .article-body {
    padding: 1.25rem;
  }
}



/*faqs*/

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  width: 100%;
}

.faq-item-card {
  background: linear-gradient(330deg, #0e0e0e, #0c0c0c);
  border: 1px solid #ffffff0d;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.faq-item-card:hover {
  border-color: rgba(138, 43, 226, 0.3);
}

.faq-question-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  text-decoration: none;
  width: 100%;
}

.faq-q-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: rgba(138, 43, 226, 0.2);
  color: #8a2be2;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.faq-question-link h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.5;
  flex: 1;
}

.faq-arrow {
  font-size: 0.85rem;
  color: #8a2be2;
  transition: transform 0.3s ease;
  margin-left: auto;
}

.faq-item-card:hover .faq-arrow {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}


/* ghost handles */

/* Ghost Content Cards */
.gh-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

/* Image Cards */
.kg-image-card {
  margin: 2rem 0;
  width: fit-content;
}

.kg-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.kg-width-wide {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.kg-width-full {
  width: 100%;
  max-width: 100%;
  position: relative;
}

.kg-width-full .kg-image {
  border-radius: 0;
}

/* Image with Caption */
.kg-image-card figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1rem;
  font-style: italic;
}

/* Gallery Card */
.kg-gallery-card {
  margin: 2rem 0;
}

.kg-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kg-gallery-row {
  display: flex;
  gap: 0.5rem;
}

.kg-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Embed Card */
.kg-embed-card {
  margin: 2rem 0;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.kg-embed-card iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Video Card */
.kg-video-card {
  margin: 2rem 0;
}

.kg-video-card video {
  width: 100%;
  border-radius: 8px;
}

/* Bookmark Card */
.kg-bookmark-card {
  margin: 2rem 0;
}

.kg-bookmark-container {
  display: flex;
  background: linear-gradient(330deg, #0e0e0e, #0c0c0c);
  border: 1px solid #ffffff0d;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
}

.kg-bookmark-container:hover {
  border-color: rgba(138, 43, 226, 0.3);
  transform: translateY(-2px);
}

.kg-bookmark-content {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.kg-bookmark-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.kg-bookmark-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.kg-bookmark-icon {
  width: 20px;
  height: 20px;
}

.kg-bookmark-author::before {
  content: "•";
  margin: 0 0.5rem;
}

.kg-bookmark-thumbnail {
  width: 200px;
  min-width: 200px;
}

.kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Code Card */
.kg-code-card {
  margin: 2rem 0;
}

.kg-code-card pre {
  margin: 0;
  padding: 1.5rem;
  background: #1a1a1a;
  border: 1px solid #ffffff0d;
  border-radius: 8px;
  overflow-x: auto;
}

.kg-code-card code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Callout Card */
.kg-callout-card {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(138, 43, 226, 0.1);
  border-left: 4px solid #8a2be2;
  border-radius: 8px;
}

.kg-callout-emoji {
  font-size: 1.5rem;
  margin-right: 0.75rem;
}

.kg-callout-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* Toggle Card */
.kg-toggle-card {
  margin: 2rem 0;
  background: linear-gradient(330deg, #0e0e0e, #0c0c0c);
  border: 1px solid #ffffff0d;
  border-radius: 8px;
  overflow: hidden;
}

.kg-toggle-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  user-select: none;
}

.kg-toggle-heading-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.kg-toggle-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Button Card */
.kg-button-card {
  margin: 2rem 0;
  text-align: center;
}

.kg-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, #8a2be2 0%, #9d4edd 100%);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.kg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(138, 43, 226, 0.3);
}

/* File Card */
.kg-file-card {
  margin: 2rem 0;
}

.kg-file-card-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(330deg, #0e0e0e, #0c0c0c);
  border: 1px solid #ffffff0d;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.kg-file-card-container:hover {
  border-color: rgba(138, 43, 226, 0.3);
}

.kg-file-card-icon {
  width: 40px;
  height: 40px;
  background: rgba(138, 43, 226, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8a2be2;
}

.kg-file-card-contents {
  flex: 1;
}

.kg-file-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.25rem 0;
}

.kg-file-card-caption {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.kg-file-card-metadata {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Product Card */
.kg-product-card {
  margin: 2rem 0;
  background: linear-gradient(330deg, #0e0e0e, #0c0c0c);
  border: 1px solid #ffffff0d;
  border-radius: 8px;
  overflow: hidden;
}

.kg-product-card-image {
  width: 100%;
  height: 300px;
}

.kg-product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kg-product-card-content {
  padding: 1.5rem;
}

.kg-product-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem 0;
}

.kg-product-card-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.kg-product-card-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.kg-product-card-rating-star {
  color: #ffd700;
}

/* Responsive */
@media (max-width: 768px) {
  .kg-width-wide,
  .kg-width-full {
    margin-left: 0;
    margin-right: 0;
    left: 0;
    right: 0;
  }
  
  .kg-bookmark-container {
    flex-direction: column;
  }
  
  .kg-bookmark-thumbnail {
    width: 100%;
    height: 200px;
  }
  
  .kg-gallery-row {
    flex-direction: column;
  }
}

.ghost-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat';
    text-transform: uppercase;
    font-weight: 500;
}

.ghost-search-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.ghost-search-btn svg {
    width: 18px;
    height: 18px;
}