/* ============================================================
   Vatha Theme — screen.css
   Magazine-Style Ghost Theme
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --vatha-accent:       #C0392B;
  --vatha-accent-dark:  #962D22;
  --vatha-bg:           #FFFFFF;
  --vatha-bg-2:         #F7F7F5;
  --vatha-surface:      #FAFAF8;
  --vatha-ink:          #1A1A18;
  --vatha-ink-2:        #4A4A46;
  --vatha-ink-3:        #8A8A84;
  --vatha-border:       #E8E8E4;
  --vatha-border-2:     #D8D8D4;
  --vatha-shadow:       0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --vatha-shadow-hover: 0 4px 12px rgba(0,0,0,.12), 0 8px 32px rgba(0,0,0,.1);
  --vatha-radius:       8px;
  --vatha-radius-lg:    12px;
  --vatha-font-display: 'Playfair Display', Georgia, serif;
  --vatha-font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --vatha-max-width:    1200px;
  --vatha-header-h:     64px;
}

/* Dark Mode */
.vatha-dark {
  --vatha-bg:     #0F0F0D;
  --vatha-bg-2:   #1A1A18;
  --vatha-surface:#242420;
  --vatha-ink:    #F0F0EC;
  --vatha-ink-2:  #C0C0B8;
  --vatha-ink-3:  #707068;
  --vatha-border: #2A2A26;
  --vatha-border-2:#383830;
  --vatha-shadow: 0 1px 3px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.2);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--vatha-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--vatha-ink);
  background: var(--vatha-bg);
  transition: background .25s ease, color .25s ease;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--vatha-accent); text-decoration: none; transition: color .15s; }
a:hover { color: var(--vatha-accent-dark); }
img { max-width: 100%; height: auto; display: block; }

/* --- Layout Utilities --- */
.vatha-container {
  max-width: var(--vatha-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.vatha-site {
  min-height: calc(100vh - var(--vatha-header-h));
}

.vatha-main {
  padding: 40px 0 64px;
}

.vatha-content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

/* --- Header --- */
.vatha-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--vatha-bg);
  border-bottom: 1px solid var(--vatha-border);
  height: var(--vatha-header-h);
  transition: background .25s;
}

.vatha-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--vatha-max-width);
  margin: 0 auto;
  padding: 0 24px;
  gap: 24px;
}

.vatha-logo-text {
  font-family: var(--vatha-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--vatha-ink);
  letter-spacing: -.02em;
}
.vatha-logo-text:hover { color: var(--vatha-accent); }

.vatha-logo-img { height: 36px; width: auto; }

.vatha-nav { display: flex; align-items: center; }
.vatha-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}
.vatha-nav-list a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--vatha-ink-2);
  padding: 6px 12px;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.vatha-nav-list a:hover,
.vatha-nav-list .current a {
  background: var(--vatha-bg-2);
  color: var(--vatha-accent);
}

.vatha-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vatha-search-toggle,
.vatha-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--vatha-ink-2);
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.vatha-search-toggle:hover,
.vatha-menu-toggle:hover {
  background: var(--vatha-bg-2);
  color: var(--vatha-ink);
}

.vatha-menu-toggle span {
  display: none;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.vatha-search-bar {
  position: absolute;
  top: var(--vatha-header-h);
  left: 0;
  right: 0;
  background: var(--vatha-bg);
  border-bottom: 1px solid var(--vatha-border);
  padding: 12px 24px;
  display: none;
}
.vatha-search-bar.is-open { display: block; }
.vatha-search-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--vatha-max-width);
  margin: 0 auto;
}
.vatha-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: var(--vatha-ink);
  outline: none;
}
.vatha-search-close {
  border: none;
  background: none;
  color: var(--vatha-ink-3);
  cursor: pointer;
  font-size: .875rem;
  padding: 4px 8px;
}

.vatha-mobile-nav {
  display: none;
  background: var(--vatha-bg);
  border-bottom: 1px solid var(--vatha-border);
  padding: 16px 24px;
}
.vatha-mobile-nav.is-open { display: block; }
.vatha-mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vatha-mobile-nav-list a {
  display: block;
  padding: 8px 12px;
  color: var(--vatha-ink-2);
  font-weight: 500;
  border-radius: 6px;
}
.vatha-mobile-nav-list a:hover { background: var(--vatha-bg-2); color: var(--vatha-ink); }

/* --- Dark Mode Toggle --- */
.vatha-darkmode-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--vatha-border);
  background: var(--vatha-bg);
  color: var(--vatha-ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--vatha-shadow);
  transition: all .2s;
}
.vatha-darkmode-toggle:hover {
  background: var(--vatha-accent);
  color: #fff;
  border-color: var(--vatha-accent);
}
.vatha-darkmode-toggle svg { width: 18px; height: 18px; }
.vatha-dark .icon-sun { display: block; }
.vatha-dark .icon-moon { display: none; }
.icon-sun { display: none; }
.icon-moon { display: block; }

/* --- Hero Section --- */
.vatha-hero {
  margin-bottom: 16px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--vatha-border);
}

.vatha-hero-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.vatha-hero-main {
  grid-row: 1 / 3;
  border-radius: var(--vatha-radius-lg);
  overflow: hidden;
  background: var(--vatha-bg-2);
  display: flex;
  flex-direction: column;
}

.vatha-hero-main-image-wrap { display: block; overflow: hidden; aspect-ratio: 16/10; }
.vatha-hero-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.vatha-hero-main-image-wrap:hover .vatha-hero-main-image { transform: scale(1.03); }

.vatha-hero-main-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vatha-hero-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--vatha-accent);
  background: rgba(14,158,106,.1);
  padding: 3px 8px;
  border-radius: 4px;
}
.vatha-hero-tag:hover { color: var(--vatha-accent-dark); }

.vatha-hero-main-title {
  font-family: var(--vatha-font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--vatha-ink);
}
.vatha-hero-main-title a { color: inherit; }
.vatha-hero-main-title a:hover { color: var(--vatha-accent); }

.vatha-hero-main-excerpt {
  color: var(--vatha-ink-2);
  font-size: .9375rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vatha-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .8125rem;
  color: var(--vatha-ink-3);
  flex-wrap: wrap;
  margin-top: auto;
}

.vatha-hero-author {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--vatha-ink-2);
  font-weight: 500;
}
.vatha-hero-author:hover { color: var(--vatha-accent); }
.vatha-hero-author-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.vatha-hero-side {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: var(--vatha-radius);
  background: var(--vatha-bg-2);
  border: 1px solid var(--vatha-border);
}

.vatha-hero-side-image-wrap { flex-shrink: 0; width: 100px; height: 80px; border-radius: 6px; overflow: hidden; }
.vatha-hero-side-image { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.vatha-hero-side-image-wrap:hover .vatha-hero-side-image { transform: scale(1.05); }

.vatha-hero-side-content { display: flex; flex-direction: column; gap: 6px; }
.vatha-hero-side-title {
  font-family: var(--vatha-font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--vatha-ink);
}
.vatha-hero-side-title a { color: inherit; }
.vatha-hero-side-title a:hover { color: var(--vatha-accent); }

/* --- Tag Navigation --- */
.vatha-tag-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  padding: 0 0 2px;
  scrollbar-width: none;
  border-bottom: 1px solid var(--vatha-border);
  margin-top: 8px;
}
.vatha-tag-nav::-webkit-scrollbar { display: none; }

.vatha-tag-nav-item {
  flex-shrink: 0;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--vatha-ink-3);
  padding: 8px 14px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}
.vatha-tag-nav-item:hover,
.vatha-tag-nav-item.is-active {
  color: var(--vatha-accent);
  border-bottom-color: var(--vatha-accent);
}

/* --- Post Cards Grid --- */
.vatha-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.vatha-card {
  background: var(--vatha-bg);
  border-radius: var(--vatha-radius-lg);
  overflow: hidden;
  border: 1px solid var(--vatha-border);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
.vatha-card:hover {
  box-shadow: var(--vatha-shadow-hover);
  transform: translateY(-2px);
}
.vatha-card.is-featured { grid-column: span 2; flex-direction: row; }
.vatha-card.is-featured .vatha-card-image-wrap { width: 45%; flex-shrink: 0; aspect-ratio: auto; min-height: 220px; }
.vatha-card.is-featured .vatha-card-content { padding: 28px; }

.vatha-card-image-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.vatha-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.vatha-card-image-wrap:hover .vatha-card-image { transform: scale(1.04); }

.vatha-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.vatha-card-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--vatha-accent);
}
.vatha-card-tag:hover { color: var(--vatha-accent-dark); }

.vatha-card-title {
  font-family: var(--vatha-font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--vatha-ink);
}
.vatha-card.is-featured .vatha-card-title { font-size: 1.375rem; }
.vatha-card-title a { color: inherit; }
.vatha-card-title a:hover { color: var(--vatha-accent); }

.vatha-card-excerpt {
  font-size: .875rem;
  color: var(--vatha-ink-2);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vatha-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  color: var(--vatha-ink-3);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--vatha-border);
  flex-wrap: wrap;
}

.vatha-card-author {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--vatha-ink-2);
  font-weight: 500;
}
.vatha-card-author:hover { color: var(--vatha-accent); }
.vatha-card-author-img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

/* --- Sidebar --- */
.vatha-sidebar {
  position: sticky;
  top: calc(var(--vatha-header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vatha-widget {
  background: var(--vatha-surface);
  border: 1px solid var(--vatha-border);
  border-radius: var(--vatha-radius-lg);
  padding: 20px;
}

.vatha-widget-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--vatha-ink-3);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--vatha-border);
}

.vatha-widget-about {
  text-align: center;
  background: linear-gradient(135deg, var(--vatha-bg-2), var(--vatha-surface));
}

.vatha-widget-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.vatha-widget-site-title {
  font-family: var(--vatha-font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--vatha-ink);
  margin-bottom: 6px;
}

.vatha-widget-desc {
  font-size: .8125rem;
  color: var(--vatha-ink-3);
  line-height: 1.5;
}

.vatha-widget-post {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--vatha-border);
}
.vatha-widget-post:last-child { border-bottom: none; padding-bottom: 0; }
.vatha-widget-post:first-child { padding-top: 0; }

.vatha-widget-post-image-wrap {
  flex-shrink: 0;
  width: 64px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
}
.vatha-widget-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.vatha-widget-post-image-wrap:hover .vatha-widget-post-image { transform: scale(1.08); }

.vatha-widget-post-content { display: flex; flex-direction: column; gap: 3px; }

.vatha-widget-post-tag {
  font-size: .69rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--vatha-accent);
}

.vatha-widget-post-title {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--vatha-ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vatha-widget-post-title:hover { color: var(--vatha-accent); }

.vatha-widget-post-date {
  font-size: .72rem;
  color: var(--vatha-ink-3);
}

.vatha-widget-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vatha-widget-tag-pill {
  font-size: .775rem;
  font-weight: 500;
  color: var(--vatha-ink-2);
  background: var(--vatha-bg-2);
  border: 1px solid var(--vatha-border);
  border-radius: 20px;
  padding: 4px 10px;
  transition: all .15s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.vatha-widget-tag-pill:hover {
  background: var(--vatha-accent);
  color: #fff;
  border-color: var(--vatha-accent);
}
.vatha-widget-tag-pill span {
  font-size: .69rem;
  opacity: .7;
}

.vatha-widget-newsletter { text-align: center; }
.vatha-widget-newsletter-text {
  font-size: .8125rem;
  color: var(--vatha-ink-2);
  margin-bottom: 14px;
  line-height: 1.5;
}

.vatha-widget-recent {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid var(--vatha-border);
}
.vatha-widget-recent:last-child { border-bottom: none; padding-bottom: 0; }
.vatha-widget-recent:first-child { padding-top: 0; }

.vatha-widget-recent-title {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--vatha-ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.vatha-widget-recent-title:hover { color: var(--vatha-accent); }

/* --- Buttons --- */
.vatha-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--vatha-accent);
  color: #fff;
  font-weight: 600;
  font-size: .875rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background .15s, transform .1s;
  text-decoration: none;
}
.vatha-btn:hover { background: var(--vatha-accent-dark); color: #fff; transform: translateY(-1px); }
.vatha-btn-full { width: 100%; }

/* --- Post Single --- */
.vatha-post-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--vatha-border);
}

.vatha-post-category {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--vatha-accent);
  margin-bottom: 14px;
}
.vatha-post-category:hover { color: var(--vatha-accent-dark); }

.vatha-post-title {
  font-family: var(--vatha-font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.025em;
  color: var(--vatha-ink);
  margin-bottom: 16px;
}

.vatha-post-subtitle {
  font-size: 1.125rem;
  color: var(--vatha-ink-2);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
  font-family: var(--vatha-font-display);
}

.vatha-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.vatha-post-author {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--vatha-ink-2);
}
.vatha-post-author:hover { color: var(--vatha-accent); }
.vatha-post-author-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--vatha-border);
}
.vatha-post-author-name {
  font-weight: 600;
  font-size: .9375rem;
  color: var(--vatha-ink);
  display: block;
}
.vatha-post-author-bio { font-size: .78rem; color: var(--vatha-ink-3); }

.vatha-post-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.vatha-post-date, .vatha-post-reading {
  font-size: .8125rem;
  color: var(--vatha-ink-3);
}

.vatha-post-image-wrap {
  margin: 0 0 36px;
  border-radius: var(--vatha-radius-lg);
  overflow: hidden;
}
.vatha-post-image { width: 100%; }
.vatha-post-image-caption {
  font-size: .78rem;
  color: var(--vatha-ink-3);
  text-align: center;
  padding: 8px;
  font-style: italic;
}

/* --- Post Content --- */
.vatha-post-content {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--vatha-ink);
  max-width: 720px;
}
.vatha-post-content h1,
.vatha-post-content h2,
.vatha-post-content h3,
.vatha-post-content h4 {
  font-family: var(--vatha-font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--vatha-ink);
  margin: 2em 0 .75em;
}
.vatha-post-content h2 { font-size: 1.625rem; }
.vatha-post-content h3 { font-size: 1.3rem; }
.vatha-post-content p { margin-bottom: 1.4em; }
.vatha-post-content a { color: var(--vatha-accent); text-decoration: underline; text-underline-offset: 2px; }
.vatha-post-content ul, .vatha-post-content ol { margin: 0 0 1.4em 1.5em; }
.vatha-post-content li { margin-bottom: .4em; }
.vatha-post-content blockquote {
  border-left: 3px solid var(--vatha-accent);
  padding: 16px 24px;
  margin: 2em 0;
  background: var(--vatha-bg-2);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  font-size: 1.1em;
  color: var(--vatha-ink-2);
}
.vatha-post-content figure { margin: 2em 0; }
.vatha-post-content figcaption {
  font-size: .8125rem;
  color: var(--vatha-ink-3);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}
.vatha-post-content img {
  border-radius: var(--vatha-radius);
  width: 100%;
}
.vatha-post-content code {
  font-family: 'Fira Code', monospace;
  font-size: .875em;
  background: var(--vatha-bg-2);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--vatha-accent);
}
.vatha-post-content pre {
  background: var(--vatha-ink);
  color: #f0f0f0;
  padding: 20px 24px;
  border-radius: var(--vatha-radius);
  overflow-x: auto;
  margin: 1.5em 0;
}
.vatha-post-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}
.vatha-post-content hr {
  border: none;
  border-top: 1px solid var(--vatha-border);
  margin: 2.5em 0;
}
.vatha-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}
.vatha-post-content th, .vatha-post-content td {
  padding: 10px 14px;
  border: 1px solid var(--vatha-border);
  text-align: left;
  font-size: .9em;
}
.vatha-post-content th {
  background: var(--vatha-bg-2);
  font-weight: 600;
}

/* --- Post Tags --- */
.vatha-post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 36px 0;
  padding: 20px 0;
  border-top: 1px solid var(--vatha-border);
  border-bottom: 1px solid var(--vatha-border);
}
.vatha-post-tags-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--vatha-ink-3);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.vatha-post-tag-pill {
  font-size: .8125rem;
  color: var(--vatha-ink-2);
  background: var(--vatha-bg-2);
  border: 1px solid var(--vatha-border);
  border-radius: 20px;
  padding: 4px 12px;
  font-weight: 500;
  transition: all .15s;
}
.vatha-post-tag-pill:hover {
  background: var(--vatha-accent);
  color: #fff;
  border-color: var(--vatha-accent);
}

/* --- Author Box --- */
.vatha-author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--vatha-bg-2);
  border-radius: var(--vatha-radius-lg);
  border: 1px solid var(--vatha-border);
  margin: 36px 0;
}
.vatha-author-box-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--vatha-bg);
}
.vatha-author-box-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--vatha-ink-3);
  display: block;
  margin-bottom: 4px;
}
.vatha-author-box-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--vatha-ink);
  display: block;
  margin-bottom: 8px;
  font-family: var(--vatha-font-display);
}
.vatha-author-box-name:hover { color: var(--vatha-accent); }
.vatha-author-box-bio {
  font-size: .875rem;
  color: var(--vatha-ink-2);
  line-height: 1.55;
}

/* --- Related Posts --- */
.vatha-related {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--vatha-border);
}
.vatha-related-title {
  font-family: var(--vatha-font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--vatha-ink);
  margin-bottom: 24px;
}
.vatha-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* --- Archive Header --- */
.vatha-archive-header {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--vatha-border);
  display: flex;
  align-items: center;
  gap: 24px;
}
.vatha-archive-cover {
  width: 80px;
  height: 80px;
  border-radius: var(--vatha-radius-lg);
  object-fit: cover;
  flex-shrink: 0;
}
.vatha-archive-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--vatha-accent);
  display: block;
  margin-bottom: 6px;
}
.vatha-archive-title {
  font-family: var(--vatha-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--vatha-ink);
  margin-bottom: 8px;
}
.vatha-archive-desc {
  font-size: .9375rem;
  color: var(--vatha-ink-2);
  line-height: 1.55;
  margin-bottom: 8px;
}
.vatha-archive-count {
  font-size: .8125rem;
  color: var(--vatha-ink-3);
  font-weight: 500;
}

/* --- Author Profile --- */
.vatha-author-profile {
  display: flex;
  gap: 24px;
  align-items: center;
}
.vatha-author-profile-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--vatha-bg);
  box-shadow: 0 0 0 3px var(--vatha-border);
}
.vatha-author-profile-links {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.vatha-author-profile-links a {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--vatha-accent);
  text-decoration: underline;
}

/* --- Pagination --- */
.vatha-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 0 0;
}
.vatha-pagination-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--vatha-bg-2);
  border: 1px solid var(--vatha-border);
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--vatha-ink);
  transition: all .15s;
}
.vatha-pagination-btn:hover {
  background: var(--vatha-accent);
  color: #fff;
  border-color: var(--vatha-accent);
}
.vatha-pagination-info {
  font-size: .8125rem;
  color: var(--vatha-ink-3);
}

/* --- Footer --- */
.vatha-footer {
  background: var(--vatha-ink);
  color: #fff;
  padding: 56px 0 24px;
  margin-top: 64px;
}

.vatha-footer-inner {
  max-width: var(--vatha-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.vatha-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.vatha-footer-logo-text {
  font-family: var(--vatha-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 12px;
}
.vatha-footer-logo { height: 32px; width: auto; filter: brightness(0) invert(1); margin-bottom: 12px; }
.vatha-footer-tagline { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.55; margin-bottom: 20px; }

.vatha-footer-social {
  display: flex;
  gap: 12px;
}
.vatha-footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: 6px;
  color: rgba(255,255,255,.7);
  transition: all .15s;
}
.vatha-footer-social a:hover {
  background: var(--vatha-accent);
  color: #fff;
}

.vatha-footer-nav-title {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}

.vatha-footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vatha-footer-nav-list a {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  transition: color .15s;
}
.vatha-footer-nav-list a:hover { color: #fff; }

.vatha-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.vatha-footer-copy, .vatha-footer-ghost {
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
}
.vatha-footer-ghost a { color: rgba(255,255,255,.6); }
.vatha-footer-ghost a:hover { color: #fff; }

/* --- 404 Error --- */
.vatha-error { text-align: center; padding: 120px 0; }
.vatha-error-inner { max-width: 480px; margin: 0 auto; }
.vatha-error-code {
  font-size: 6rem;
  font-weight: 700;
  font-family: var(--vatha-font-display);
  color: var(--vatha-accent);
  opacity: .4;
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}
.vatha-error-title {
  font-family: var(--vatha-font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--vatha-ink);
  margin-bottom: 12px;
}
.vatha-error-desc {
  color: var(--vatha-ink-2);
  margin-bottom: 28px;
  line-height: 1.6;
}

/* --- Ghost Cards --- */
.gh-content .kg-card { margin: 2em 0; }
.gh-content .kg-image-card img { border-radius: var(--vatha-radius); }
.gh-content .kg-gallery-card .kg-gallery-image img { border-radius: var(--vatha-radius); }
.gh-content .kg-callout-card {
  padding: 20px 24px;
  border-radius: var(--vatha-radius);
  background: var(--vatha-bg-2);
  border-left: 3px solid var(--vatha-accent);
  display: flex;
  gap: 12px;
}
.gh-content .kg-bookmark-card {
  border: 1px solid var(--vatha-border);
  border-radius: var(--vatha-radius);
  overflow: hidden;
}
.gh-content .kg-video-card video { width: 100%; border-radius: var(--vatha-radius); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .vatha-content-layout { grid-template-columns: 1fr; }
  .vatha-sidebar { position: static; }
  .vatha-hero-grid { grid-template-columns: 1fr; }
  .vatha-hero-main { grid-row: auto; }
  .vatha-footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .vatha-nav { display: none; }
  .vatha-menu-toggle span { display: block; }
  .vatha-menu-toggle { flex-direction: column; gap: 4px; width: 40px; height: 40px; }
  .vatha-posts-grid { grid-template-columns: 1fr; }
  .vatha-card.is-featured { flex-direction: column; }
  .vatha-card.is-featured { grid-column: span 1; }
  .vatha-card.is-featured .vatha-card-image-wrap { width: 100%; min-height: 200px; }
  .vatha-related-grid { grid-template-columns: 1fr; }
  .vatha-post-title { font-size: 1.625rem; }
  .vatha-post-meta { flex-direction: column; align-items: flex-start; }
  .vatha-post-meta-right { align-items: flex-start; }
  .vatha-footer-top { grid-template-columns: 1fr; gap: 32px; }
  .vatha-footer-bottom { flex-direction: column; text-align: center; }
  .vatha-author-profile { flex-direction: column; align-items: flex-start; }
  .vatha-hero-side { flex-direction: column; }
  .vatha-hero-side-image-wrap { width: 100%; height: 160px; }
}

@media (max-width: 480px) {
  .vatha-container { padding: 0 16px; }
  .vatha-post-title { font-size: 1.375rem; }
  .vatha-archive-header { flex-direction: column; align-items: flex-start; }
  .vatha-author-box { flex-direction: column; }
}

/* Homepage SEO H1 tagline */
.vatha-site-tagline-wrap { padding: 28px 0 8px; }
.vatha-site-tagline { font-family: 'Playfair Display', Georgia, serif; font-size: 1.55rem; font-weight: 700; color: var(--color-primary, #1a1a2e); line-height: 1.3; margin: 0; }
[data-dark-mode="true"] .vatha-site-tagline,
body.is-dark .vatha-site-tagline { color: #f0ebe3; }
@media (max-width: 640px) { .vatha-site-tagline { font-size: 1.25rem; } }
