/* =========================================================
   BLOG LIST PAGE
   Variables global.css se aate hain
   ========================================================= */

.vwt-blog {
  background: var(--bg-light);
}
.vwt-blog {
  width: 100%;
  float: none;
  margin: 0;
  padding: 0;
}
.vwt-blog .vwt-card {
  padding: 0;
  margin: 0;
}

/* ---------- Hero ---------- */
.vwt-blog-hero {
  padding: 30px 0 20px;
  color: var(--white);
  background:
    linear-gradient(rgba(26, 60, 101, 0.9), rgba(26, 60, 101, 0.9)),
    url("../../images/blog-hero.jpg") center / cover no-repeat,
    var(--color-primary);
}
.vwt-blog-crumbs {
  font-size: var(--fs-sm);
  margin-bottom: 18px;
  opacity: 0.85;
}
.vwt-blog-crumbs a:hover {
  color: var(--color-accent);
}
.vwt-blog-crumbs span {
  margin: 0 6px;
}
.vwt-blog-crumbs .is-current {
  margin: 0;
}
.vwt-blog-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}
.vwt-blog-hero p {
  max-width: 520px;
  font-size: var(--fs-base);
  opacity: 0.9;
}

/* ---------- Layout ---------- */
.vwt-blog-body {
  padding: var(--space-5) 0 var(--space-7);
}
.vwt-blog-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: var(--space-4);
  align-items: start;
}

/* ---------- Sidebar ---------- */
.vwt-blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.vwt-side-search {
  display: flex;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--btn-radius);
  overflow: hidden;
}
.vwt-side-search input {
  flex: 1;
  border: 0;
  padding: 11px 14px;
  font-size: var(--fs-sm);
  background: transparent;
  min-width: 0;
}
.vwt-side-search button {
  border: 0;
  background: transparent;
  padding: 0 14px;
  color: var(--color-primary);
  cursor: pointer;
}

.vwt-side-block {
  background: var(--white);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.vwt-side-title {
  font-size: var(--fs-lg);
  color: var(--color-primary);
  margin-bottom: 14px;
}

.vwt-side-cats {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vwt-side-cats li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: var(--fs-sm);
  color: var(--text-dark);
}
.vwt-side-cats li a span {
  font-size: 12px;
  min-width: 24px;
  text-align: center;
  background: var(--bg-light);
  border-radius: 20px;
  padding: 1px 6px;
}
.vwt-side-cats li a:hover {
  background: var(--bg-light);
}
.vwt-side-cats li.is-active a {
  background: var(--color-accent);
  color: var(--white);
  font-weight: var(--fw-semibold);
}
.vwt-side-cats li.is-active a span {
  background: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.vwt-side-recent {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vwt-side-recent li {
  display: flex;
  gap: 12px;
  align-items: center;
}
.vwt-side-recent__img {
  flex: 0 0 58px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-light);
}
.vwt-side-recent__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vwt-side-recent li > div > a {
  display: block;
  font-size: 13px;
  font-weight: var(--fw-medium);
  line-height: 1.35;
  color: var(--color-primary);
}
.vwt-side-recent li > div > a:hover {
  color: var(--color-accent);
}
.vwt-side-recent small {
  font-size: 12px;
  color: #7a7d82;
}

.vwt-side-news {
  background: var(--color-primary);
  color: var(--white);
  border-radius: 10px;
  padding: 24px 20px;
}
.vwt-side-news > i {
  color: var(--color-accent);
  font-size: 26px;
  margin-bottom: 10px;
}
.vwt-side-news h3 {
  color: var(--white);
  font-size: var(--fs-lg);
  margin-bottom: 8px;
}
.vwt-side-news p {
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 14px;
}
.vwt-side-news input {
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 11px 12px;
  font-size: var(--fs-sm);
  margin-bottom: 10px;
}
.vwt-side-news button {
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 11px;
  background: var(--color-accent);
  color: var(--white);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: var(--transition-base);
}
.vwt-side-news button:hover {
  filter: brightness(0.92);
}

/* ---------- Toolbar ---------- */
.vwt-blog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-3);
  font-size: var(--fs-sm);
}
.vwt-blog-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vwt-blog-sort select {
  border: 0;
  background: transparent;
  font-weight: var(--fw-medium);
  cursor: pointer;
}

/* ---------- Grid + Card ---------- */
.vwt-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.vwt-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}
.vwt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.vwt-card__img { display: block; height: 180px; overflow: hidden; background: var(--bg-light); }
.vwt-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.vwt-card:hover .vwt-card__img img {
  transform: scale(1.05);
}
.vwt-card__noimg {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary), #2f5f94);
}

.vwt-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 18px 16px;
}
.vwt-card__tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
  background: #e8f0fb;
  padding: 3px 9px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.vwt-card__title {
  font-size: var(--fs-lg);
  line-height: 1.35;
  margin-bottom: 8px;
}
.vwt-card__title a {
  color: var(--color-primary);
}
.vwt-card__title a:hover {
  color: var(--color-accent);
}
.vwt-card__excerpt {
	font-size: 13.5px;
	color: var(--text-dark);
	margin-bottom: 14px;
	display: -webkit-box;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.vwt-card__meta {
  display: flex;
 flex-wrap: wrap;
	gap: 6px 14px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: #7a7d82;
}
.vwt-card__meta i {
  margin-right: 4px;
}
.vwt-card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* ---------- Pagination ---------- */
.vwt-blog-pagination {
  margin-top: var(--space-5);
  display: flex;
  justify-content: center;
}
.vwt-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  margin: 0 4px;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: var(--fs-sm);
  color: var(--text-dark);
}
.vwt-blog-pagination .page-numbers:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.vwt-blog-pagination .page-numbers.current {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--white);
  font-weight: var(--fw-bold);
}

.vwt-blog-empty {
  padding: var(--space-5) 0;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .vwt-blog-layout {
    grid-template-columns: 1fr;
  }
  .vwt-blog-sidebar {
    order: 2;
  }
  .vwt-blog-hero {
    padding: 48px 0 40px;
  }
}
@media (max-width: 640px) {
  .vwt-blog-grid {
    grid-template-columns: 1fr;
  }
  .vwt-blog-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}