/**
 * MyKashmir Portal - Aesthetic High-Tech Stylesheet
 * Clean, Decent, High-Tech Architecture with Balanced Alignment,
 * 2-Block ToolNest, Dedicated Job Openings & Classifieds Modules.
 *
 * Theme URI: https://www.MyKashmir.in (alias: www.MyaKashmir.in)
 * Author: Kashmir eServices (https://KeS.MyKashmir.in)
 * Copyright 2005-2026 MyKashmir & Kashmir eServices
 */

/* ==========================================================================
   CSS Custom Properties: Aesthetic High-Tech Slate & Kashmiri Crimson
   ========================================================================== */
:root {
  /* Refined, Decent Accent Colors */
  --mk-tech-cyan: #0ea5e9;
  --mk-tech-teal: #06b6d4;
  --mk-accent-blue: #3b82f6;
  --mk-crimson: #e11d48;
  --mk-crimson-light: #f43f5e;
  --mk-amber-warm: #f59e0b;
  --mk-amber-deep: #d97706;
  --mk-emerald: #10b981;
  --mk-purple-soft: #8b5cf6;

  /* Theme Defaults: High-Tech Dark Slate */
  --bg-body: #090e17;
  --bg-surface: #0f172a;
  --bg-surface-elevated: #15203b;
  --bg-surface-alt: #1e293b;
  --bg-header: #0b1220;
  --bg-topbar: #070b13;
  --bg-footer: #05080e;
  --bg-card: rgba(18, 28, 48, 0.72);
  --bg-card-hover: rgba(26, 40, 68, 0.88);
  --bg-overlay: rgba(6, 10, 18, 0.85);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverse: #090e17;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(14, 165, 233, 0.35);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 36px -8px rgba(0, 0, 0, 0.45);
  --shadow-3d: 0 16px 32px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.07);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Standard, Highly Legible Modern Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Inter', sans-serif;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Consolas', 'Fira Code', monospace;

  --container-max: 1380px;
  --transition-fast: 0.18s ease;
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-3d: 0.14s ease-out;
}

/* Light / Editorial Daytime Mode */
[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-surface-alt: #e2e8f0;
  --bg-header: #ffffff;
  --bg-topbar: #0f172a;
  --bg-footer: #0b1220;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-overlay: rgba(15, 23, 42, 0.7);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.14);
  --border-accent: rgba(14, 165, 233, 0.4);

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 20px -4px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 32px -8px rgba(0, 0, 0, 0.12);
  --shadow-3d: 0 16px 32px -8px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Global Reset & Strict Title Case (NO ALL CAPS)
   ========================================================================== */
*, *::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(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
}

/* Strict Title Case Enforcer: NEVER ALL CAPS */
h1, h2, h3, h4, h5, h6,
button, a, span, p, .badge, .pill,
nav a, .mk-nav-item, .mk-tab-btn, .mk-filter-btn {
  text-transform: none !important;
  letter-spacing: normal;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.theme-wrapper {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Reordering Visual Frame */
.mk-portal-module {
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mk-section-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.mk-section-controls:hover {
  opacity: 1;
}

.mk-reorder-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 26px;
  height: 26px;
  border-radius: 4px;
  font-size: 0.72rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.mk-reorder-btn:hover {
  background: var(--mk-tech-cyan);
  color: #090e17;
  border-color: var(--mk-tech-cyan);
}

/* Subtle Ambient Background Glows */
.mk-ambient-glow {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(140px);
  opacity: 0.16;
}

.mk-glow-1 {
  top: -100px;
  right: -50px;
  width: 550px;
  height: 550px;
  background: var(--mk-tech-cyan);
}

.mk-glow-2 {
  bottom: 10%;
  left: -80px;
  width: 600px;
  height: 600px;
  background: var(--mk-accent-blue);
}

/* ==========================================================================
   Top Utility Bar (Decent, Clean Telemetry)
   ========================================================================== */
.mk-topbar {
  background: var(--bg-topbar);
  color: #cbd5e1;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 50;
  padding: 6px 0;
}

.mk-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.mk-topbar-left, .mk-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.mk-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(225, 29, 72, 0.15);
  color: var(--mk-crimson-light);
  border: 1px solid rgba(225, 29, 72, 0.3);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
}

.mk-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mk-crimson);
  box-shadow: 0 0 8px var(--mk-crimson);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.mk-topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mk-topbar-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: var(--border-medium);
}

.mk-icon-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  transition: all var(--transition-fast);
}

.mk-icon-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ==========================================================================
   Main Header & Navigation (Matching Attachment Structure)
   ========================================================================== */
.mk-header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mk-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.mk-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mk-brand-logo-tech {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  transition: transform var(--transition-smooth);
}

.mk-brand-wrap:hover .mk-brand-logo-tech {
  transform: rotate(12deg) scale(1.05);
}

.mk-brand-text h1 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.15;
}

[data-theme="light"] .mk-brand-text h1 {
  color: #0f172a;
}

.mk-brand-text .mk-tagline {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mk-brand-text .mk-tagline span {
  color: var(--mk-tech-cyan);
}

.mk-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mk-search-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.84rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mk-search-trigger:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-medium);
  color: var(--text-primary);
}

.mk-search-trigger kbd {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
}

/* ==========================================================================
   Primary Navigation Bar & Multi-Level Dropdowns
   ========================================================================== */
.mk-navbar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1000;
  overflow: visible !important;
}

.mk-navbar .theme-wrapper {
  position: relative;
  overflow: visible !important;
}

/* Nav List Reset */
.mk-nav-list,
.mk-nav-list ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mk-nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  position: relative;
}

/* Home Button */
.mk-nav-home-btn {
  background: var(--mk-crimson);
  color: #fff !important;
  padding: 11px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: background var(--transition-fast);
}

.mk-nav-home-btn:hover {
  background: var(--mk-crimson-light);
}

/* Top-Level Menu Items (Both Static and WordPress Generated) */
.mk-nav-list > li {
  position: relative;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mk-nav-list > li > a,
.mk-nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 15px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.mk-nav-list > li:hover > a,
.mk-nav-list > li.active > a,
.mk-nav-list > li.current-menu-item > a,
.mk-nav-list > li.current-menu-ancestor > a,
.mk-nav-item:hover > a,
.mk-nav-item.active > a {
  color: #ffffff;
  border-bottom-color: var(--mk-tech-cyan);
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .mk-nav-list > li:hover > a,
[data-theme="light"] .mk-nav-list > li.active > a,
[data-theme="light"] .mk-nav-item:hover > a,
[data-theme="light"] .mk-nav-item.active > a {
  color: var(--mk-tech-cyan);
}

/* Dropdown Caret for Items with Children */
.mk-nav-list > li.menu-item-has-children > a::after,
.mk-nav-list > li.page_item_has_children > a::after {
  content: " ▾";
  font-size: 0.72rem;
  opacity: 0.65;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.mk-nav-list > li.menu-item-has-children:hover > a::after,
.mk-nav-list > li.menu-item-has-children.open > a::after {
  transform: rotate(180deg);
  color: var(--mk-tech-cyan);
  opacity: 1;
}

/* ==========================================================================
   Sub-Menus (Dropdowns & Hierarchical Menus)
   ========================================================================== */
.mk-nav-list .sub-menu,
.mk-nav-list ul.children {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  max-width: 340px;
  max-height: 480px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #0b1324;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75), 0 0 20px rgba(14, 165, 233, 0.15);
  padding: 6px 0;
  z-index: 99999;
  list-style: none !important;
  margin: 0 !important;
  text-align: left;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Custom Sleek Scrollbar for Long Dropdowns */
.mk-nav-list .sub-menu::-webkit-scrollbar {
  width: 5px;
}
.mk-nav-list .sub-menu::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}
.mk-nav-list .sub-menu::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: 99px;
}
.mk-nav-list .sub-menu::-webkit-scrollbar-thumb:hover {
  background: var(--mk-tech-cyan);
}

/* Reveal Dropdown on Hover & Focus */
.mk-nav-list li:hover > .sub-menu,
.mk-nav-list li:focus-within > .sub-menu,
.mk-nav-list li.open > .sub-menu {
  display: block;
  animation: mkNavDropFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes mkNavDropFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Nested Sub-Sub-Menus (Level 2+) */
.mk-nav-list .sub-menu li {
  position: relative;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mk-nav-list .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 2px !important;
}

.mk-nav-list .sub-menu li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: normal;
  line-height: 1.4;
  border-left: 2px solid transparent;
}

.mk-nav-list .sub-menu li:hover > a,
.mk-nav-list .sub-menu li.current-menu-item > a {
  background: rgba(14, 165, 233, 0.12);
  color: #ffffff;
  border-left-color: var(--mk-tech-cyan);
  padding-left: 22px;
}

.mk-nav-list .sub-menu li.menu-item-has-children > a::after {
  content: " ▸";
  font-size: 0.7rem;
  opacity: 0.6;
}

/* Light Mode Overrides for Dropdowns */
[data-theme="light"] .mk-nav-list .sub-menu {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .mk-nav-list .sub-menu li > a {
  color: #334155;
}

[data-theme="light"] .mk-nav-list .sub-menu li:hover > a {
  background: rgba(14, 165, 233, 0.08);
  color: var(--mk-tech-cyan);
}

/* Mobile Nav Toggle Button */
.mk-nav-toggle-btn {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-medium);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.mk-nav-toggle-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Responsive Navigation Breakpoints */
@media (max-width: 991px) {
  .mk-nav-toggle-btn {
    display: flex;
  }

  .mk-navbar {
    display: none;
  }

  .mk-navbar.open {
    display: block;
  }

  .mk-nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .mk-nav-list > li > a,
  .mk-nav-item > a {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .mk-nav-list .sub-menu,
  .mk-nav-list ul.children {
    position: static;
    max-height: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--mk-tech-cyan);
    border-radius: 0;
    background: rgba(0, 0, 0, 0.25);
    padding-left: 12px;
    min-width: 100%;
  }

  .mk-nav-list .sub-menu .sub-menu {
    left: 0;
    top: 0;
    margin-left: 0 !important;
  }
}

/* ==========================================================================
   Trending Headline Marquee / Ticker (Matching Screenshot)
   ========================================================================== */
.mk-trending-bar {
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  padding: 7px 0;
}

.mk-trending-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mk-trending-label {
  background: var(--mk-crimson);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.mk-trending-ticker {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.mk-trending-stream {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  animation: tickerSlide 45s linear infinite;
}

.mk-trending-stream:hover {
  animation-play-state: paused;
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.mk-trending-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.mk-trending-item:hover {
  color: #fff;
}

.mk-trending-item .tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mk-tech-cyan);
}

/* ==========================================================================
   HERO SHOWCASE: PROPERLY BALANCED & ALIGNED 3-COLUMN ARCHITECTURE
   Equal Total Height across Col 1, Col 2, and Col 3!
   ========================================================================== */
.mk-hero-portal {
  padding: 20px 0 28px;
  position: relative;
  z-index: 10;
}

.mk-hero-tri-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: stretch; /* Enforces equal vertical column alignment */
}

@media (max-width: 1200px) {
  .mk-hero-tri-grid {
    grid-template-columns: 260px 1fr;
  }
  .mk-hero-col-right {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .mk-hero-tri-grid {
    grid-template-columns: 1fr;
  }
  .mk-hero-col-right {
    grid-template-columns: 1fr;
  }
}

/* 3D Interactive Card Base */
.mk-3d-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-3d), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  position: relative;
}

.mk-3d-card:hover {
  box-shadow: var(--shadow-3d);
  border-color: var(--border-accent);
}

/* Column 1: Info & Trending List (Left) - Perfectly Balanced Height */
.mk-hero-col-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.mk-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--mk-crimson);
  margin-bottom: 8px;
}

.mk-block-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

[data-theme="light"] .mk-block-title {
  color: #0f172a;
}

.mk-info-item {
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
  margin-bottom: 8px;
}

.mk-info-item:last-child {
  margin-bottom: 0;
}

.mk-info-item:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-medium);
  transform: translateX(3px);
}

.mk-info-thumb {
  width: 68px;
  height: 52px;
  border-radius: var(--radius-xs);
  object-fit: cover;
  flex-shrink: 0;
}

.mk-info-body {
  flex: 1;
  min-width: 0;
}

.mk-info-title {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mk-info-title:hover {
  color: var(--mk-tech-cyan);
}

.mk-info-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* Column 2: Center Stage (Top Featured Slider + Bottom 3 Openings Cards) */
.mk-hero-col-center {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 14px;
}

/* Featured Large Spotlight Card */
.mk-center-featured-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}

.mk-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 14, 23, 0.15) 25%, rgba(9, 14, 23, 0.94) 88%);
}

.mk-featured-content {
  position: relative;
  z-index: 2;
  padding: 20px 22px;
}

.mk-pill-tag {
  display: inline-block;
  background: var(--mk-crimson);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  margin-bottom: 8px;
}

.mk-featured-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 6px;
}

.mk-featured-title a:hover {
  color: var(--mk-tech-cyan);
}

.mk-featured-desc {
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mk-slider-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 3;
}

.mk-slider-btn {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.mk-slider-btn:hover {
  background: var(--mk-crimson);
  border-color: var(--mk-crimson);
}

/* 3-Column Openings & Career Guide Cards (Underneath Featured Center) */
.mk-center-openings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  height: 155px;
}

@media (max-width: 768px) {
  .mk-center-openings-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
}

.mk-opening-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all var(--transition-fast);
}

.mk-opening-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mk-opening-thumb {
  height: 72px;
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
}

.mk-badge-group {
  position: absolute;
  bottom: 6px;
  left: 6px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.mk-badge-mini {
  background: var(--mk-crimson);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
}

.mk-opening-body {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.mk-opening-title {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mk-opening-meta {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Column 3: Personalities (Right Column) - Balanced Exact Height */
.mk-hero-col-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.mk-personality-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-bottom: 12px;
  transition: all var(--transition-fast);
}

.mk-personality-card:last-child {
  margin-bottom: 0;
}

.mk-personality-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

.mk-personality-thumb {
  flex: 1;
  min-height: 140px;
  background-size: cover;
  background-position: center top;
  position: relative;
}

.mk-photo-icon {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: var(--mk-crimson);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.mk-personality-caption {
  padding: 8px 12px 10px;
  background: var(--bg-surface);
}

.mk-personality-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.mk-personality-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   Telemetry & Live Valley Widgets Bar (Climate, NH-44, Prayer, Helplines)
   ========================================================================== */
.mk-telemetry-section {
  padding: 16px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.mk-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 1024px) {
  .mk-telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .mk-telemetry-grid {
    grid-template-columns: 1fr;
  }
}

.mk-telemetry-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: all var(--transition-fast);
}

.mk-telemetry-card:hover {
  border-color: var(--border-medium);
}

.mk-telemetry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}

.mk-telemetry-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.mk-telemetry-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

[data-theme="light"] .mk-telemetry-value {
  color: #0f172a;
}

.mk-telemetry-sub {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   JOB OPENINGS MODULE (Placed Directly Below Climate Widget)
   ========================================================================== */
.mk-jobs-section {
  padding: 40px 0;
  background: var(--bg-body);
  border-bottom: 1px solid var(--border-subtle);
}

.mk-section-head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.mk-filter-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.mk-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mk-filter-btn:hover,
.mk-filter-btn.active {
  background: var(--mk-tech-cyan);
  color: #090e17;
  border-color: var(--mk-tech-cyan);
}

.mk-jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}

.mk-job-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: all var(--transition-smooth);
}

.mk-job-card:hover {
  border-color: var(--mk-tech-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mk-job-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  display: inline-block;
}

.mk-job-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.mk-job-company {
  font-size: 0.82rem;
  color: var(--mk-tech-cyan);
  font-weight: 600;
}

.mk-job-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 10px;
  margin-top: 4px;
}

/* ==========================================================================
   TOOLNEST 2-BLOCK SPLIT LAYOUT (No Wasted Space!)
   Block 1: Intro, Punchy Description & CTA
   Block 2: Interactive Everyday Apps Grid
   ========================================================================== */
.mk-toolnest-section {
  padding: 44px 0;
  background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-surface) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.mk-toolnest-split-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 960px) {
  .mk-toolnest-split-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
}

.mk-toolnest-split-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mk-tech-cyan), var(--mk-purple-soft), var(--mk-crimson));
}

/* Block 1: Left Overview */
.mk-toolnest-left-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mk-toolnest-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

[data-theme="light"] .mk-toolnest-title {
  color: #0f172a;
}

.mk-toolnest-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.mk-toolnest-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin: 6px 0 10px;
}

.mk-toolnest-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mk-toolnest-highlights li span {
  color: #10b981;
  font-weight: 700;
}

/* Block 2: Right Apps Grid */
.mk-toolnest-right-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 580px) {
  .mk-toolnest-right-block {
    grid-template-columns: 1fr;
  }
}

.mk-tool-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.mk-tool-card:hover {
  border-color: var(--mk-tech-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.mk-tool-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mk-tool-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  background: rgba(14, 165, 233, 0.12);
  color: var(--mk-tech-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.mk-tool-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mk-tool-excerpt {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   CLASSIFIEDS MARKETPLACE MODULE (Placed Directly Under ToolNest)
   ========================================================================== */
.mk-classifieds-section {
  padding: 44px 0;
  background: var(--bg-body);
  border-bottom: 1px solid var(--border-subtle);
}

.mk-classifieds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}

.mk-classified-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.mk-classified-card:hover {
  border-color: var(--mk-amber-warm);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mk-classified-thumb-wrap {
  position: relative;
  height: 155px;
  overflow: hidden;
}

.mk-classified-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.mk-classified-card:hover .mk-classified-thumb-wrap img {
  transform: scale(1.04);
}

.mk-classified-price-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(9, 14, 23, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.mk-classified-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 10px;
}

.mk-classified-card-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.mk-classified-location {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.mk-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.14);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mk-whatsapp-btn:hover {
  background: #10b981;
  color: #090e17;
}

/* ==========================================================================
   Section: Offer Zone (Exclusive Deals & Verified Discounts)
   ========================================================================== */
.mk-offer-section {
  padding: 40px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.mk-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.mk-offer-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition-smooth);
}

.mk-offer-card:hover {
  border-color: var(--mk-amber-warm);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mk-offer-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--mk-amber-warm);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.mk-offer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  padding-right: 55px;
}

.mk-offer-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.mk-offer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.mk-code-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed var(--border-medium);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--mk-amber-warm);
  font-weight: 700;
  cursor: pointer;
}

/* ==========================================================================
   Section: Live Music & Online Radio
   ========================================================================== */
.mk-music-section {
  padding: 44px 0;
  background: var(--bg-body);
  border-bottom: 1px solid var(--border-subtle);
}

.mk-music-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
}

@media (max-width: 900px) {
  .mk-music-box {
    grid-template-columns: 1fr;
  }
}

.mk-music-player-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.mk-radio-channels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mk-channel-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.mk-channel-btn:hover,
.mk-channel-btn.active {
  background: rgba(14, 165, 233, 0.12);
  border-color: var(--mk-tech-cyan);
  color: #fff;
}

/* ==========================================================================
   Section: Matrimony in Kashmir – Find Your Match
   ========================================================================== */
.mk-matrimony-section {
  padding: 44px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.mk-matrimony-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.mk-mat-profile-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition-smooth);
}

.mk-mat-profile-card:hover {
  border-color: var(--mk-crimson);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mk-mat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mk-mat-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.mk-mat-bride {
  background: rgba(225, 29, 72, 0.15);
  color: var(--mk-crimson-light);
  border: 1px solid rgba(225, 29, 72, 0.3);
}

.mk-mat-groom {
  background: rgba(14, 165, 233, 0.15);
  color: var(--mk-tech-cyan);
  border: 1px solid rgba(14, 165, 233, 0.3);
}

/* ==========================================================================
   Section: Articles & Blogs
   ========================================================================== */
.mk-articles-section {
  padding: 44px 0;
  background: var(--bg-body);
  border-bottom: 1px solid var(--border-subtle);
}

.mk-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.mk-article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.mk-article-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mk-article-thumb {
  height: 165px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.mk-article-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mk-article-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 6px;
}

.mk-article-title:hover {
  color: var(--mk-tech-cyan);
}

.mk-article-excerpt {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* ==========================================================================
   Footer & Bottom Bar (Decent, Official)
   ========================================================================== */
.mk-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-subtle);
  padding: 44px 0 24px;
  color: var(--text-secondary);
  font-size: 0.84rem;
}

.mk-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .mk-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .mk-footer-grid {
    grid-template-columns: 1fr;
  }
}

.mk-footer-col h3 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

[data-theme="light"] .mk-footer-col h3 {
  color: #0f172a;
}

.mk-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mk-footer-links a:hover {
  color: var(--mk-tech-cyan);
}

.mk-bottom-bar {
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Button Component */
.mk-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--mk-tech-cyan);
  color: #090e17;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mk-btn-primary:hover {
  background: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

/* Floating Quick Dock (Decent, Minimal) */
.mk-floating-dock {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 99;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.mk-dock-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.mk-dock-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Dynamic Content & Backward Compatibility Styles
   ========================================================================== */
.mk-info-placeholder {
  width: 68px;
  height: 52px;
  border-radius: var(--radius-xs);
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mk-tech-cyan);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.mk-article-thumb-placeholder {
  height: 200px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(15, 23, 42, 0.95));
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mk-tech-cyan);
  font-size: 2.2rem;
  position: relative;
}

.mk-article-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--mk-tech-cyan);
  color: #fff !important;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  text-decoration: none;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.mk-article-cat-badge:hover {
  background: var(--mk-sky);
  color: #0b1324 !important;
  transform: translateY(-1px);
}

.mk-category-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.mk-cat-tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mk-cat-tab-pill:hover,
.mk-cat-tab-pill.active {
  background: rgba(14, 165, 233, 0.15);
  border-color: var(--mk-tech-cyan);
  color: #fff;
  transform: translateY(-1px);
}

.mk-cat-tab-count {
  font-size: 0.7rem;
  opacity: 0.75;
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 6px;
  border-radius: 99px;
}

.mk-category-archive-header {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.mk-category-archive-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--mk-tech-cyan);
}

.mk-author-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 36px;
}

.mk-author-avatar {
  border-radius: 50%;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border: 2px solid var(--mk-tech-cyan);
}

.mk-post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.mk-nav-post-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-decoration: none;
  display: block;
  transition: all 0.2s ease;
}

.mk-nav-post-card:hover {
  border-color: var(--mk-tech-cyan);
  background: var(--bg-surface-elevated);
  transform: translateY(-2px);
}
