/* ============================================================
   WorkYT - Modern Magazine Theme 2026
   shadcn UI Style + Grainy Gradients + Orange & Violet
   ============================================================ */

/* === CSS VARIABLES / DESIGN TOKENS === */
:root {
  /* Core palette */
  --wk-orange: #f97316;
  --wk-orange-light: #fdba74;
  --wk-orange-dark: #c2410c;
  --wk-orange-50: #fff7ed;
  --wk-orange-100: #ffedd5;
  --wk-orange-200: #fed7aa;
  --wk-orange-500: #f97316;
  --wk-orange-600: #ea580c;
  --wk-orange-900: #7c2d12;

  --wk-violet: #8b5cf6;
  --wk-violet-light: #c4b5fd;
  --wk-violet-dark: #6d28d9;
  --wk-violet-50: #f5f3ff;
  --wk-violet-100: #ede9fe;
  --wk-violet-200: #ddd6fe;
  --wk-violet-500: #8b5cf6;
  --wk-violet-600: #7c3aed;
  --wk-violet-900: #4c1d95;

  /* Neutrals (shadcn-style) */
  --wk-bg: #09090b;
  --wk-bg-card: #0c0c0f;
  --wk-bg-elevated: #131318;
  --wk-bg-muted: #18181b;
  --wk-border: #27272a;
  --wk-border-light: #3f3f46;
  --wk-text: #fafafa;
  --wk-text-muted: #a1a1aa;
  --wk-text-subtle: #71717a;

  /* Functional */
  --wk-radius: 12px;
  --wk-radius-sm: 8px;
  --wk-radius-lg: 16px;
  --wk-radius-xl: 24px;
  --wk-radius-full: 9999px;
  --wk-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
  --wk-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
  --wk-shadow-glow-orange: 0 0 40px rgba(249, 115, 22, 0.15);
  --wk-shadow-glow-violet: 0 0 40px rgba(139, 92, 246, 0.15);

  /* Transitions */
  --wk-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wk-duration: 0.3s;

  /* Container */
  --wk-container: 1280px;
  --wk-container-narrow: 780px;
  --wk-gap: 24px;

  /* Typography */
  --wk-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wk-font-mono: 'JetBrains Mono', monospace;
}

/* Light mode overrides */
[data-theme="light"],
body.wk-light {
  --wk-bg: #fafafa;
  --wk-bg-card: #ffffff;
  --wk-bg-elevated: #f4f4f5;
  --wk-bg-muted: #e4e4e7;
  --wk-border: #e4e4e7;
  --wk-border-light: #d4d4d8;
  --wk-text: #09090b;
  --wk-text-muted: #52525b;
  --wk-text-subtle: #a1a1aa;
  --wk-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --wk-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* === RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--wk-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--wk-text);
  background-color: var(--wk-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--wk-duration) var(--wk-ease);
}

a:hover {
  color: var(--wk-orange);
}

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

ul, ol {
  list-style: none;
}

/* === GRAINY GRADIENT TEXTURE === */
.wk-grain::before,
.wk-hero::before,
.wk-card--featured .wk-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

/* Gradient overlays */
.wk-gradient-ov {
  background: linear-gradient(135deg,
    rgba(249, 115, 22, 0.12) 0%,
    rgba(139, 92, 246, 0.12) 50%,
    rgba(249, 115, 22, 0.06) 100%);
}

.wk-gradient-ov-strong {
  background: linear-gradient(135deg,
    rgba(249, 115, 22, 0.25) 0%,
    rgba(139, 92, 246, 0.25) 50%,
    transparent 100%);
}

/* === LAYOUT === */
.wk-container {
  width: 100%;
  max-width: var(--wk-container);
  margin: 0 auto;
  padding: 0 var(--wk-gap);
}

.wk-container--narrow {
  max-width: var(--wk-container-narrow);
}

.wk-grid {
  display: grid;
  gap: var(--wk-gap);
}

.wk-grid--2 { grid-template-columns: repeat(2, 1fr); }
.wk-grid--3 { grid-template-columns: repeat(3, 1fr); }
.wk-grid--4 { grid-template-columns: repeat(4, 1fr); }

.wk-flex {
  display: flex;
  align-items: center;
  gap: var(--wk-gap);
}

.wk-content-area {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 48px 0;
}

.wk-content-area.wk-no-sidebar {
  grid-template-columns: 1fr;
}

/* === HEADER === */
.wk-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--wk-border);
  transition: transform var(--wk-duration) var(--wk-ease),
              background var(--wk-duration) var(--wk-ease);
}

.wk-header--hidden {
  transform: translateY(-100%);
}

.wk-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--wk-container);
  margin: 0 auto;
  padding: 0 var(--wk-gap);
}

/* Top bar */
.wk-topbar {
  background: var(--wk-bg-elevated);
  border-bottom: 1px solid var(--wk-border);
  font-size: 13px;
  color: var(--wk-text-muted);
}

.wk-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  max-width: var(--wk-container);
  margin: 0 auto;
  padding: 0 var(--wk-gap);
}

.wk-topbar a {
  color: var(--wk-text-muted);
}

.wk-topbar a:hover {
  color: var(--wk-orange);
}

.wk-topbar__links {
  display: flex;
  gap: 20px;
}

/* Logo */
.wk-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--wk-text);
}

.wk-logo__mark {
  width: 36px;
  height: 36px;
  border-radius: var(--wk-radius-sm);
  background: linear-gradient(135deg, var(--wk-orange) 0%, var(--wk-violet) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: 900;
  position: relative;
  overflow: hidden;
}

.wk-logo__mark::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 100px;
  mix-blend-mode: overlay;
}

.wk-logo img {
  max-height: 42px;
  width: auto;
}

/* Navigation */
.wk-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.wk-nav a,
.wk-nav > li > a {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--wk-text-muted);
  border-radius: var(--wk-radius-sm);
  transition: all var(--wk-duration) var(--wk-ease);
  white-space: nowrap;
}

.wk-nav a:hover,
.wk-nav > li > a:hover,
.wk-nav .current-menu-item > a,
.wk-nav .current_page_item > a {
  color: var(--wk-text);
  background: var(--wk-bg-elevated);
}

.wk-nav .current-menu-item > a,
.wk-nav .current_page_item > a {
  color: var(--wk-orange);
}

/* Dropdown menus */
.wk-nav li {
  position: relative;
}

.wk-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--wk-bg-card);
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--wk-duration) var(--wk-ease);
  box-shadow: var(--wk-shadow-lg);
  z-index: 100;
}

.wk-nav li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wk-nav .sub-menu a {
  padding: 8px 12px;
  font-size: 13px;
  border-radius: var(--wk-radius-sm);
}

.wk-nav .sub-menu a:hover {
  background: var(--wk-bg-elevated);
}

/* Nested submenus */
.wk-nav .sub-menu .sub-menu {
  top: 0;
  left: 100%;
}

/* Header actions */
.wk-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wk-header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius-sm);
  color: var(--wk-text-muted);
  background: transparent;
  cursor: pointer;
  transition: all var(--wk-duration) var(--wk-ease);
  position: relative;
}

.wk-header-btn:hover {
  background: var(--wk-bg-elevated);
  color: var(--wk-text);
  border-color: var(--wk-border-light);
}

.wk-header-btn svg {
  width: 18px;
  height: 18px;
}

.wk-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: linear-gradient(135deg, var(--wk-orange), var(--wk-violet));
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Search overlay */
.wk-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20vh;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--wk-ease);
}

.wk-search-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.wk-search-overlay__inner {
  width: 100%;
  max-width: 640px;
  padding: 0 var(--wk-gap);
  transform: translateY(20px);
  transition: transform 0.4s var(--wk-ease);
}

.wk-search-overlay.is-active .wk-search-overlay__inner {
  transform: translateY(0);
}

.wk-search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--wk-bg-card);
  border: 1px solid var(--wk-border-light);
  border-radius: var(--wk-radius-lg);
  padding: 16px 24px;
  box-shadow: var(--wk-shadow-glow-orange);
}

.wk-search-form input[type="search"] {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 20px;
  font-family: var(--wk-font);
  color: var(--wk-text);
}

.wk-search-form input::placeholder {
  color: var(--wk-text-subtle);
}

.wk-search-form button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--wk-text-muted);
}

/* Mobile menu */
.wk-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 100vh;
  background: var(--wk-bg-card);
  border-right: 1px solid var(--wk-border);
  z-index: 10000;
  transform: translateX(-100%);
  transition: transform 0.4s var(--wk-ease);
  overflow-y: auto;
  padding: 24px;
}

.wk-mobile-menu.is-active {
  transform: translateX(0);
}

.wk-mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--wk-border);
}

.wk-mobile-menu__close {
  background: none;
  border: none;
  color: var(--wk-text-muted);
  cursor: pointer;
  padding: 8px;
}

.wk-mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--wk-text-muted);
  border-bottom: 1px solid var(--wk-border);
}

.wk-mobile-nav a:hover {
  color: var(--wk-orange);
}

.wk-mobile-nav .sub-menu {
  padding-left: 16px;
}

.wk-mobile-nav .sub-menu a {
  font-size: 14px;
  font-weight: 400;
}

.wk-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--wk-ease);
}

.wk-mobile-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.wk-menu-toggle {
  display: none;
}

/* === HERO / FEATURED SECTION === */
.wk-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 48px 0;
  overflow: hidden;
  background: var(--wk-bg);
}

.wk-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wk-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wk-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9, 9, 11, 0.95) 0%,
    rgba(9, 9, 11, 0.6) 40%,
    rgba(9, 9, 11, 0.2) 100%
  );
}

.wk-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.wk-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.wk-hero__excerpt {
  font-size: 18px;
  color: var(--wk-text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Featured grid */
.wk-featured-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  padding: 32px 0;
}

.wk-featured-grid .wk-card:first-child {
  grid-row: 1 / -1;
}

/* === CARDS (shadcn style) === */
.wk-card {
  background: var(--wk-bg-card);
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius);
  overflow: hidden;
  transition: all var(--wk-duration) var(--wk-ease);
  position: relative;
}

.wk-card:hover {
  border-color: var(--wk-border-light);
  box-shadow: var(--wk-shadow-lg);
  transform: translateY(-2px);
}

.wk-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.wk-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--wk-ease);
}

.wk-card:hover .wk-card__image img {
  transform: scale(1.04);
}

.wk-card__content {
  padding: 20px;
}

.wk-card__title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.wk-card__title a:hover {
  color: var(--wk-orange);
}

.wk-card__excerpt {
  font-size: 14px;
  color: var(--wk-text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card variants */
.wk-card--featured {
  border: none;
  background: transparent;
}

.wk-card--featured .wk-card__image {
  aspect-ratio: auto;
  height: 100%;
  min-height: 360px;
  border-radius: var(--wk-radius);
}

.wk-card--featured .wk-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9, 9, 11, 0.9) 0%,
    rgba(9, 9, 11, 0.3) 50%,
    transparent 100%
  );
  z-index: 1;
}

.wk-card--featured .wk-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 32px;
}

.wk-card--featured .wk-card__title {
  font-size: 24px;
  color: white;
}

.wk-card--list {
  display: grid;
  grid-template-columns: 280px 1fr;
  border-radius: var(--wk-radius);
}

.wk-card--list .wk-card__image {
  aspect-ratio: 4 / 3;
  height: 100%;
}

.wk-card--list .wk-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wk-card--small {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0;
  border-radius: var(--wk-radius-sm);
  padding: 0;
}

.wk-card--small .wk-card__image {
  aspect-ratio: 1;
  border-radius: var(--wk-radius-sm) 0 0 var(--wk-radius-sm);
}

.wk-card--small .wk-card__content {
  padding: 12px 16px;
}

.wk-card--small .wk-card__title {
  font-size: 14px;
  margin-bottom: 4px;
}

/* === BADGES === */
.wk-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--wk-radius-full);
  background: linear-gradient(135deg, var(--wk-orange), var(--wk-violet));
  color: white;
  position: relative;
  overflow: hidden;
}

.wk-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 100px;
  mix-blend-mode: overlay;
}

.wk-cat-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* === POST META === */
.wk-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--wk-text-subtle);
  flex-wrap: wrap;
}

.wk-post-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wk-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.wk-meta-author a {
  font-weight: 600;
  color: var(--wk-text-muted);
}

.wk-meta-author a:hover {
  color: var(--wk-orange);
}

.wk-reading-time {
  font-size: 13px;
  color: var(--wk-text-subtle);
  font-weight: 500;
}

/* Post format icon */
.wk-format-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 36px;
  height: 36px;
  background: rgba(9, 9, 11, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.wk-format-icon svg {
  width: 16px;
  height: 16px;
}

/* === SECTION HEADERS === */
.wk-section {
  padding: 48px 0;
}

.wk-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--wk-border);
}

.wk-section-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wk-section-title::before {
  content: '';
  width: 4px;
  height: 24px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--wk-orange), var(--wk-violet));
}

.wk-section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--wk-orange);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--wk-duration) var(--wk-ease);
}

.wk-section-link:hover {
  gap: 8px;
  color: var(--wk-orange-light);
}

/* === BUTTONS === */
.wk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--wk-font);
  border-radius: var(--wk-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--wk-duration) var(--wk-ease);
  white-space: nowrap;
}

.wk-btn--primary {
  background: linear-gradient(135deg, var(--wk-orange), var(--wk-orange-dark));
  color: white;
  border-color: var(--wk-orange);
  position: relative;
  overflow: hidden;
}

.wk-btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 100px;
  mix-blend-mode: overlay;
}

.wk-btn--primary:hover {
  box-shadow: var(--wk-shadow-glow-orange);
  transform: translateY(-1px);
  color: white;
}

.wk-btn--secondary {
  background: transparent;
  color: var(--wk-text);
  border-color: var(--wk-border);
}

.wk-btn--secondary:hover {
  background: var(--wk-bg-elevated);
  border-color: var(--wk-border-light);
  color: var(--wk-text);
}

.wk-btn--ghost {
  background: transparent;
  color: var(--wk-text-muted);
}

.wk-btn--ghost:hover {
  background: var(--wk-bg-elevated);
  color: var(--wk-text);
}

.wk-btn--gradient {
  background: linear-gradient(135deg, var(--wk-orange), var(--wk-violet));
  color: white;
  border: none;
  position: relative;
  overflow: hidden;
}

.wk-btn--gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 100px;
  mix-blend-mode: overlay;
}

.wk-btn--gradient:hover {
  box-shadow: var(--wk-shadow-glow-violet);
  transform: translateY(-1px);
  color: white;
}

/* === SIDEBAR === */
.wk-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.wk-widget {
  background: var(--wk-bg-card);
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius);
  padding: 24px;
}

.wk-widget-title,
.wg-widget-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--wk-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.wk-widget-title::before,
.wg-widget-title::before {
  content: '';
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--wk-orange), var(--wk-violet));
}

.wg-widget {
  background: var(--wk-bg-card);
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius);
  padding: 24px;
  margin-bottom: 28px;
}

/* Newsletter widget */
.wk-newsletter {
  background: linear-gradient(135deg, var(--wk-bg-elevated), var(--wk-bg-card));
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.wk-newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.wk-newsletter__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.wk-newsletter__text {
  font-size: 14px;
  color: var(--wk-text-muted);
  margin-bottom: 20px;
}

.wk-newsletter__form {
  display: flex;
  gap: 8px;
}

.wk-newsletter__form input[type="email"] {
  flex: 1;
  padding: 10px 16px;
  background: var(--wk-bg);
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius-sm);
  color: var(--wk-text);
  font-family: var(--wk-font);
  font-size: 14px;
  outline: none;
  transition: border-color var(--wk-duration) var(--wk-ease);
}

.wk-newsletter__form input[type="email"]:focus {
  border-color: var(--wk-violet);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

/* === SINGLE POST === */
.wk-single-header {
  padding: 48px 0 32px;
}

.wk-single-header .wk-cat-badges {
  position: static;
  margin-bottom: 16px;
}

.wk-single-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.wk-single-excerpt {
  font-size: 18px;
  color: var(--wk-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 680px;
}

.wk-single-featured {
  margin-bottom: 40px;
  border-radius: var(--wk-radius-lg);
  overflow: hidden;
  position: relative;
}

.wk-single-featured img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
}

/* Article content */
.wk-article-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--wk-text-muted);
}

.wk-article-content h2,
.wk-article-content h3,
.wk-article-content h4,
.wk-article-content h5,
.wk-article-content h6 {
  color: var(--wk-text);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 2em;
  margin-bottom: 0.75em;
}

.wk-article-content h2 { font-size: 1.75rem; }
.wk-article-content h3 { font-size: 1.375rem; }
.wk-article-content h4 { font-size: 1.125rem; }

.wk-article-content p {
  margin-bottom: 1.5em;
}

.wk-article-content a {
  color: var(--wk-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wk-article-content a:hover {
  color: var(--wk-orange-light);
}

.wk-article-content blockquote {
  margin: 2em 0;
  padding: 20px 24px;
  border-left: 3px solid;
  border-image: linear-gradient(to bottom, var(--wk-orange), var(--wk-violet)) 1;
  background: var(--wk-bg-elevated);
  border-radius: 0 var(--wk-radius-sm) var(--wk-radius-sm) 0;
  font-style: italic;
  color: var(--wk-text);
}

.wk-article-content pre {
  margin: 2em 0;
  padding: 20px 24px;
  background: var(--wk-bg-elevated);
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius);
  overflow-x: auto;
  font-family: var(--wk-font-mono);
  font-size: 14px;
  line-height: 1.6;
}

.wk-article-content code {
  font-family: var(--wk-font-mono);
  font-size: 0.875em;
  background: var(--wk-bg-elevated);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--wk-border);
}

.wk-article-content pre code {
  background: none;
  border: none;
  padding: 0;
}

.wk-article-content ul,
.wk-article-content ol {
  margin: 1.5em 0;
  padding-left: 24px;
}

.wk-article-content ul { list-style: disc; }
.wk-article-content ol { list-style: decimal; }

.wk-article-content li {
  margin-bottom: 0.5em;
}

.wk-article-content img {
  border-radius: var(--wk-radius);
  margin: 2em 0;
}

.wk-article-content figure {
  margin: 2em 0;
}

.wk-article-content figcaption {
  font-size: 13px;
  color: var(--wk-text-subtle);
  text-align: center;
  margin-top: 8px;
}

.wk-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
}

.wk-article-content th,
.wk-article-content td {
  padding: 12px 16px;
  border: 1px solid var(--wk-border);
  text-align: left;
}

.wk-article-content th {
  background: var(--wk-bg-elevated);
  font-weight: 600;
  color: var(--wk-text);
}

/* Tags */
.wk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--wk-border);
}

.wk-tag {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  background: var(--wk-bg-elevated);
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius-full);
  color: var(--wk-text-muted);
  transition: all var(--wk-duration) var(--wk-ease);
}

.wk-tag:hover {
  border-color: var(--wk-orange);
  color: var(--wk-orange);
  background: rgba(249, 115, 22, 0.08);
}

/* Share buttons */
.wk-share-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--wk-border);
}

.wk-share-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--wk-text-subtle);
}

.wk-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--wk-radius-sm);
  background: var(--wk-bg-elevated);
  border: 1px solid var(--wk-border);
  color: var(--wk-text-muted);
  transition: all var(--wk-duration) var(--wk-ease);
}

.wk-share-btn:hover {
  border-color: var(--wk-border-light);
  transform: translateY(-2px);
  color: var(--wk-text);
}

.wk-share--facebook:hover { color: #1877f2; border-color: #1877f2; }
.wk-share--twitter:hover { color: var(--wk-text); border-color: var(--wk-text); }
.wk-share--linkedin:hover { color: #0a66c2; border-color: #0a66c2; }
.wk-share--pinterest:hover { color: #e60023; border-color: #e60023; }

/* Author box */
.wk-author-box {
  display: flex;
  gap: 24px;
  padding: 28px;
  background: var(--wk-bg-card);
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius);
  margin-top: 40px;
}

.wk-author-box__avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--wk-radius);
  overflow: hidden;
  flex-shrink: 0;
}

.wk-author-box__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wk-author-box__name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.wk-author-box__bio {
  font-size: 14px;
  color: var(--wk-text-muted);
  line-height: 1.6;
}

/* Post navigation */
.wk-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--wk-border);
}

.wk-post-nav__item {
  padding: 20px;
  background: var(--wk-bg-card);
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius);
  transition: all var(--wk-duration) var(--wk-ease);
}

.wk-post-nav__item:hover {
  border-color: var(--wk-border-light);
  box-shadow: var(--wk-shadow);
}

.wk-post-nav__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--wk-text-subtle);
  margin-bottom: 8px;
}

.wk-post-nav__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.wk-post-nav__item--next {
  text-align: right;
}

/* Related posts */
.wk-related {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--wk-border);
}

/* === COMMENTS === */
.wk-comments {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--wk-border);
}

.wk-comments-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 32px;
}

.comment-list {
  list-style: none;
}

.comment {
  margin-bottom: 24px;
  padding: 24px;
  background: var(--wk-bg-card);
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius);
}

.comment .children {
  margin-top: 20px;
  padding-left: 24px;
  border-left: 2px solid var(--wk-border);
  list-style: none;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.comment-author .avatar {
  border-radius: var(--wk-radius-sm);
  width: 40px;
  height: 40px;
}

.comment-author .fn {
  font-weight: 600;
  font-size: 15px;
}

.comment-metadata {
  font-size: 12px;
  color: var(--wk-text-subtle);
  margin-bottom: 12px;
}

.comment-content {
  font-size: 15px;
  color: var(--wk-text-muted);
  line-height: 1.7;
}

.reply a {
  font-size: 13px;
  font-weight: 600;
  color: var(--wk-orange);
  margin-top: 8px;
  display: inline-block;
}

/* Comment form */
.wk-comment-form {
  margin-top: 40px;
}

.wk-comment-form .comment-respond {
  background: var(--wk-bg-card);
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius);
  padding: 28px;
}

.wk-comment-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--wk-text-muted);
  margin-bottom: 6px;
}

.wk-comment-form input[type="text"],
.wk-comment-form input[type="email"],
.wk-comment-form input[type="url"],
.wk-comment-form textarea {
  width: 100%;
  padding: 10px 16px;
  background: var(--wk-bg);
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius-sm);
  color: var(--wk-text);
  font-family: var(--wk-font);
  font-size: 14px;
  outline: none;
  transition: border-color var(--wk-duration) var(--wk-ease);
  margin-bottom: 16px;
}

.wk-comment-form input:focus,
.wk-comment-form textarea:focus {
  border-color: var(--wk-violet);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.wk-comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.wk-comment-form .form-submit input[type="submit"] {
  background: linear-gradient(135deg, var(--wk-orange), var(--wk-orange-dark));
  color: white;
  border: none;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--wk-font);
  border-radius: var(--wk-radius-sm);
  cursor: pointer;
  transition: all var(--wk-duration) var(--wk-ease);
}

.wk-comment-form .form-submit input[type="submit"]:hover {
  box-shadow: var(--wk-shadow-glow-orange);
  transform: translateY(-1px);
}

/* === PAGINATION === */
.wk-pagination {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.wk-pagination ul {
  display: flex;
  gap: 6px;
}

.wk-pagination li {
  display: flex;
}

.wk-pagination a,
.wk-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius-sm);
  color: var(--wk-text-muted);
  transition: all var(--wk-duration) var(--wk-ease);
}

.wk-pagination a:hover {
  background: var(--wk-bg-elevated);
  border-color: var(--wk-border-light);
  color: var(--wk-text);
}

.wk-pagination .current {
  background: linear-gradient(135deg, var(--wk-orange), var(--wk-violet));
  border-color: transparent;
  color: white;
  font-weight: 600;
}

/* === BREADCRUMBS === */
.wk-breadcrumbs {
  font-size: 13px;
  color: var(--wk-text-subtle);
  padding: 16px 0;
}

.wk-breadcrumbs a {
  color: var(--wk-text-muted);
}

.wk-breadcrumbs a:hover {
  color: var(--wk-orange);
}

/* === FOOTER === */
.wk-footer {
  border-top: 1px solid var(--wk-border);
  background: var(--wk-bg-card);
  position: relative;
}

.wk-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--wk-orange) 30%,
    var(--wk-violet) 70%,
    transparent 100%);
}

.wk-footer-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 56px 0 40px;
}

.wk-footer-col__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--wk-text);
}

.wk-footer-col ul li {
  margin-bottom: 10px;
}

.wk-footer-col a {
  font-size: 14px;
  color: var(--wk-text-muted);
  transition: all var(--wk-duration) var(--wk-ease);
}

.wk-footer-col a:hover {
  color: var(--wk-orange);
  padding-left: 4px;
}

.wk-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--wk-border);
  font-size: 13px;
  color: var(--wk-text-subtle);
}

.wk-footer-socials {
  display: flex;
  gap: 8px;
}

.wk-footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--wk-radius-sm);
  background: var(--wk-bg-elevated);
  border: 1px solid var(--wk-border);
  color: var(--wk-text-muted);
  transition: all var(--wk-duration) var(--wk-ease);
}

.wk-footer-socials a:hover {
  border-color: var(--wk-orange);
  color: var(--wk-orange);
  transform: translateY(-2px);
}

/* === ARCHIVE / CATEGORY HEADER === */
.wk-archive-header {
  padding: 48px 0 32px;
  position: relative;
}

.wk-archive-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(135deg,
    rgba(249, 115, 22, 0.06) 0%,
    rgba(139, 92, 246, 0.06) 100%);
  pointer-events: none;
}

.wk-archive-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
}

.wk-archive-title span {
  background: linear-gradient(135deg, var(--wk-orange), var(--wk-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wk-archive-description {
  font-size: 16px;
  color: var(--wk-text-muted);
  margin-top: 8px;
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.wk-archive-count {
  font-size: 14px;
  color: var(--wk-text-subtle);
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

/* === 404 PAGE === */
.wk-404 {
  text-align: center;
  padding: 80px 0 120px;
}

.wk-404__number {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--wk-orange), var(--wk-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
  position: relative;
}

.wk-404__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.wk-404__text {
  font-size: 16px;
  color: var(--wk-text-muted);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* === LOADING / SKELETON === */
.wk-skeleton {
  background: linear-gradient(90deg,
    var(--wk-bg-elevated) 25%,
    var(--wk-bg-muted) 50%,
    var(--wk-bg-elevated) 75%);
  background-size: 200% 100%;
  animation: wk-shimmer 1.5s infinite;
  border-radius: var(--wk-radius-sm);
}

@keyframes wk-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* === DARK MODE TOGGLE === */
.wk-theme-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius-sm);
  background: transparent;
  cursor: pointer;
  color: var(--wk-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--wk-duration) var(--wk-ease);
}

.wk-theme-toggle:hover {
  background: var(--wk-bg-elevated);
  color: var(--wk-text);
  border-color: var(--wk-border-light);
}

.wk-theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* === SCROLL PROGRESS === */
.wk-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wk-orange), var(--wk-violet));
  z-index: 10001;
  width: 0;
  transition: width 0.1s linear;
}

/* === BACK TO TOP === */
.wk-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--wk-orange), var(--wk-violet));
  border: none;
  border-radius: var(--wk-radius-sm);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--wk-duration) var(--wk-ease);
  z-index: 999;
  box-shadow: var(--wk-shadow-lg);
  position: relative;
  overflow: hidden;
}

.wk-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  position: fixed;
}

.wk-back-to-top::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 100px;
  mix-blend-mode: overlay;
}

.wk-back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--wk-shadow-glow-orange);
}

.wk-back-to-top svg {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
}

/* === SEARCH RESULTS === */
.wk-search-header {
  padding: 48px 0 32px;
}

.wk-search-query {
  background: linear-gradient(135deg, var(--wk-orange), var(--wk-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === WOOCOMMERCE BASE === */
.wk-shop-area .products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--wk-gap);
}

.wk-shop-area .product {
  background: var(--wk-bg-card);
  border: 1px solid var(--wk-border);
  border-radius: var(--wk-radius);
  overflow: hidden;
  transition: all var(--wk-duration) var(--wk-ease);
}

.wk-shop-area .product:hover {
  border-color: var(--wk-border-light);
  box-shadow: var(--wk-shadow-lg);
  transform: translateY(-2px);
}

/* === PAGE TEMPLATE === */
.wk-page-header {
  padding: 48px 0 24px;
}

.wk-page-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.wk-page-content {
  padding-bottom: 60px;
}

/* === PORTFOLIO & GALLERY (Pixwell post types) === */
.wk-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--wk-gap);
}

.wk-portfolio-item {
  position: relative;
  border-radius: var(--wk-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.wk-portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--wk-ease);
}

.wk-portfolio-item:hover img {
  transform: scale(1.06);
}

.wk-portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9, 9, 11, 0.9) 0%,
    transparent 60%
  );
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--wk-duration) var(--wk-ease);
}

.wk-portfolio-item:hover .wk-portfolio-item__overlay {
  opacity: 1;
}

.wk-portfolio-item__title {
  font-size: 18px;
  font-weight: 700;
  color: white;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .wk-content-area {
    grid-template-columns: 1fr;
  }

  .wk-featured-grid {
    grid-template-columns: 1fr 1fr;
  }

  .wk-featured-grid .wk-card:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .wk-grid--4 { grid-template-columns: repeat(2, 1fr); }

  .wk-footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .wk-shop-area .products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --wk-gap: 16px;
  }

  .wk-header__inner {
    height: 60px;
  }

  .wk-nav {
    display: none;
  }

  .wk-menu-toggle {
    display: flex;
  }

  .wk-featured-grid {
    grid-template-columns: 1fr;
  }

  .wk-grid--2,
  .wk-grid--3 {
    grid-template-columns: 1fr;
  }

  .wk-card--list {
    grid-template-columns: 1fr;
  }

  .wk-post-nav {
    grid-template-columns: 1fr;
  }

  .wk-hero {
    min-height: 50vh;
  }

  .wk-footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .wk-footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .wk-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wk-shop-area .products {
    grid-template-columns: repeat(2, 1fr);
  }

  .wk-author-box {
    flex-direction: column;
    text-align: center;
  }

  .wk-single-title {
    font-size: 1.5rem;
  }

  .wk-topbar {
    display: none;
  }
}

@media (max-width: 480px) {
  .wk-grid--2 { grid-template-columns: 1fr; }

  .wk-card--small {
    grid-template-columns: 80px 1fr;
  }

  .wk-portfolio-grid {
    grid-template-columns: 1fr;
  }

  .wk-shop-area .products {
    grid-template-columns: 1fr;
  }
}

/* === ANIMATIONS === */
@keyframes wk-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes wk-slide-in-left {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

.wk-animate-in {
  animation: wk-fade-in 0.5s var(--wk-ease) both;
}

/* Staggered animations for card grids */
.wk-grid > .wk-card:nth-child(1) { animation-delay: 0s; }
.wk-grid > .wk-card:nth-child(2) { animation-delay: 0.05s; }
.wk-grid > .wk-card:nth-child(3) { animation-delay: 0.1s; }
.wk-grid > .wk-card:nth-child(4) { animation-delay: 0.15s; }
.wk-grid > .wk-card:nth-child(5) { animation-delay: 0.2s; }
.wk-grid > .wk-card:nth-child(6) { animation-delay: 0.25s; }

/* === UTILITY CLASSES === */
.wk-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wk-text-gradient {
  background: linear-gradient(135deg, var(--wk-orange), var(--wk-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wk-text-center { text-align: center; }
.wk-text-muted { color: var(--wk-text-muted); }
.wk-mt-0 { margin-top: 0; }
.wk-mb-0 { margin-bottom: 0; }
