/*
Theme Name: Webseotrends Theme
Theme URI: https://webseotrends.com
Author: Webseotrends
Author URI: https://webseotrends.com
Description: A fast, clean, SEO-optimized WordPress theme built for blogging and digital marketing agencies. Fully compatible with Elementor, Rank Math, Yoast SEO, and WooCommerce. Lightweight, mobile-first, and designed for maximum performance.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webseotrends-theme
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks, block-styles, editor-style, full-site-editing, elementor, seo-optimized, fast, lightweight

This theme, like WordPress, is licensed under the GPL.
*/

/* ===================================
   CSS CUSTOM PROPERTIES
=================================== */
:root {
  /* Brand Colors */
  --wst-primary: #1a56db;
  --wst-primary-dark: #1041b2;
  --wst-primary-light: #e8f0fe;
  --wst-accent: #f97316;
  --wst-accent-dark: #ea6c0a;

  /* Neutral Palette */
  --wst-dark: #0f172a;
  --wst-dark-2: #1e293b;
  --wst-gray-800: #334155;
  --wst-gray-600: #475569;
  --wst-gray-400: #94a3b8;
  --wst-gray-200: #e2e8f0;
  --wst-gray-100: #f1f5f9;
  --wst-white: #ffffff;

  /* Typography */
  --wst-font-heading: 'Sora', 'Segoe UI', sans-serif;
  --wst-font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --wst-font-mono: 'JetBrains Mono', monospace;

  /* Sizing */
  --wst-container: 1200px;
  --wst-container-wide: 1400px;
  --wst-radius: 8px;
  --wst-radius-lg: 16px;
  --wst-shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.05);
  --wst-shadow-lg: 0 8px 30px rgba(0,0,0,.10);

  /* Transitions */
  --wst-transition: 0.2s ease;
}

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

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

body {
  font-family: var(--wst-font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--wst-gray-800);
  background: var(--wst-white);
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--wst-primary); text-decoration: none; transition: color var(--wst-transition); }
a:hover { color: var(--wst-primary-dark); }
ul, ol { padding-left: 1.5rem; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--wst-font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--wst-dark);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

/* ===================================
   LAYOUT
=================================== */
.wst-container {
  max-width: var(--wst-container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.wst-container-wide {
  max-width: var(--wst-container-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }

.content-area { padding: 3rem 0; }

.content-sidebar-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .content-sidebar-wrap { grid-template-columns: 1fr; }
}

/* ===================================
   HEADER
=================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wst-gray-200);
  transition: box-shadow var(--wst-transition);
}

.site-header.scrolled {
  box-shadow: var(--wst-shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 2rem;
}

/* Logo */
.site-branding { display: flex; align-items: center; flex-shrink: 0; }
.site-branding a { display: flex; align-items: center; gap: 10px; }

.custom-logo { height: 40px; width: auto; }

.site-title {
  font-family: var(--wst-font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--wst-dark);
  letter-spacing: -0.03em;
  line-height: 1;
}

.site-title span { color: var(--wst-primary); }

/* Navigation */
.main-navigation { display: flex; align-items: center; }

.nav-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.25rem;
  align-items: center;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--wst-gray-800);
  border-radius: var(--wst-radius);
  transition: all var(--wst-transition);
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
  color: var(--wst-primary);
  background: var(--wst-primary-light);
}

/* Dropdown */
.nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--wst-white);
  border: 1px solid var(--wst-gray-200);
  border-radius: var(--wst-radius-lg);
  box-shadow: var(--wst-shadow-lg);
  list-style: none;
  padding: 0.5rem;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 100;
}

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

.nav-menu .sub-menu li a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--wst-gray-800);
  border-radius: 6px;
  transition: all var(--wst-transition);
}

.nav-menu .sub-menu li a:hover {
  color: var(--wst-primary);
  background: var(--wst-primary-light);
}

/* Dropdown arrow */
.nav-menu > li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform var(--wst-transition);
}

.nav-menu > li.menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--wst-gray-200);
  border-radius: var(--wst-radius);
  background: transparent;
  cursor: pointer;
  color: var(--wst-gray-600);
  transition: all var(--wst-transition);
}

.header-search-btn:hover {
  background: var(--wst-gray-100);
  color: var(--wst-dark);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--wst-gray-200);
  border-radius: var(--wst-radius);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: var(--wst-dark);
}

.menu-toggle svg { display: block; }

@media (max-width: 900px) {
  .menu-toggle { display: flex; align-items: center; }

  .main-navigation {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--wst-white);
    border-bottom: 1px solid var(--wst-gray-200);
    box-shadow: var(--wst-shadow-lg);
    padding: 1rem 1.5rem 1.5rem;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .main-navigation.is-open {
    transform: translateY(0);
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-menu > li > a { font-size: 1rem; padding: 0.6rem 0.85rem; }

  .nav-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--wst-primary-light);
    border-radius: 0;
    margin-left: 1rem;
    padding: 0.25rem 0;
    background: transparent;
  }
}

/* ===================================
   BUTTONS
=================================== */
.wst-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-family: var(--wst-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--wst-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--wst-transition);
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}

.wst-btn-primary {
  background: var(--wst-primary);
  color: var(--wst-white);
  border-color: var(--wst-primary);
}

.wst-btn-primary:hover {
  background: var(--wst-primary-dark);
  border-color: var(--wst-primary-dark);
  color: var(--wst-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(26,86,219,0.35);
}

.wst-btn-outline {
  background: transparent;
  color: var(--wst-primary);
  border-color: var(--wst-primary);
}

.wst-btn-outline:hover {
  background: var(--wst-primary);
  color: var(--wst-white);
  transform: translateY(-1px);
}

.wst-btn-accent {
  background: var(--wst-accent);
  color: var(--wst-white);
  border-color: var(--wst-accent);
}

.wst-btn-accent:hover {
  background: var(--wst-accent-dark);
  border-color: var(--wst-accent-dark);
  color: var(--wst-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(249,115,22,0.35);
}

.wst-btn-lg { padding: 0.85rem 2rem; font-size: 1rem; border-radius: 10px; }
.wst-btn-sm { padding: 0.4rem 0.9rem; font-size: 0.82rem; }

/* ===================================
   HERO SECTION (Homepage)
=================================== */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a6e 60%, #1a56db 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(26,86,219,0.3) 0%, transparent 60%),
                    radial-gradient(circle at 20% 80%, rgba(249,115,22,0.15) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #93c5fd;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--wst-white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-title span { color: #60a5fa; }

.hero-desc {
  font-size: 1.1rem;
  color: #93c5fd;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-num {
  font-family: var(--wst-font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--wst-white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: #93c5fd;
  margin-top: 4px;
}

.hero-image-wrap {
  position: relative;
}

.hero-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--wst-radius-lg);
  padding: 2rem;
  color: var(--wst-white);
}

.hero-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--wst-white);
  margin-bottom: 1.25rem;
}

.hero-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
}

.hero-metric:last-child { border-bottom: none; }
.hero-metric-label { color: #93c5fd; }
.hero-metric-value { font-weight: 700; color: #4ade80; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-image-wrap { display: none; }
}

/* ===================================
   SECTION COMMON
=================================== */
.wst-section { padding: 4.5rem 0; }
.wst-section-sm { padding: 3rem 0; }
.wst-section-lg { padding: 6rem 0; }
.wst-section-gray { background: var(--wst-gray-100); }
.wst-section-dark { background: var(--wst-dark); }

.section-header { text-align: center; max-width: 620px; margin: 0 auto 3rem; }
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wst-primary);
  background: var(--wst-primary-light);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 0.85rem;
}

.section-title { margin-bottom: 0.85rem; }
.section-desc { color: var(--wst-gray-600); font-size: 1.05rem; }

/* ===================================
   BLOG CARDS
=================================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

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

@media (max-width: 900px) {
  .posts-grid-3, .posts-grid-2 { grid-template-columns: 1fr; }
}

.post-card {
  background: var(--wst-white);
  border: 1px solid var(--wst-gray-200);
  border-radius: var(--wst-radius-lg);
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--wst-shadow-lg);
  border-color: var(--wst-primary-light);
}

.post-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--wst-gray-100);
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card-thumb img { transform: scale(1.04); }

.post-card-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.post-category {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--wst-primary);
  background: var(--wst-primary-light);
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all var(--wst-transition);
}

.post-category:hover {
  background: var(--wst-primary);
  color: var(--wst-white);
}

.post-date {
  font-size: 0.8rem;
  color: var(--wst-gray-400);
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  line-height: 1.35;
}

.post-card-title a {
  color: var(--wst-dark);
  transition: color var(--wst-transition);
}

.post-card-title a:hover { color: var(--wst-primary); }

.post-card-excerpt {
  font-size: 0.875rem;
  color: var(--wst-gray-600);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--wst-gray-100);
  margin-top: auto;
}

.post-author-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--wst-gray-600);
}

.post-author-wrap img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.read-more-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--wst-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--wst-transition);
}

.read-more-link:hover { gap: 8px; }

/* Featured Post Card */
.post-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.post-card-featured .post-card-thumb { aspect-ratio: auto; min-height: 280px; }
.post-card-featured .post-card-body { padding: 2rem; justify-content: center; }
.post-card-featured .post-card-title { font-size: 1.5rem; }
.post-card-featured .post-card-excerpt { -webkit-line-clamp: 4; }

@media (max-width: 768px) {
  .post-card-featured { grid-template-columns: 1fr; }
  .post-card-featured .post-card-thumb { min-height: 200px; }
}

/* ===================================
   FEATURED POST (Homepage Hero Blog)
=================================== */
.featured-post-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--wst-dark);
  border-radius: var(--wst-radius-lg);
  overflow: hidden;
}

.featured-post-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.featured-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-post-content {
  padding: 2.5rem;
  color: var(--wst-white);
}

.featured-post-content .post-category { margin-bottom: 1rem; display: inline-block; }
.featured-post-content h2 a { color: var(--wst-white); font-size: 1.6rem; }
.featured-post-content h2 a:hover { color: #60a5fa; }
.featured-post-content .post-card-excerpt { color: #93c5fd; -webkit-line-clamp: 4; }

@media (max-width: 768px) {
  .featured-post-wrap { grid-template-columns: 1fr; }
  .featured-post-content { padding: 1.5rem; }
}

/* ===================================
   SINGLE POST
=================================== */
.single-post-header { padding: 3rem 0 2.5rem; background: var(--wst-gray-100); }

.single-post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.single-post-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.post-author-block {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.post-author-block img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--wst-primary-light);
}

.author-name { font-weight: 600; font-size: 0.9rem; color: var(--wst-dark); }
.author-meta { font-size: 0.8rem; color: var(--wst-gray-400); }

.single-post-featured-image {
  border-radius: var(--wst-radius-lg);
  overflow: hidden;
  margin: 2rem 0;
  aspect-ratio: 16/7;
}

.single-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Post Content Typography */
.entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--wst-gray-800);
}

.entry-content h2 { margin: 2.5rem 0 1rem; padding-top: 1rem; border-top: 1px solid var(--wst-gray-200); }
.entry-content h3 { margin: 2rem 0 0.75rem; }
.entry-content h4 { margin: 1.5rem 0 0.6rem; }

.entry-content p { margin-bottom: 1.35rem; }

.entry-content a {
  color: var(--wst-primary);
  text-decoration: underline;
  text-decoration-color: rgba(26,86,219,0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--wst-transition);
}

.entry-content a:hover { text-decoration-color: var(--wst-primary); }

.entry-content ul, .entry-content ol { margin-bottom: 1.35rem; }
.entry-content li { margin-bottom: 0.4rem; }

.entry-content blockquote {
  border-left: 4px solid var(--wst-primary);
  background: var(--wst-primary-light);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--wst-radius) var(--wst-radius) 0;
  margin: 1.75rem 0;
  font-style: italic;
  color: var(--wst-dark);
}

.entry-content blockquote p { margin: 0; font-size: 1.05rem; }

.entry-content pre {
  background: var(--wst-dark);
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: var(--wst-radius-lg);
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 1.75rem 0;
}

.entry-content code {
  font-family: var(--wst-font-mono);
  background: var(--wst-gray-100);
  color: var(--wst-primary-dark);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.875em;
}

.entry-content pre code { background: transparent; color: inherit; padding: 0; }

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.9rem;
}

.entry-content th {
  background: var(--wst-dark);
  color: var(--wst-white);
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
}

.entry-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--wst-gray-200);
}

.entry-content tr:hover td { background: var(--wst-gray-100); }

.entry-content img {
  border-radius: var(--wst-radius);
  margin: 1.5rem 0;
  box-shadow: var(--wst-shadow);
}

/* ===================================
   POST NAVIGATION
=================================== */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 3rem 0;
}

.post-nav-item {
  background: var(--wst-gray-100);
  border: 1px solid var(--wst-gray-200);
  border-radius: var(--wst-radius-lg);
  padding: 1.25rem 1.5rem;
  transition: all var(--wst-transition);
}

.post-nav-item:hover {
  background: var(--wst-primary-light);
  border-color: var(--wst-primary);
  transform: translateY(-2px);
}

.post-nav-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wst-gray-400);
  margin-bottom: 0.35rem;
}

.post-nav-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wst-dark);
  line-height: 1.35;
}

/* ===================================
   SIDEBAR
=================================== */
.sidebar { position: sticky; top: 90px; }

.widget {
  background: var(--wst-white);
  border: 1px solid var(--wst-gray-200);
  border-radius: var(--wst-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.widget-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--wst-dark);
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--wst-primary-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.widget-title::before {
  content: '';
  display: block;
  width: 3px;
  height: 1rem;
  background: var(--wst-primary);
  border-radius: 2px;
}

/* Widget: Search */
.widget-search .search-form {
  display: flex;
  border: 1px solid var(--wst-gray-200);
  border-radius: var(--wst-radius);
  overflow: hidden;
  transition: border-color var(--wst-transition);
}

.widget-search .search-form:focus-within { border-color: var(--wst-primary); }

.widget-search input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.6rem 0.85rem;
  font-family: var(--wst-font-body);
  font-size: 0.875rem;
  color: var(--wst-dark);
  background: transparent;
}

.widget-search button {
  background: var(--wst-primary);
  border: none;
  padding: 0.6rem 0.85rem;
  cursor: pointer;
  color: var(--wst-white);
  transition: background var(--wst-transition);
}

.widget-search button:hover { background: var(--wst-primary-dark); }

/* Widget: Recent Posts */
.widget-recent-posts ul { list-style: none; padding: 0; margin: 0; }

.widget-recent-posts li {
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--wst-gray-100);
}

.widget-recent-posts li:last-child { border-bottom: none; }

.widget-post-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--wst-gray-100);
}

.widget-post-thumb img { width: 100%; height: 100%; object-fit: cover; }

.widget-post-info a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wst-dark);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--wst-transition);
}

.widget-post-info a:hover { color: var(--wst-primary); }
.widget-post-date { font-size: 0.75rem; color: var(--wst-gray-400); margin-top: 4px; }

/* Widget: Categories */
.widget-categories ul { list-style: none; padding: 0; margin: 0; }

.widget-categories li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--wst-gray-100);
  font-size: 0.875rem;
}

.widget-categories li:last-child { border-bottom: none; }
.widget-categories a { color: var(--wst-gray-800); font-weight: 500; transition: color var(--wst-transition); }
.widget-categories a:hover { color: var(--wst-primary); }
.widget-categories .count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--wst-white);
  background: var(--wst-primary);
  padding: 0.1rem 0.5rem;
  border-radius: 100px;
}

/* Widget: Tags */
.tagcloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tagcloud a {
  font-size: 0.8rem !important;
  font-weight: 600;
  color: var(--wst-gray-600);
  background: var(--wst-gray-100);
  border: 1px solid var(--wst-gray-200);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  transition: all var(--wst-transition);
}

.tagcloud a:hover {
  background: var(--wst-primary);
  color: var(--wst-white);
  border-color: var(--wst-primary);
}

/* ===================================
   PAGINATION
=================================== */
.pagination-wrap { display: flex; justify-content: center; margin: 3rem 0; }

.page-numbers {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-numbers li a,
.page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--wst-radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--wst-gray-600);
  border: 1px solid var(--wst-gray-200);
  transition: all var(--wst-transition);
  text-decoration: none;
}

.page-numbers li a:hover { background: var(--wst-primary-light); color: var(--wst-primary); border-color: var(--wst-primary); }
.page-numbers li span.current { background: var(--wst-primary); color: var(--wst-white); border-color: var(--wst-primary); }

/* ===================================
   COMMENTS
=================================== */
.comments-area {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--wst-gray-200);
}

.comments-title { font-size: 1.4rem; margin-bottom: 2rem; }

.comment-list { list-style: none; padding: 0; margin: 0; }

.comment {
  padding: 1.5rem;
  background: var(--wst-gray-100);
  border-radius: var(--wst-radius-lg);
  margin-bottom: 1.25rem;
  border: 1px solid var(--wst-gray-200);
}

.comment-author-wrap { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.comment-author-wrap img { border-radius: 50%; border: 2px solid var(--wst-white); }
.comment-author-name { font-weight: 700; font-size: 0.9rem; color: var(--wst-dark); }
.comment-date { font-size: 0.78rem; color: var(--wst-gray-400); }
.comment-text { font-size: 0.925rem; line-height: 1.7; color: var(--wst-gray-800); }

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--wst-primary);
  margin-top: 0.75rem;
}

/* Comment Form */
.comment-respond { margin-top: 2.5rem; }
.comment-respond h3 { font-size: 1.3rem; margin-bottom: 1.5rem; }

.comment-form { display: flex; flex-direction: column; gap: 1rem; }

.comment-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.wst-form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.wst-form-group label { font-size: 0.85rem; font-weight: 600; color: var(--wst-dark); }

.wst-form-group input,
.wst-form-group textarea,
.wst-form-group select {
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--wst-gray-200);
  border-radius: var(--wst-radius);
  font-family: var(--wst-font-body);
  font-size: 0.9rem;
  color: var(--wst-dark);
  background: var(--wst-white);
  transition: border-color var(--wst-transition);
  outline: none;
  width: 100%;
}

.wst-form-group input:focus,
.wst-form-group textarea:focus,
.wst-form-group select:focus {
  border-color: var(--wst-primary);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}

.wst-form-group textarea { resize: vertical; min-height: 130px; }

/* ===================================
   SERVICES SECTION
=================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; } }

.service-card {
  background: var(--wst-white);
  border: 1px solid var(--wst-gray-200);
  border-radius: var(--wst-radius-lg);
  padding: 2rem;
  transition: all 0.25s ease;
}

.service-card:hover {
  border-color: var(--wst-primary);
  transform: translateY(-4px);
  box-shadow: var(--wst-shadow-lg);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--wst-primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--wst-primary);
  font-size: 1.5rem;
}

.service-card h3 { font-size: 1.1rem; margin-bottom: 0.65rem; }
.service-card p { font-size: 0.875rem; color: var(--wst-gray-600); margin: 0; }

/* ===================================
   TESTIMONIALS
=================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.testimonial-card {
  background: var(--wst-white);
  border: 1px solid var(--wst-gray-200);
  border-radius: var(--wst-radius-lg);
  padding: 1.75rem;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.925rem;
  color: var(--wst-gray-800);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-name { font-weight: 700; font-size: 0.875rem; color: var(--wst-dark); }
.testimonial-author-role { font-size: 0.775rem; color: var(--wst-gray-400); }

/* ===================================
   CTA SECTION
=================================== */
.cta-section {
  background: linear-gradient(135deg, var(--wst-primary) 0%, var(--wst-primary-dark) 100%);
  border-radius: var(--wst-radius-lg);
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.cta-section * { position: relative; z-index: 1; }
.cta-section h2 { color: var(--wst-white); margin-bottom: 0.85rem; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 1.75rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-btn-white {
  background: var(--wst-white);
  color: var(--wst-primary);
  border-color: var(--wst-white);
}
.cta-btn-white:hover {
  background: transparent;
  color: var(--wst-white);
  border-color: rgba(255,255,255,0.6);
}

/* ===================================
   BREADCRUMBS
=================================== */
.wst-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--wst-gray-400);
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.wst-breadcrumbs a { color: var(--wst-gray-600); transition: color var(--wst-transition); }
.wst-breadcrumbs a:hover { color: var(--wst-primary); }
.wst-breadcrumbs .sep { color: var(--wst-gray-200); }
.wst-breadcrumbs .current { color: var(--wst-gray-600); }

/* ===================================
   TABLE OF CONTENTS
=================================== */
.wst-toc {
  background: var(--wst-primary-light);
  border: 1px solid rgba(26,86,219,0.15);
  border-radius: var(--wst-radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
}

.wst-toc-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--wst-dark);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wst-toc ol {
  padding-left: 1.25rem;
  margin: 0;
}

.wst-toc li {
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

.wst-toc a {
  color: var(--wst-primary-dark);
  font-weight: 500;
  text-decoration: none;
}

.wst-toc a:hover { text-decoration: underline; }

/* ===================================
   AUTHOR BOX
=================================== */
.author-box {
  display: flex;
  gap: 1.5rem;
  background: var(--wst-gray-100);
  border: 1px solid var(--wst-gray-200);
  border-radius: var(--wst-radius-lg);
  padding: 1.75rem;
  margin: 3rem 0;
}

.author-box-avatar {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--wst-white);
  box-shadow: var(--wst-shadow);
}

.author-box-name { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.author-box-role { font-size: 0.8rem; color: var(--wst-primary); font-weight: 600; margin-bottom: 0.75rem; }
.author-box-bio { font-size: 0.875rem; color: var(--wst-gray-600); line-height: 1.65; margin: 0; }

@media (max-width: 600px) {
  .author-box { flex-direction: column; align-items: center; text-align: center; }
}

/* ===================================
   RELATED POSTS
=================================== */
.related-posts { margin: 3rem 0; }
.related-posts-title { font-size: 1.4rem; margin-bottom: 1.5rem; }

/* ===================================
   NEWSLETTER BOX
=================================== */
.newsletter-box {
  background: linear-gradient(135deg, var(--wst-dark) 0%, var(--wst-dark-2) 100%);
  border-radius: var(--wst-radius-lg);
  padding: 2.5rem;
  text-align: center;
  color: var(--wst-white);
}

.newsletter-box h3 { color: var(--wst-white); margin-bottom: 0.5rem; }
.newsletter-box p { color: #93c5fd; font-size: 0.9rem; margin-bottom: 1.25rem; }

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--wst-radius);
  background: rgba(255,255,255,0.1);
  color: var(--wst-white);
  font-size: 0.875rem;
  outline: none;
  font-family: var(--wst-font-body);
}

.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input[type="email"]:focus { border-color: rgba(255,255,255,0.5); }

/* ===================================
   FOOTER
=================================== */
.site-footer {
  background: var(--wst-dark);
  color: #94a3b8;
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.footer-brand .site-title { color: var(--wst-white); font-size: 1.3rem; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  color: #94a3b8;
  font-size: 0.85rem;
  transition: all var(--wst-transition);
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-social a:hover {
  background: var(--wst-primary);
  color: var(--wst-white);
  border-color: var(--wst-primary);
}

.footer-widget-title {
  font-family: var(--wst-font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wst-white);
  margin-bottom: 1.1rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #94a3b8;
  transition: color var(--wst-transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  color: var(--wst-primary);
  font-weight: 700;
}

.footer-links a:hover { color: var(--wst-white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 0.825rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: var(--wst-white); }

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ===================================
   404 PAGE
=================================== */
.page-404 {
  text-align: center;
  padding: 6rem 0;
}

.page-404 .error-code {
  font-size: 8rem;
  font-weight: 900;
  color: var(--wst-primary-light);
  line-height: 1;
  font-family: var(--wst-font-heading);
}

.page-404 h1 { margin-bottom: 1rem; }
.page-404 p { color: var(--wst-gray-600); max-width: 480px; margin: 0 auto 2rem; }

/* ===================================
   SEARCH RESULTS
=================================== */
.search-header {
  background: var(--wst-gray-100);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--wst-gray-200);
}

.search-form-large {
  display: flex;
  border: 2px solid var(--wst-gray-200);
  border-radius: var(--wst-radius-lg);
  overflow: hidden;
  max-width: 600px;
  transition: border-color var(--wst-transition);
  background: var(--wst-white);
}

.search-form-large:focus-within { border-color: var(--wst-primary); }

.search-form-large input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  font-family: var(--wst-font-body);
  color: var(--wst-dark);
}

.search-form-large button {
  background: var(--wst-primary);
  border: none;
  padding: 0.85rem 1.5rem;
  color: var(--wst-white);
  cursor: pointer;
  font-family: var(--wst-font-body);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--wst-transition);
}

.search-form-large button:hover { background: var(--wst-primary-dark); }

/* ===================================
   UTILITIES
=================================== */
.text-center { text-align: center; }
.text-primary { color: var(--wst-primary); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--wst-primary);
  color: var(--wst-white);
  padding: 0.5rem 1rem;
  border-radius: var(--wst-radius);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus { top: 1rem; }

/* ===================================
   ELEMENTOR OVERRIDES
=================================== */
.elementor-section .elementor-container { max-width: var(--wst-container); }
.elementor-widget-heading .elementor-heading-title { font-family: var(--wst-font-heading); letter-spacing: -0.02em; }
.elementor-widget-text-editor { font-family: var(--wst-font-body); line-height: 1.75; }

/* Elementor full width pages */
.elementor-page .site-content { padding: 0; }
.elementor-page .content-area { padding: 0; }

/* ===================================
   WP CORE CLASSES
=================================== */
.alignleft { float: left; margin: 0.5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.5rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1.5rem auto; }
.alignwide { max-width: calc(var(--wst-container) + 200px); margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--wst-gray-400); text-align: center; margin-top: 0.4rem; }
.sticky { position: relative; }
.bypostauthor { border-left: 3px solid var(--wst-primary); padding-left: 1rem; }

/* Gutenberg block styles */
.wp-block-quote {
  border-left: 4px solid var(--wst-primary);
  background: var(--wst-primary-light);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--wst-radius) var(--wst-radius) 0;
  margin: 1.75rem 0;
}

.wp-block-code {
  background: var(--wst-dark);
  color: #e2e8f0;
  border-radius: var(--wst-radius-lg);
  font-family: var(--wst-font-mono);
}

/* ===================================
   PRINT
=================================== */
@media print {
  .site-header, .site-footer, .sidebar, .comments-area, .post-navigation { display: none; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
  .wst-container { max-width: 100%; padding: 0; }
}
