/* =========================================================
   VirajTech Theme - Main Stylesheet
   Version: 1.0.0
   ========================================================= */

/* ---------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   --------------------------------------------------------- */
:root {
  --vt-primary:       #0f6fff;
  --vt-primary-dark:  #0553cc;
  --vt-accent:        #ff3c3c;
  --vt-dark:          #0d1117;
  --vt-dark-2:        #161b22;
  --vt-bg:            #f8fafc;
  --vt-surface:       #ffffff;
  --vt-surface-alt:   #f3f4f6;
  --vt-surface-raised:#ffffff;
  --vt-heading:       #0d1117;
  --vt-gray-900:      #1a1a2e;
  --vt-gray-700:      #3a3a5c;
  --vt-gray-500:      #6b7280;
  --vt-gray-300:      #d1d5db;
  --vt-gray-100:      #f3f4f6;
  --vt-white:         #ffffff;
  --vt-text:          #1f2937;
  --vt-text-muted:    #6b7280;
  --vt-border:        #e5e7eb;
  --vt-radius:        8px;
  --vt-radius-lg:     12px;
  --vt-radius-xl:     16px;
  --vt-shadow:        0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --vt-shadow-md:     0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --vt-shadow-lg:     0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --vt-font:          -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --vt-font-mono:     'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  --vt-container:     1200px;
  --vt-sidebar-w:     320px;
  --vt-topbar-h:      38px;
  --vt-header-h:      68px;
  --vt-transition:    all 0.2s ease;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --vt-bg:            #08111f;
  --vt-surface:       #0f172a;
  --vt-surface-alt:   #162033;
  --vt-surface-raised:#111c31;
  --vt-heading:       #f8fafc;
  --vt-text:          #dbe4f0;
  --vt-text-muted:    #94a3b8;
  --vt-border:        #243249;
  --vt-gray-100:      #162033;
  --vt-gray-300:      #334155;
  --vt-gray-500:      #94a3b8;
  --vt-gray-700:      #cbd5e1;
  --vt-shadow:        0 1px 3px rgba(0,0,0,.35), 0 1px 2px rgba(0,0,0,.25);
  --vt-shadow-md:     0 10px 25px rgba(0,0,0,.28), 0 4px 10px rgba(0,0,0,.2);
  --vt-shadow-lg:     0 18px 40px rgba(0,0,0,.32), 0 8px 18px rgba(0,0,0,.24);
  color-scheme: dark;
}

/* ---------------------------------------------------------
   2. Reset & Base
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--vt-font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--vt-text);
  background: var(--vt-bg);
  -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--vt-primary); text-decoration: none; transition: var(--vt-transition); }
a:hover { color: var(--vt-primary-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------------------------------------------------------
   3. Layout Utilities
   --------------------------------------------------------- */
.vt-container {
  max-width: var(--vt-container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.vt-container--wide { max-width: 1400px; }
.vt-container--narrow { max-width: 820px; }

.vt-grid { display: grid; }
.vt-flex { display: flex; }
.vt-flex-center { display: flex; align-items: center; }
.vt-flex-between { display: flex; align-items: center; justify-content: space-between; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------
   4. Top Bar
   --------------------------------------------------------- */
.vt-topbar {
  background: var(--vt-dark);
  color: #aab;
  font-size: 0.8rem;
  height: var(--vt-topbar-h);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 200;
}
.vt-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}
.vt-topbar__links { display: flex; gap: 1.25rem; }
.vt-topbar__links a { color: #aab; }
.vt-topbar__links a:hover { color: var(--vt-white); }
.vt-topbar__cta {
  background: var(--vt-primary);
  color: var(--vt-white);
  padding: .25rem .875rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: .3px;
}
.vt-topbar__cta:hover { background: var(--vt-primary-dark); color: var(--vt-white); }

/* ---------------------------------------------------------
   5. Header
   --------------------------------------------------------- */
.vt-header {
  background: var(--vt-surface);
  border-bottom: 1px solid var(--vt-border);
  position: relative;
  z-index: 100;
}
.vt-header.is-sticky {
  position: sticky;
  top: 0;
  box-shadow: var(--vt-shadow-md);
}
.vt-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--vt-header-h);
  gap: 1.5rem;
}

/* Logo */
.vt-logo { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.vt-logo img { height: 40px; width: auto; }
.vt-logo__text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--vt-heading);
  letter-spacing: -0.5px;
}
.vt-logo__text span { color: var(--vt-primary); }
.vt-logo:hover .vt-logo__text { color: var(--vt-heading); }

/* Primary Navigation */
.vt-nav { display: flex; align-items: center; flex: 1; }
.vt-nav ul { display: flex; gap: .25rem; }
.vt-nav > ul > li { position: relative; }
.vt-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .5rem .75rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--vt-text);
  border-radius: var(--vt-radius);
  transition: var(--vt-transition);
  white-space: nowrap;
}
.vt-nav > ul > li > a:hover,
.vt-nav > ul > li.current-menu-item > a,
.vt-nav > ul > li.current-menu-parent > a {
  color: var(--vt-primary);
  background: var(--vt-surface-alt);
}
.vt-nav > ul > li > a .nav-arrow {
  font-size: .65rem;
  transition: transform .2s;
  margin-top: 1px;
}
.vt-nav > ul > li:hover > a .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.vt-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--vt-surface-raised);
  border: 1px solid var(--vt-border);
  border-radius: var(--vt-radius-lg);
  box-shadow: var(--vt-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .2s ease;
  z-index: 999;
  padding: .5rem;
}
.vt-nav li:hover > .sub-menu,
.vt-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.vt-nav .sub-menu a {
  display: block;
  padding: .5rem .75rem;
  font-size: .875rem;
  color: var(--vt-text);
  border-radius: var(--vt-radius);
}
.vt-nav .sub-menu a:hover { background: var(--vt-surface-alt); color: var(--vt-primary); }

/* Header Actions */
.vt-header__actions { display: flex; align-items: center; gap: .5rem; }
.vt-header__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--vt-radius);
  color: var(--vt-gray-700);
  transition: var(--vt-transition);
}
.vt-header__icon-btn:hover { background: var(--vt-surface-alt); color: var(--vt-primary); }
.vt-header__icon-btn svg { width: 20px; height: 20px; }

.vt-theme-toggle {
  position: relative;
  overflow: hidden;
}
.vt-theme-toggle__icon {
  position: absolute;
  inset: 0;
  margin: auto;
  transition: opacity .2s ease, transform .2s ease;
}
.vt-theme-toggle__icon--sun {
  opacity: 0;
  transform: scale(.6) rotate(-45deg);
}
.vt-theme-toggle__icon--moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
:root[data-theme="dark"] .vt-theme-toggle__icon--sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
:root[data-theme="dark"] .vt-theme-toggle__icon--moon {
  opacity: 0;
  transform: scale(.6) rotate(45deg);
}

/* Cart badge */
.vt-cart-btn { position: relative; }
.vt-cart-btn .cart-count {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--vt-accent);
  color: white;
  font-size: .65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Hamburger */
.vt-hamburger { display: none; }
.vt-hamburger__lines {
  width: 22px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.vt-hamburger__lines span {
  display: block;
  height: 2px;
  background: var(--vt-text);
  border-radius: 2px;
  transition: var(--vt-transition);
}
.vt-hamburger[aria-expanded="true"] .vt-hamburger__lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.vt-hamburger[aria-expanded="true"] .vt-hamburger__lines span:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.vt-hamburger[aria-expanded="true"] .vt-hamburger__lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------------------------------
   6. Search Overlay
   --------------------------------------------------------- */
.vt-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
}
.vt-search-overlay.is-open { opacity: 1; visibility: visible; }
.vt-search-overlay__box {
  background: var(--vt-surface);
  border-radius: var(--vt-radius-xl);
  padding: 2rem;
  width: min(680px, 94vw);
  box-shadow: var(--vt-shadow-lg);
}
.vt-search-overlay__form {
  display: flex;
  border: 2px solid var(--vt-primary);
  border-radius: var(--vt-radius);
  overflow: hidden;
}
.vt-search-overlay__input {
  flex: 1;
  padding: .75rem 1rem;
  border: none;
  outline: none;
  font-size: 1.1rem;
  background: transparent;
}
.vt-search-overlay__submit {
  background: var(--vt-primary);
  color: white;
  padding: .75rem 1.25rem;
  font-weight: 600;
}
.vt-search-overlay__submit:hover { background: var(--vt-primary-dark); }
.vt-search-overlay__close {
  display: flex;
  margin: 1rem auto 0;
  color: var(--vt-gray-500);
  font-size: .875rem;
}

/* ---------------------------------------------------------
   7. Mobile Menu
   --------------------------------------------------------- */
.vt-mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 300px;
  height: 100%;
  background: var(--vt-surface);
  z-index: 9998;
  transform: translateX(-100%);
  transition: transform .3s ease;
  box-shadow: var(--vt-shadow-lg);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.vt-mobile-menu.is-open { transform: translateX(0); }
.vt-mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}
.vt-mobile-menu__overlay.is-open { opacity: 1; visibility: visible; }
.vt-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--vt-border);
  background: var(--vt-surface-alt);
}
.vt-mobile-menu__close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--vt-radius);
  font-size: 1.25rem;
  color: var(--vt-text);
}
.vt-mobile-nav { padding: 1rem; }
.vt-mobile-nav ul { display: flex; flex-direction: column; }
.vt-mobile-nav a {
  display: block;
  padding: .65rem .75rem;
  font-weight: 600;
  color: var(--vt-text);
  border-radius: var(--vt-radius);
  font-size: .95rem;
}
.vt-mobile-nav a:hover { background: var(--vt-surface-alt); color: var(--vt-primary); }
.vt-mobile-nav .sub-menu { padding-left: 1rem; }
.vt-mobile-nav .sub-menu a { font-weight: 400; font-size: .875rem; }
.vt-mobile-search {
  padding: 1rem;
  border-top: 1px solid var(--vt-border);
  margin-top: auto;
}
.vt-mobile-search form { display: flex; gap: .5rem; }
.vt-mobile-search input {
  flex: 1;
  padding: .6rem .875rem;
  border: 1px solid var(--vt-border);
  border-radius: var(--vt-radius);
  outline: none;
  background: var(--vt-surface);
  color: var(--vt-text);
}
.vt-mobile-search input:focus { border-color: var(--vt-primary); }
.vt-mobile-search button {
  background: var(--vt-primary);
  color: white;
  padding: .6rem .875rem;
  border-radius: var(--vt-radius);
  font-weight: 600;
}

/* ---------------------------------------------------------
   8. Page Layout (with / without sidebar)
   --------------------------------------------------------- */
.vt-page-wrap {
  min-height: 60vh;
  padding-block: 2rem;
}
.vt-page-wrap--no-sidebar { }
.vt-layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr var(--vt-sidebar-w);
  gap: 2rem;
  align-items: start;
}
.vt-main { min-width: 0; }
.vt-sidebar { min-width: 0; }

/* Breadcrumbs */
.vt-breadcrumbs {
  font-size: .8rem;
  color: var(--vt-text-muted);
  padding-block: .75rem;
  border-bottom: 1px solid var(--vt-border);
  margin-bottom: 1.5rem;
}
.vt-breadcrumbs a { color: var(--vt-text-muted); }
.vt-breadcrumbs a:hover { color: var(--vt-primary); }
.vt-breadcrumbs span { margin-inline: .35rem; }

/* ---------------------------------------------------------
   9. Post Card
   --------------------------------------------------------- */
.vt-post-card {
  background: var(--vt-surface);
  border: 1px solid var(--vt-border);
  border-radius: var(--vt-radius-lg);
  overflow: hidden;
  transition: var(--vt-transition);
  display: flex;
  flex-direction: column;
}
.vt-post-card:hover {
  box-shadow: var(--vt-shadow-md);
  transform: translateY(-2px);
}
.vt-post-card__thumb {
  overflow: hidden;
  aspect-ratio: 16/9;
}
.vt-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.vt-post-card:hover .vt-post-card__thumb img { transform: scale(1.04); }
.vt-post-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.vt-post-card__cat {
  display: inline-block;
  background: var(--vt-primary);
  color: var(--vt-white);
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: .6rem;
}
.vt-post-card__cat:hover { background: var(--vt-primary-dark); color: white; }
.vt-post-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--vt-heading);
  margin-bottom: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vt-post-card__title a { color: inherit; }
.vt-post-card__title a:hover { color: var(--vt-primary); }
.vt-post-card__excerpt {
  font-size: .875rem;
  color: var(--vt-text-muted);
  line-height: 1.6;
  margin-bottom: .75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vt-post-card__meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .78rem;
  color: var(--vt-text-muted);
  margin-top: auto;
  flex-wrap: wrap;
}
.vt-post-card__meta a { color: var(--vt-text-muted); }
.vt-post-card__meta a:hover { color: var(--vt-primary); }
.vt-post-card__meta-dot::before { content: '·'; margin-right: .75rem; }

/* Card Horizontal */
.vt-post-card--horizontal { flex-direction: row; }
.vt-post-card--horizontal .vt-post-card__thumb {
  width: 120px;
  min-width: 120px;
  aspect-ratio: 1/1;
  border-radius: 0;
}
.vt-post-card--horizontal .vt-post-card__body { padding: .875rem; }
.vt-post-card--horizontal .vt-post-card__title { font-size: .9rem; }

/* ---------------------------------------------------------
   10. Post Grid
   --------------------------------------------------------- */
.vt-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.vt-posts-grid--2col { grid-template-columns: repeat(2, 1fr); }
.vt-posts-grid--4col { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------------------------------------
   11. Front Page / Hero Section
   --------------------------------------------------------- */
.vt-hero {
  background: linear-gradient(135deg, var(--vt-dark) 0%, var(--vt-gray-900) 100%);
  padding-block: 3rem;
  margin-bottom: 3rem;
}
.vt-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.vt-hero__featured {
  position: relative;
  border-radius: var(--vt-radius-xl);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.vt-hero__featured img { width: 100%; height: 100%; object-fit: cover; }
.vt-hero__featured-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 100%);
  padding: 2rem 1.5rem 1.5rem;
  color: white;
}
.vt-hero__featured-cat {
  display: inline-block;
  background: var(--vt-primary);
  color: white;
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: .5rem;
}
.vt-hero__featured-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  color: white;
  margin-bottom: .5rem;
}
.vt-hero__featured-title a { color: white; }
.vt-hero__featured-meta { font-size: .78rem; color: rgba(255,255,255,.7); }

.vt-hero__list { display: flex; flex-direction: column; gap: .75rem; }
.vt-hero__list-item {
  display: flex;
  gap: .875rem;
  background: rgba(255,255,255,.05);
  border-radius: var(--vt-radius);
  padding: .875rem;
  border: 1px solid rgba(255,255,255,.08);
  transition: var(--vt-transition);
}
.vt-hero__list-item:hover { background: rgba(255,255,255,.1); }
.vt-hero__list-thumb {
  width: 80px;
  min-width: 80px;
  aspect-ratio: 1/1;
  border-radius: var(--vt-radius);
  overflow: hidden;
}
.vt-hero__list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vt-hero__list-body {}
.vt-hero__list-cat {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--vt-primary);
  margin-bottom: .3rem;
}
.vt-hero__list-title {
  font-size: .9rem;
  font-weight: 700;
  color: white;
  line-height: 1.4;
  margin-bottom: .3rem;
}
.vt-hero__list-title a { color: white; }
.vt-hero__list-title a:hover { color: var(--vt-primary); }
.vt-hero__list-meta { font-size: .72rem; color: rgba(255,255,255,.5); }

/* Section Header */
.vt-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: .875rem;
  border-bottom: 2px solid var(--vt-border);
}
.vt-section-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--vt-heading);
  position: relative;
  padding-left: .875rem;
}
.vt-section-title::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 1.2em;
  background: var(--vt-primary);
  border-radius: 2px;
}
.vt-section-view-all {
  font-size: .8rem;
  font-weight: 600;
  color: var(--vt-primary);
  border: 1px solid var(--vt-primary);
  padding: .3rem .75rem;
  border-radius: var(--vt-radius);
}
.vt-section-view-all:hover { background: var(--vt-primary); color: white; }

/* Category Tabs */
.vt-cat-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.vt-cat-tab {
  padding: .4rem .875rem;
  border-radius: var(--vt-radius);
  font-size: .825rem;
  font-weight: 600;
  background: var(--vt-surface-alt);
  color: var(--vt-text);
  transition: var(--vt-transition);
}
.vt-cat-tab:hover,
.vt-cat-tab.is-active {
  background: var(--vt-primary);
  color: white;
}

/* ---------------------------------------------------------
   12. Single Post Page
   --------------------------------------------------------- */
.vt-single-hero {
  background: var(--vt-dark);
  color: white;
  padding-block: 3rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}
.vt-single-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(0);
}
.vt-single-hero__inner { position: relative; z-index: 1; }
.vt-single-hero .vt-post-cat {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--vt-primary);
  color: white;
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .875rem;
}
.vt-single-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: white;
  max-width: 820px;
}
.vt-single-hero__excerpt {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.vt-single-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: .825rem;
  color: rgba(255,255,255,.65);
}
.vt-single-hero__author { display: flex; align-items: center; gap: .5rem; }
.vt-single-hero__author-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.3);
}
.vt-single-hero__author-name { font-weight: 600; color: white; }
.vt-single-hero__meta-item { display: flex; align-items: center; gap: .35rem; }
.vt-single-hero__meta-item svg { width: 14px; height: 14px; }

/* Featured image */
.vt-single-featured {
  margin-bottom: 2.5rem;
  border-radius: var(--vt-radius-xl);
  overflow: hidden;
  max-height: 520px;
}
.vt-single-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 520px;
}

/* Share Bar */
.vt-share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .625rem;
  padding: 1rem 0;
  border-top: 1px solid var(--vt-border);
  border-bottom: 1px solid var(--vt-border);
  margin-bottom: 2rem;
}
.vt-share-bar__label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--vt-text-muted);
  margin-right: .25rem;
}
.vt-share-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .875rem;
  border-radius: var(--vt-radius);
  font-size: .8rem;
  font-weight: 600;
  transition: var(--vt-transition);
  border: 1px solid transparent;
}
.vt-share-btn--twitter { background: #1da1f2; color: white; }
.vt-share-btn--twitter:hover { background: #0c85d0; color: white; }
.vt-share-btn--facebook { background: #1877f2; color: white; }
.vt-share-btn--facebook:hover { background: #0d65d9; color: white; }
.vt-share-btn--linkedin { background: #0077b5; color: white; }
.vt-share-btn--linkedin:hover { background: #006097; color: white; }
.vt-share-btn--copy {
  background: var(--vt-surface-alt);
  color: var(--vt-text);
  border-color: var(--vt-border);
}
.vt-share-btn--copy:hover { background: var(--vt-gray-300); }
.vt-share-btn svg { width: 14px; height: 14px; }

/* Table of Contents */
.vt-toc {
  background: var(--vt-surface-alt);
  border: 1px solid var(--vt-border);
  border-radius: var(--vt-radius-lg);
  padding: 1.25rem;
  margin-bottom: 2rem;
}
.vt-toc__title {
  font-size: .9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .875rem;
  color: var(--vt-text);
  display: flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
}
.vt-toc__toggle-icon { margin-left: auto; transition: transform .2s; }
.vt-toc.is-collapsed .vt-toc__toggle-icon { transform: rotate(-90deg); }
.vt-toc.is-collapsed .vt-toc__list { display: none; }
.vt-toc__list { display: flex; flex-direction: column; gap: .25rem; counter-reset: toc; }
.vt-toc__item { display: flex; gap: .5rem; }
.vt-toc__item::before {
  counter-increment: toc;
  content: counter(toc) '.';
  font-size: .8rem;
  font-weight: 700;
  color: var(--vt-primary);
  min-width: 1.5rem;
}
.vt-toc__link {
  font-size: .875rem;
  color: var(--vt-text-muted);
  line-height: 1.5;
}
.vt-toc__link:hover { color: var(--vt-primary); }

/* ---------------------------------------------------------
   13. Entry Content Typography
   --------------------------------------------------------- */
.entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--vt-text);
}
.entry-content > * + * { margin-top: 1.25em; }
.entry-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--vt-heading);
  margin-top: 2em;
  margin-bottom: .5em;
  line-height: 1.3;
}
.entry-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--vt-heading);
  margin-top: 1.75em;
  margin-bottom: .4em;
}
.entry-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--vt-heading);
  margin-top: 1.5em;
}
.entry-content p { }
.entry-content a { color: var(--vt-primary); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--vt-primary-dark); }
.entry-content strong { font-weight: 700; }
.entry-content em { font-style: italic; }
.entry-content ul, .entry-content ol {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content blockquote {
  border-left: 4px solid var(--vt-primary);
  padding: 1.25rem 1.5rem;
  background: var(--vt-surface-alt);
  border-radius: 0 var(--vt-radius) var(--vt-radius) 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--vt-gray-700);
  position: relative;
}
.entry-content blockquote cite {
  display: block;
  font-size: .85rem;
  font-style: normal;
  font-weight: 600;
  color: var(--vt-text-muted);
  margin-top: .5rem;
}
.entry-content blockquote cite::before { content: '— '; }
.entry-content code {
  background: var(--vt-dark);
  color: #79c0ff;
  font-family: var(--vt-font-mono);
  font-size: .875em;
  padding: .15em .4em;
  border-radius: 4px;
}
.entry-content pre {
  background: var(--vt-dark);
  color: #e6edf3;
  font-family: var(--vt-font-mono);
  font-size: .9rem;
  padding: 1.5rem;
  border-radius: var(--vt-radius-lg);
  overflow-x: auto;
  line-height: 1.6;
  position: relative;
}
.entry-content pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.entry-content table th, .entry-content table td {
  border: 1px solid var(--vt-border);
  padding: .6rem .875rem;
  text-align: left;
}
.entry-content table th {
  background: var(--vt-surface-alt);
  font-weight: 700;
}
.entry-content table tr:nth-child(even) { background: var(--vt-surface-alt); }
.entry-content figure { text-align: center; }
.entry-content figcaption {
  font-size: .8rem;
  color: var(--vt-text-muted);
  margin-top: .5rem;
}
.entry-content img { border-radius: var(--vt-radius); }
.entry-content hr {
  border: none;
  border-top: 1px solid var(--vt-border);
  margin-block: 2rem;
}

/* ---------------------------------------------------------
   14. Post Tags
   --------------------------------------------------------- */
.vt-post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--vt-border);
}
.vt-post-tags__label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--vt-text-muted);
}
.vt-post-tag {
  display: inline-block;
  background: var(--vt-surface-alt);
  color: var(--vt-text);
  font-size: .78rem;
  padding: .3rem .7rem;
  border-radius: var(--vt-radius);
  border: 1px solid var(--vt-border);
  transition: var(--vt-transition);
}
.vt-post-tag:hover { background: var(--vt-primary); color: white; border-color: var(--vt-primary); }

/* ---------------------------------------------------------
   15. Author Box
   --------------------------------------------------------- */
.vt-author-box {
  display: flex;
  gap: 1.25rem;
  background: var(--vt-surface-alt);
  border: 1px solid var(--vt-border);
  border-radius: var(--vt-radius-lg);
  padding: 1.5rem;
  margin-block: 2rem;
}
.vt-author-box__avatar {
  width: 80px;
  min-width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--vt-surface);
  box-shadow: var(--vt-shadow);
}
.vt-author-box__name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--vt-heading);
  margin-bottom: .25rem;
}
.vt-author-box__name a { color: inherit; }
.vt-author-box__name a:hover { color: var(--vt-primary); }
.vt-author-box__label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--vt-primary);
  letter-spacing: .4px;
  margin-bottom: .5rem;
}
.vt-author-box__bio { font-size: .875rem; color: var(--vt-text-muted); line-height: 1.6; }

/* ---------------------------------------------------------
   16. Post Navigation
   --------------------------------------------------------- */
.vt-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-block: 2.5rem;
}
.vt-post-nav__item {
  background: var(--vt-surface-alt);
  border: 1px solid var(--vt-border);
  border-radius: var(--vt-radius-lg);
  padding: 1rem 1.25rem;
  transition: var(--vt-transition);
}
.vt-post-nav__item:hover { border-color: var(--vt-primary); background: var(--vt-surface); }
.vt-post-nav__item.is-next { text-align: right; }
.vt-post-nav__label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: var(--vt-text-muted);
  margin-bottom: .4rem;
  display: flex;
  align-items: center;
  gap: .3rem;
}
.is-next .vt-post-nav__label { justify-content: flex-end; }
.vt-post-nav__title {
  font-size: .925rem;
  font-weight: 700;
  color: var(--vt-heading);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------------------------------------------------------
   17. Related Posts
   --------------------------------------------------------- */
.vt-related {
  margin-block: 2.5rem;
}
.vt-related__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--vt-heading);
  padding-bottom: .875rem;
  border-bottom: 2px solid var(--vt-border);
  margin-bottom: 1.5rem;
}
.vt-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ---------------------------------------------------------
   18. Comments
   --------------------------------------------------------- */
.vt-comments { margin-block: 2.5rem; }
.vt-comments__title { font-size: 1.3rem; font-weight: 800; margin-bottom: 1.5rem; }
.comment-list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.comment-body {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: .875rem;
}
.comment-author-avatar img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.comment-content-wrap { }
.comment-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: .4rem; flex-wrap: wrap; }
.comment-author-name { font-weight: 700; font-size: .9rem; }
.comment-date { font-size: .78rem; color: var(--vt-text-muted); }
.comment-text { font-size: .9rem; line-height: 1.6; color: var(--vt-text); }
.comment-reply-link {
  font-size: .78rem;
  font-weight: 600;
  color: var(--vt-primary);
  margin-top: .4rem;
  display: inline-block;
}
.children { padding-left: 2rem; margin-top: 1rem; border-left: 2px solid var(--vt-border); }

/* Comment Form */
#respond { margin-top: 2rem; }
.comment-reply-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; }
.vt-comment-form { display: flex; flex-direction: column; gap: 1rem; }
.vt-comment-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vt-comment-form label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--vt-text-muted);
}
.vt-comment-form input,
.vt-comment-form textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1px solid var(--vt-border);
  border-radius: var(--vt-radius);
  font-size: .9rem;
  outline: none;
  transition: var(--vt-transition);
  background: var(--vt-surface);
  color: var(--vt-text);
}
.vt-comment-form input:focus,
.vt-comment-form textarea:focus { border-color: var(--vt-primary); box-shadow: 0 0 0 3px rgba(15,111,255,.1); }
.vt-comment-form textarea { min-height: 140px; resize: vertical; }
.vt-comment-form__submit {
  align-self: flex-start;
  background: var(--vt-primary);
  color: white;
  padding: .7rem 1.75rem;
  border-radius: var(--vt-radius);
  font-weight: 700;
  font-size: .9rem;
  transition: var(--vt-transition);
}
.vt-comment-form__submit:hover { background: var(--vt-primary-dark); }

/* ---------------------------------------------------------
   19. Sidebar Widgets
   --------------------------------------------------------- */
.vt-widget {
  background: var(--vt-surface);
  border: 1px solid var(--vt-border);
  border-radius: var(--vt-radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.vt-widget__title {
  font-size: .875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--vt-heading);
  padding-bottom: .75rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--vt-primary);
  position: relative;
}
.vt-widget__title::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 40px;
  height: 2px;
  background: var(--vt-primary);
}

/* Recent Posts Widget */
.vt-recent-posts { display: flex; flex-direction: column; gap: .875rem; }
.vt-recent-post { display: flex; gap: .75rem; }
.vt-recent-post__thumb {
  width: 70px;
  min-width: 70px;
  aspect-ratio: 1;
  border-radius: var(--vt-radius);
  overflow: hidden;
}
.vt-recent-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vt-recent-post__title {
  font-size: .825rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--vt-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: .3rem;
}
.vt-recent-post__title a { color: inherit; }
.vt-recent-post__title a:hover { color: var(--vt-primary); }
.vt-recent-post__meta { font-size: .72rem; color: var(--vt-text-muted); }

/* Categories Widget */
.vt-cat-list { display: flex; flex-direction: column; gap: .3rem; }
.vt-cat-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem .6rem;
  border-radius: var(--vt-radius);
  font-size: .875rem;
  transition: var(--vt-transition);
}
.vt-cat-list__item:hover { background: var(--vt-surface-alt); }
.vt-cat-list__name { color: var(--vt-text); font-weight: 500; }
.vt-cat-list__name:hover { color: var(--vt-primary); }
.vt-cat-list__count {
  background: var(--vt-surface-alt);
  color: var(--vt-text-muted);
  font-size: .7rem;
  font-weight: 700;
  padding: .15rem .45rem;
  border-radius: 4px;
}

/* Social Widget */
.vt-social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; }
.vt-social-follow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .875rem .5rem;
  border-radius: var(--vt-radius);
  font-size: .78rem;
  font-weight: 700;
  color: white;
  text-align: center;
  gap: .25rem;
  transition: var(--vt-transition);
}
.vt-social-follow:hover { transform: translateY(-2px); opacity: .9; color: white; }
.vt-social-follow span { font-size: 1rem; font-weight: 800; }
.vt-social-follow--twitter { background: #1da1f2; }
.vt-social-follow--facebook { background: #1877f2; }
.vt-social-follow--youtube { background: #ff0000; }
.vt-social-follow--instagram { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }

/* Newsletter Widget */
.vt-newsletter { }
.vt-newsletter p { font-size: .85rem; color: var(--vt-text-muted); margin-bottom: .875rem; }
.vt-newsletter__form { display: flex; flex-direction: column; gap: .5rem; }
.vt-newsletter__input {
  width: 100%;
  padding: .65rem .875rem;
  border: 1px solid var(--vt-border);
  border-radius: var(--vt-radius);
  font-size: .875rem;
  outline: none;
  background: var(--vt-surface);
  color: var(--vt-text);
}
.vt-newsletter__input:focus { border-color: var(--vt-primary); }
.vt-newsletter__btn {
  width: 100%;
  background: var(--vt-primary);
  color: white;
  padding: .65rem;
  border-radius: var(--vt-radius);
  font-weight: 700;
  font-size: .875rem;
  transition: var(--vt-transition);
}
.vt-newsletter__btn:hover { background: var(--vt-primary-dark); }

/* ---------------------------------------------------------
   20. Archive / Category Pages
   --------------------------------------------------------- */
.vt-archive-header {
  background: var(--vt-surface-alt);
  border-bottom: 1px solid var(--vt-border);
  padding-block: 1.75rem;
  margin-bottom: 2rem;
}
.vt-archive-header h1 {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--vt-heading);
  margin-bottom: .375rem;
}
.vt-archive-header .archive-description {
  font-size: .9rem;
  color: var(--vt-text-muted);
}
.vt-archive-header__cat-icon {
  display: inline-block;
  background: var(--vt-primary);
  color: white;
  padding: .2rem .7rem;
  border-radius: 4px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: .5rem;
}

/* Pagination */
.vt-pagination {
  display: flex;
  justify-content: center;
  gap: .375rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--vt-border);
}
.vt-pagination a,
.vt-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding-inline: .5rem;
  border-radius: var(--vt-radius);
  font-size: .875rem;
  font-weight: 600;
  border: 1px solid var(--vt-border);
  color: var(--vt-text);
  transition: var(--vt-transition);
}
.vt-pagination a:hover { border-color: var(--vt-primary); color: var(--vt-primary); background: rgba(15,111,255,.05); }
.vt-pagination .current { background: var(--vt-primary); color: white; border-color: var(--vt-primary); }
.vt-pagination .dots { border: none; background: none; color: var(--vt-text-muted); }

/* ---------------------------------------------------------
   21. Author Page
   --------------------------------------------------------- */
.vt-author-header {
  background: linear-gradient(135deg, var(--vt-dark) 0%, var(--vt-gray-900) 100%);
  color: white;
  padding-block: 3rem;
  margin-bottom: 2.5rem;
}
.vt-author-header__inner {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.vt-author-header__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,.2);
  flex-shrink: 0;
}
.vt-author-header h1 { font-size: 2rem; font-weight: 900; color: white; margin-bottom: .375rem; }
.vt-author-header .author-bio { font-size: .95rem; color: rgba(255,255,255,.7); margin-top: .5rem; max-width: 600px; }
.vt-author-header__stats {
  display: flex;
  gap: 1.5rem;
  margin-top: .875rem;
}
.vt-author-header__stat { text-align: center; }
.vt-author-header__stat-num { font-size: 1.25rem; font-weight: 800; color: white; }
.vt-author-header__stat-lbl { font-size: .72rem; color: rgba(255,255,255,.55); }

/* ---------------------------------------------------------
   22. Search Page
   --------------------------------------------------------- */
.vt-search-page-header {
  padding-block: 2rem;
  background: var(--vt-surface-alt);
  border-bottom: 1px solid var(--vt-border);
  margin-bottom: 2rem;
}
.vt-search-page-header h1 { font-size: 1.5rem; font-weight: 800; color: var(--vt-heading); margin-bottom: .875rem; }
.vt-search-big-form { display: flex; max-width: 640px; }
.vt-search-big-input {
  flex: 1;
  padding: .8rem 1rem;
  border: 2px solid var(--vt-border);
  border-right: none;
  border-radius: var(--vt-radius) 0 0 var(--vt-radius);
  font-size: .95rem;
  outline: none;
  background: var(--vt-surface);
  color: var(--vt-text);
}
.vt-search-big-input:focus { border-color: var(--vt-primary); }
.vt-search-big-submit {
  background: var(--vt-primary);
  color: white;
  padding: .8rem 1.5rem;
  border-radius: 0 var(--vt-radius) var(--vt-radius) 0;
  font-weight: 700;
  font-size: .9rem;
  transition: var(--vt-transition);
}
.vt-search-big-submit:hover { background: var(--vt-primary-dark); }
.vt-search-count { font-size: .9rem; color: var(--vt-text-muted); margin-top: .5rem; }

/* ---------------------------------------------------------
   23. 404 Page
   --------------------------------------------------------- */
.vt-404 {
  text-align: center;
  padding-block: 5rem;
}
.vt-404__code {
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--vt-primary), var(--vt-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .5rem;
}
.vt-404 h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: .75rem; }
.vt-404 p { color: var(--vt-text-muted); max-width: 500px; margin-inline: auto; margin-bottom: 2rem; }
.vt-404__search { max-width: 400px; margin-inline: auto; margin-bottom: 3rem; }
.vt-404__popular h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }

/* ---------------------------------------------------------
   24. Footer
   --------------------------------------------------------- */
.vt-footer {
  background: var(--vt-dark-2);
  color: #a0a9b8;
  padding-top: 4rem;
}
.vt-footer__widgets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.vt-footer__widget h3 {
  font-size: .875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--vt-white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: .625rem;
}
.vt-footer__widget h3::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--vt-primary);
  border-radius: 2px;
}
.vt-footer__widget p { font-size: .875rem; line-height: 1.7; margin-bottom: .875rem; }
.vt-footer__widget ul { display: flex; flex-direction: column; gap: .4rem; }
.vt-footer__widget ul li a {
  font-size: .875rem;
  color: #a0a9b8;
  transition: var(--vt-transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.vt-footer__widget ul li a:hover { color: var(--vt-white); padding-left: .25rem; }
.vt-footer__widget ul li a::before { content: '›'; color: var(--vt-primary); }
.vt-footer__logo { margin-bottom: 1rem; }
.vt-footer__logo .vt-logo__text { color: var(--vt-white); font-size: 1.5rem; }

/* Footer recent posts */
.vt-footer-recent { display: flex; flex-direction: column; gap: .75rem; }
.vt-footer-post { display: flex; gap: .625rem; }
.vt-footer-post__thumb {
  width: 56px; min-width: 56px;
  aspect-ratio: 1;
  border-radius: var(--vt-radius);
  overflow: hidden;
}
.vt-footer-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vt-footer-post__title { font-size: .8rem; font-weight: 600; color: #c8d0dc; line-height: 1.4; }
.vt-footer-post__title a { color: inherit; }
.vt-footer-post__title a:hover { color: var(--vt-white); }
.vt-footer-post__date { font-size: .7rem; color: #6b7280; margin-top: .25rem; }

/* Footer Bottom Bar */
.vt-footer__bottom {
  padding-block: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .8rem;
}
.vt-footer__copyright { color: #6b7280; }
.vt-footer__bottom-links { display: flex; gap: 1rem; }
.vt-footer__bottom-links a { color: #6b7280; }
.vt-footer__bottom-links a:hover { color: var(--vt-white); }
.vt-footer__social { display: flex; gap: .5rem; }
.vt-footer__social-link {
  width: 32px; height: 32px;
  border-radius: var(--vt-radius);
  background: rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0a9b8;
  font-size: .75rem;
  transition: var(--vt-transition);
}
.vt-footer__social-link:hover { background: var(--vt-primary); color: white; }

/* ---------------------------------------------------------
   25. Buttons
   --------------------------------------------------------- */
.vt-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.25rem;
  border-radius: var(--vt-radius);
  font-weight: 700;
  font-size: .9rem;
  transition: var(--vt-transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.vt-btn--primary { background: var(--vt-primary); color: white; }
.vt-btn--primary:hover { background: var(--vt-primary-dark); color: white; }
.vt-btn--outline { border-color: var(--vt-border); color: var(--vt-text); }
.vt-btn--outline:hover { border-color: var(--vt-primary); color: var(--vt-primary); }
.vt-btn--lg { padding: .875rem 1.75rem; font-size: 1rem; }

/* ---------------------------------------------------------
   26. Badges & Labels
   --------------------------------------------------------- */
.vt-badge {
  display: inline-block;
  padding: .2rem .6rem;
  border-radius: 4px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.vt-badge--new { background: #22c55e; color: white; }
.vt-badge--trending { background: var(--vt-accent); color: white; }
.vt-badge--hot { background: #f97316; color: white; }

/* ---------------------------------------------------------
   27. Loading / Skeleton
   --------------------------------------------------------- */
@keyframes vt-shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}
.vt-skeleton {
  background: linear-gradient(90deg, var(--vt-gray-100) 25%, var(--vt-gray-300) 50%, var(--vt-gray-100) 75%);
  background-size: 200px 100%;
  animation: vt-shimmer 1.5s infinite;
  border-radius: var(--vt-radius);
}

/* ---------------------------------------------------------
   28. Elementor Compatibility
   --------------------------------------------------------- */
.elementor-page .vt-page-wrap { padding-block: 0; }
.elementor-page .entry-content { font-size: initial; }
.elementor-section, .elementor-widget { }
.elementor-page .vt-container { max-width: 100%; padding-inline: 0; }
body.elementor-editor-active .vt-header { position: relative !important; }

/* Full width template */
.vt-fullwidth .vt-page-wrap { padding: 0; }
.vt-fullwidth .entry-content { max-width: 100%; }

/* ---------------------------------------------------------
   29. Utility Classes
   --------------------------------------------------------- */
.text-center { text-align: center; }
.text-muted { color: var(--vt-text-muted); }
.fw-bold { font-weight: 700; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hidden { display: none; }
.visible { display: block; }

/* ---------------------------------------------------------
   30. Responsive
   --------------------------------------------------------- */
@media (max-width: 1100px) {
  :root { --vt-container: 960px; }
  .vt-posts-grid--4col { grid-template-columns: repeat(3, 1fr); }
  .vt-footer__widgets { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .vt-layout-with-sidebar {
    grid-template-columns: 1fr;
  }
  .vt-sidebar { order: -1; }
  .vt-sidebar .vt-widget { margin-bottom: 1rem; }
  .vt-hero__inner { grid-template-columns: 1fr; }
  .vt-related-grid { grid-template-columns: repeat(2, 1fr); }
  .vt-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .vt-posts-grid--4col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .vt-topbar { display: none; }
  .vt-nav { display: none; }
  .vt-hamburger { display: flex; }
  .vt-header__actions .vt-cart-btn { display: none; }
  .vt-posts-grid { grid-template-columns: 1fr; }
  .vt-posts-grid--2col { grid-template-columns: 1fr; }
  .vt-post-nav { grid-template-columns: 1fr; }
  .vt-related-grid { grid-template-columns: 1fr; }
  .vt-footer__widgets { grid-template-columns: 1fr; gap: 1.5rem; }
  .vt-comment-form__row { grid-template-columns: 1fr; }
  .vt-single-hero { padding-block: 2rem; }
  .vt-author-header__inner { flex-direction: column; text-align: center; }
  .vt-author-header__stats { justify-content: center; }
  .vt-hero__list { gap: .5rem; }
}

@media (max-width: 480px) {
  .vt-post-card--horizontal .vt-post-card__thumb { width: 90px; min-width: 90px; }
  .vt-author-box { flex-direction: column; align-items: center; text-align: center; }
  .vt-404__code { font-size: 5rem; }
  .vt-footer__bottom { flex-direction: column; text-align: center; }
}

/* ---------------------------------------------------------
   31. Print
   --------------------------------------------------------- */
@media print {
  .vt-topbar, .vt-header__actions, .vt-sidebar, .vt-footer,
  .vt-share-bar, .vt-related, .vt-comments { display: none; }
  .vt-layout-with-sidebar { grid-template-columns: 1fr; }
  body { font-size: 12pt; }
}
