/*
Theme Name: Wellness Wealth Journey
Theme URI: https://wellnesswealthjourney.com/
Author: WWJ Team
Author URI: https://wellnesswealthjourney.com/
Description: Modern, lightweight, fast, mobile-responsive and SEO-friendly WordPress theme for Wellness, Health, Nutrition and Mindful Living blogs.
Version: 2.6.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wellnesswealthjourney
Tags: blog, health, wellness, nutrition, lifestyle, responsive-layout, seo-friendly
*/

/* Reset & Root Variables */
:root {
  --wwj-primary: #059669;        /* Modern fresh emerald */
  --wwj-primary-dark: #047857;   /* Deep forest */
  --wwj-accent: #10b981;         /* Bright mint emerald */
  --wwj-accent-light: #ecfdf5;   /* Very soft mint tint */
  --wwj-sage: #84cc16;           /* Fresh sage lime */
  --wwj-gold: #f59e0b;           /* Warm sunlight amber */
  --wwj-dark: #0f172a;           /* Clean dark slate */
  --wwj-slate: #334155;          /* Body text color */
  --wwj-muted: #64748b;          /* Meta text & subtitle */
  --wwj-light: #f8fafc;          /* Page background / off-white */
  --wwj-border: #f1f5f9;         /* Very subtle soft border */
  --wwj-card-bg: #ffffff;
  --wwj-shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
  --wwj-shadow-hover: 0 12px 30px rgba(15, 23, 42, 0.08);
  --wwj-shadow-hero: 0 10px 25px rgba(0, 0, 0, 0.12);
  --wwj-radius-sm: 8px;
  --wwj-radius-md: 14px;
  --wwj-radius-lg: 18px;
  --wwj-radius-full: 9999px;
  --wwj-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--wwj-font-sans);
  color: var(--wwj-slate);
  background-color: #fbfdfc;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--wwj-primary);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
a:hover {
  color: var(--wwj-primary-dark);
  text-decoration: none;
}

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

/* Header & Navigation */
.wwj-site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1020;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid #f1f5f9;
}

.wwj-topbar {
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #94a3b8;
  padding: 6px 0;
}
.wwj-topbar-tagline {
  color: #cbd5e1;
  font-weight: 500;
}

/* Pulsing Live / Exclusive Insights Badge Pill */
.wwj-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 50px;
  padding: 3px 12px 3px 10px;
  color: #34d399;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  white-space: nowrap;
}
.wwj-live-pill-sm {
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.25);
  color: #059669;
  font-size: 0.68rem;
  padding: 2px 10px 2px 8px;
}
.wwj-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: wwjPulseDot 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
  display: inline-block;
  flex-shrink: 0;
}
@keyframes wwjPulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.wwj-navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.wwj-brand-logo img {
  max-height: 46px;
  width: auto;
  display: block;
}

.wwj-main-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
}

.wwj-main-nav > li {
  position: relative;
}

.wwj-main-nav > li > a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  padding: 8px 4px;
  display: inline-block;
  position: relative;
}

.wwj-main-nav > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--wwj-primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.wwj-main-nav > li > a:hover::after,
.wwj-main-nav > li.active > a::after,
.wwj-main-nav > li.current-menu-item > a::after {
  width: 100%;
}

.wwj-main-nav > li > a:hover,
.wwj-main-nav > li.active > a,
.wwj-main-nav > li.current-menu-item > a {
  color: var(--wwj-primary);
}

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

.wwj-search-toggle-btn {
  background: #f1f5f9;
  border: none;
  color: var(--wwj-dark);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wwj-search-toggle-btn:hover {
  background: var(--wwj-accent-light);
  color: var(--wwj-primary);
  transform: translateY(-1px);
}

.wwj-header-cta {
  background: linear-gradient(135deg, var(--wwj-primary-dark) 0%, var(--wwj-primary) 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 20px;
  border-radius: var(--wwj-radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
  border: none;
}
.wwj-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  color: #ffffff;
}

.wwj-hamburger {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}
.wwj-hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--wwj-dark);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Header Search Expandable Bar */
.wwj-header-search-bar {
  display: none;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  padding: 12px 0;
}
.wwj-header-search-bar.is-active {
  display: block;
  animation: fadeInDown 0.2s ease;
}
.wwj-search-form-wrap {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--wwj-radius-full);
  padding: 4px 6px;
  max-width: 650px;
  margin: 0 auto;
}
.wwj-search-form-wrap:focus-within {
  border-color: var(--wwj-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}
.wwj-search-form-wrap input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  padding: 8px 16px;
  font-size: 0.95rem;
  color: var(--wwj-dark);
}
.wwj-search-form-wrap button {
  background: var(--wwj-primary);
  border: none;
  color: #fff;
  border-radius: var(--wwj-radius-full);
  padding: 8px 20px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

/* Off-canvas Mobile Menu */
.wwj-mobile-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background: #0f172a;
  z-index: 1050;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
}
.wwj-mobile-drawer.is-open {
  left: 0;
}
.wwj-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(2px);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.wwj-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.wwj-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
}
.wwj-drawer-close {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wwj-mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wwj-mobile-nav-list li {
  margin-bottom: 6px;
}
.wwj-mobile-nav-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.wwj-mobile-nav-list a:hover,
.wwj-mobile-nav-list li.current-menu-item a {
  background: rgba(5, 150, 105, 0.15);
  color: #34d399;
}

/* ==========================================================================
   TOP CIRCULAR STORIES BAR
   ========================================================================== */
.wwj-story-strip {
  background: #ffffff;
  border-radius: var(--wwj-radius-lg);
  padding: 12px 18px;
  margin-bottom: 24px;
  box-shadow: var(--wwj-shadow-subtle);
  border: 1px solid rgba(0,0,0,0.04);
}

.wwj-story-strip-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.wwj-story-col {
  flex: 1 1 25%;
  min-width: 0;
}

.wwj-story-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: var(--wwj-radius-md);
  transition: all 0.2s ease;
}
.wwj-story-item:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.wwj-story-avatar-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--wwj-primary);
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.18);
}
.wwj-story-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wwj-story-content {
  flex: 1;
  min-width: 0;
}
.wwj-story-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--wwj-dark);
  line-height: 1.3;
  margin: 0 0 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wwj-story-item:hover .wwj-story-title {
  color: var(--wwj-primary);
}
.wwj-story-date {
  font-size: 0.72rem;
  color: var(--wwj-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   3-COLUMN HERO GRID (Clean Spacing, Soft Gradients, Perfect Alignment)
   ========================================================================== */
.wwj-grid-hero-section {
  margin-bottom: 44px;
}

.wwj-hero-col-stack {
  height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wwj-hero-card {
  position: relative;
  border-radius: var(--wwj-radius-lg);
  overflow: hidden;
  background: #0f172a;
  box-shadow: var(--wwj-shadow-hero);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.wwj-hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
}

.wwj-hero-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.wwj-hero-card:hover .wwj-hero-card-img {
  transform: scale(1.06);
}

/* Natural soft photo overlay (replaces the harsh pitch-black gradient) */
.wwj-hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 0%, rgba(15, 23, 42, 0.25) 45%, rgba(15, 23, 42, 0.88) 100%);
  z-index: 1;
}

.wwj-hero-card-content {
  position: relative;
  z-index: 2;
  padding: 18px 20px;
  color: #ffffff;
}

/* Center card: 520px height. Side cards: 248px height + 24px gap = exactly 520px */
.wwj-hero-center-lead {
  height: 520px;
}
.wwj-hero-center-lead .wwj-hero-card-content {
  padding: 30px 28px;
}
.wwj-hero-center-lead .wwj-hero-card-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 10px 0 12px;
}

.wwj-hero-side-stacked {
  height: 248px;
}
.wwj-hero-side-stacked .wwj-hero-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin: 6px 0 8px;
}

.wwj-hero-card-title a {
  color: #ffffff;
}
.wwj-hero-card-title a:hover {
  color: #a7f3d0;
}

/* Category Badge inside Hero Cards */
.wwj-hero-card-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--wwj-radius-full);
}
.wwj-hero-card-badge.badge-accent {
  background: var(--wwj-primary);
  color: #ffffff;
}

.wwj-hero-card-meta {
  font-size: 0.75rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.wwj-badge-trending {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  color: #fbbf24;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   CATEGORY TOPICS STRIP
   ========================================================================== */
.wwj-category-strip {
  background: #ffffff;
  border-radius: var(--wwj-radius-md);
  padding: 14px 20px;
  box-shadow: var(--wwj-shadow-subtle);
  border: 1px solid rgba(0,0,0,0.03);
}
.wwj-strip-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--wwj-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wwj-topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--wwj-radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
}
.wwj-topic-pill:hover {
  background: var(--wwj-accent-light);
  border-color: rgba(5, 150, 105, 0.3);
  color: var(--wwj-primary);
  transform: translateY(-1px);
}
.wwj-topic-pill .badge-count {
  background: #ffffff;
  color: var(--wwj-muted);
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: var(--wwj-radius-full);
  border: 1px solid #e2e8f0;
}

/* ==========================================================================
   FEED SECTION HEADER (Clean Alignment without Ugly Underlines)
   ========================================================================== */
.wwj-feed-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid #e2e8f0;
}
.wwj-feed-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.wwj-feed-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--wwj-primary);
  text-transform: uppercase;
}
.wwj-feed-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--wwj-dark);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.wwj-view-all {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--wwj-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.wwj-view-all:hover {
  color: var(--wwj-primary-dark);
  transform: translateX(3px);
}

/* ==========================================================================
   MODERN AIRY ARTICLE CARDS (Resolves Boxy Stiff Look)
   ========================================================================== */
.wwj-clean-card {
  background: #ffffff;
  border-radius: var(--wwj-radius-lg);
  overflow: hidden;
  box-shadow: var(--wwj-shadow-subtle);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.wwj-clean-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--wwj-shadow-hover);
}

.wwj-clean-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f1f5f9;
}
.wwj-clean-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.wwj-clean-card:hover .wwj-clean-thumb img {
  transform: scale(1.06);
}

.wwj-clean-badge-pos {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.wwj-badge-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--wwj-primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--wwj-radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wwj-clean-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.wwj-clean-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 6px 0 10px;
}
.wwj-clean-title a {
  color: var(--wwj-dark);
}
.wwj-clean-title a:hover {
  color: var(--wwj-primary);
}
.wwj-clean-excerpt {
  color: var(--wwj-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.wwj-read-more {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--wwj-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.wwj-read-more:hover {
  color: var(--wwj-primary-dark);
  transform: translateX(3px);
}

/* ==========================================================================
   MINI HORIZONTAL CARDS (Healthy Habits & Mindful Spotlights)
   ========================================================================== */
.wwj-mini-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #ffffff;
  border-radius: var(--wwj-radius-md);
  box-shadow: var(--wwj-shadow-subtle);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.wwj-mini-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--wwj-shadow-hover);
}
.wwj-mini-thumb {
  width: 110px;
  height: 84px;
  border-radius: var(--wwj-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
}
.wwj-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.wwj-mini-card:hover .wwj-mini-thumb img {
  transform: scale(1.08);
}
.wwj-mini-content {
  flex: 1;
  min-width: 0;
}
.wwj-mini-title {
  font-size: 0.96rem;
  font-weight: 700;
  margin: 3px 0 0;
  line-height: 1.35;
}
.wwj-mini-title a {
  color: var(--wwj-dark);
}
.wwj-mini-title a:hover {
  color: var(--wwj-primary);
}

/* Meta information */
.wwj-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--wwj-muted);
}
.wwj-meta span, .wwj-meta time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Category Badges */
.wwj-cat-badge {
  display: inline-block;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 11px;
  border-radius: var(--wwj-radius-full);
  transition: all 0.2s ease;
  border: 1px solid rgba(5, 150, 105, 0.2);
}
.wwj-cat-badge:hover {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
}

/* Sidebar Widgets & Sticky Support */
.wwj-sticky-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 96px;
  z-index: 10;
}

/* Ensure robust 2-column layout grid for articles and sidebars across modern and legacy screens */
@media (min-width: 992px) {
  .site-main .row {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  .site-main .col-lg-8 {
    flex: 0 0 66.666667% !important;
    max-width: 66.666667% !important;
    width: 66.666667% !important;
  }
  .site-main .col-lg-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
    width: 33.333333% !important;
  }
}
@media (max-width: 991px) {
  .wwj-sticky-sidebar {
    position: static;
    margin-top: 32px;
  }
}
.wwj-widget-box {
  background: #ffffff;
  border-radius: var(--wwj-radius-md);
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: var(--wwj-shadow-subtle);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.wwj-widget-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--wwj-dark);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #f1f5f9;
  position: relative;
}
.wwj-widget-title::after {
  content: '';
  position: absolute;
  bottom: -1.5px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--wwj-primary);
}

.wwj-micro-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}
.wwj-micro-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.wwj-micro-thumb {
  width: 72px;
  height: 58px;
  border-radius: var(--wwj-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.wwj-micro-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wwj-micro-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 4px;
}
.wwj-micro-title a {
  color: var(--wwj-dark);
}
.wwj-micro-title a:hover {
  color: var(--wwj-primary);
}

/* Category Pill Cloud Widget */
.wwj-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wwj-category-list li {
  margin-bottom: 8px;
}
.wwj-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8fafc;
  border-radius: var(--wwj-radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
}
.wwj-category-list a:hover {
  background: var(--wwj-accent-light);
  color: var(--wwj-primary);
  transform: translateX(4px);
}
.wwj-category-list .count-pill {
  background: #ffffff;
  color: var(--wwj-muted);
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: var(--wwj-radius-full);
  border: 1px solid #e2e8f0;
}

/* Newsletter Styles - Footer Pill Box */
.wwj-newsletter-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 26px 24px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.wwj-newsletter-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.wwj-newsletter-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 18px;
}

/* Footer Seamless White Pill */
.wwj-footer-pill-wrap {
  display: flex !important;
  align-items: center !important;
  background: #ffffff !important;
  border-radius: 50px !important;
  padding: 4px 5px 4px 18px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08) !important;
  position: relative !important;
  transition: all 0.25s ease !important;
}
.wwj-footer-pill-wrap:focus-within {
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25), 0 4px 14px rgba(0, 0, 0, 0.12) !important;
}
.wwj-footer-pill-input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  color: #0f172a !important;
  font-size: 0.92rem !important;
  font-weight: 500 !important;
  padding: 8px 6px 8px 0 !important;
  margin: 0 !important;
}
.wwj-footer-pill-input::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}
.wwj-footer-pill-btn {
  flex-shrink: 0 !important;
  width: 44px !important;
  height: 40px !important;
  border-radius: 50px !important;
  border: none !important;
  background: #059669 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35) !important;
}
.wwj-footer-pill-btn:hover {
  background: #047857 !important;
  transform: translateY(-1px) scale(1.02) !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.5) !important;
}
.wwj-footer-pill-btn:active {
  transform: translateY(0) scale(0.98) !important;
}

/* Sidebar Newsletter Card */
.wwj-side-newsletter-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.wwj-side-newsletter-card .wwj-nl-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ecfdf5;
  color: #059669;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.wwj-side-newsletter-card .wwj-nl-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.wwj-side-newsletter-card .wwj-nl-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 16px;
}
.wwj-side-newsletter-card input[type="email"],
#subscription-email-form-input_footer_sb {
  width: 100% !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 50px !important;
  padding: 12px 18px !important;
  font-size: 0.92rem !important;
  color: #0f172a !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}
.wwj-side-newsletter-card input[type="email"]:focus,
#subscription-email-form-input_footer_sb:focus {
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15) !important;
}
.wwj-side-newsletter-card input[type="email"]::placeholder,
#subscription-email-form-input_footer_sb::placeholder {
  color: #94a3b8 !important;
}
.wwj-side-newsletter-card .wwj-nl-submit-btn,
#subscription-email-form-submit_sb {
  width: 100% !important;
  background: #059669 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 12px 20px !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
}
.wwj-side-newsletter-card .wwj-nl-submit-btn:hover,
#subscription-email-form-submit_sb:hover {
  background: #047857 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.45) !important;
}
.wwj-side-newsletter-card .wwj-nl-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 14px;
}

/* Footer Styling */
.wwj-site-footer {
  background: #0b1320;
  color: #cbd5e1;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.wwj-footer-widget-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.wwj-footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--wwj-accent);
}
.wwj-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wwj-footer-links li {
  margin-bottom: 10px;
}
.wwj-footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.wwj-footer-links a:hover {
  color: #34d399;
  padding-left: 4px;
}
.wwj-footer-subbar {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  margin-top: 40px;
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Scroll to top button */
.wwj-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--wwj-primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4);
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: none;
}
.wwj-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}
.wwj-back-to-top:hover {
  background: var(--wwj-primary-dark);
  transform: translateY(-3px);
  color: #ffffff;
}

/* Modern Social Share Bar */
.wwj-share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wwj-share-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  margin-right: 4px;
}
.wwj-share-pill {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #475569 !important;
  font-size: 0.95rem;
  border: 1px solid #e2e8f0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.wwj-share-pill:hover {
  background: #059669;
  color: #ffffff !important;
  border-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

/* ==========================================================================
   MODERN BREADCRUMBS
   ========================================================================== */
.wwj-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #64748b;
  list-style: none;
  padding: 8px 16px;
  margin: 0 0 24px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.wwj-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}
.wwj-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}
.wwj-breadcrumb a iconify-icon {
  color: #059669;
  font-size: 1.05rem;
}
.wwj-breadcrumb a:hover {
  color: #059669;
}
.wwj-breadcrumb .wwj-breadcrumb-separator {
  color: #cbd5e1;
  font-size: 0.75rem;
  user-select: none;
}
.wwj-breadcrumb .active {
  color: #0f172a;
  font-weight: 600;
}

/* Single Post Specifics */
.wwj-single-article {
  padding: 32px 36px;
}
.wwj-single-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--wwj-dark);
  line-height: 1.25;
  margin: 16px 0 20px;
}
.wwj-single-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--wwj-border);
  border-bottom: 1px solid var(--wwj-border);
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 14px;
}
.wwj-author-avatar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--wwj-accent-light);
  color: var(--wwj-primary);
  border: 1px solid rgba(5, 150, 105, 0.2);
  flex-shrink: 0;
}
.wwj-single-featured-wrap {
  border-radius: var(--wwj-radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--wwj-shadow-md);
  max-height: 520px;
}
.wwj-single-featured-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Single Post Entry Content Typography */
.wwj-entry-content {
  font-size: 1.08rem;
  line-height: 1.82;
  color: #334155;
}
.wwj-entry-content > p:first-of-type {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #1e293b;
  font-weight: 450;
}
.wwj-entry-content p {
  margin-bottom: 24px;
}
.wwj-entry-content h2 {
  font-size: 1.75rem;
  margin: 40px 0 18px;
  color: var(--wwj-dark);
  letter-spacing: -0.02em;
  font-weight: 700;
  position: relative;
  padding-bottom: 8px;
}
.wwj-entry-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--wwj-primary);
  border-radius: 2px;
}
.wwj-entry-content h3 {
  font-size: 1.35rem;
  margin: 32px 0 14px;
  color: var(--wwj-dark);
  font-weight: 700;
}
.wwj-entry-content ul,
.wwj-entry-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
.wwj-entry-content li {
  margin-bottom: 10px;
  line-height: 1.75;
}
.wwj-entry-content blockquote {
  border-left: 4px solid var(--wwj-primary);
  padding: 18px 24px;
  background: #f0fdf4;
  border-radius: 0 var(--wwj-radius-md) var(--wwj-radius-md) 0;
  font-style: italic;
  font-size: 1.12rem;
  color: #065f46;
  margin: 32px 0;
}
.wwj-entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 20px 0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

/* Editorial Transparency / Disclaimer Notice Box */
.wwj-article-disclaimer {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #059669;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 36px 0 20px;
}
.wwj-disclaimer-icon {
  color: #059669;
  flex-shrink: 0;
  margin-top: 2px;
}
.wwj-disclaimer-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #475569;
}
.wwj-disclaimer-text strong {
  display: block;
  color: #0f172a;
  margin-bottom: 4px;
}
.wwj-source-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #059669;
  background: #ecfdf5;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(5, 150, 105, 0.2);
  transition: all 0.2s ease;
}
.wwj-source-btn:hover {
  background: #059669;
  color: #ffffff;
}

/* Modern Author Bio Box */
.wwj-author-bio-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 24px;
}
.wwj-author-avatar-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--wwj-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 2px solid #ecfdf5;
}
.wwj-author-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: #ecfdf5;
  color: #059669;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Modern Comment Section & Form Styles */
.wwj-comments-area {
  scroll-margin-top: 90px;
}
.wwj-comment-list .comment {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.wwj-comment-list .comment .comment-body {
  display: flex;
  gap: 16px;
}
.wwj-comment-list .comment .avatar {
  border-radius: 50%;
  border: 2px solid #ecfdf5;
}
.wwj-form-input {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.wwj-form-input:focus {
  border-color: var(--wwj-primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}
.wwj-comment-submit-btn {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff;
  border: none;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}
.wwj-comment-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
  color: #ffffff;
}

/* ==========================================================================
   CONTACT US & UNSUBSCRIBE PAGE STYLES
   ========================================================================== */
.wwj-contact-info-card {
  background: linear-gradient(155deg, #0f2b23 0%, #061a14 100%);
  box-shadow: 0 16px 40px rgba(6, 26, 20, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.wwj-contact-info-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.wwj-contact-pill {
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  color: #34d399 !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}
.wwj-contact-hero-heading {
  font-size: 2.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.wwj-contact-hero-sub {
  color: #cbd5e1;
  line-height: 1.65;
  font-size: 0.95rem;
  font-weight: 400;
}
.wwj-contact-tile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 12px 16px;
  transition: all 0.25s ease;
}
.wwj-contact-tile:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(52, 211, 153, 0.4);
  transform: translateX(4px);
}
.wwj-contact-icon-bubble {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.wwj-tile-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 2px;
}
.wwj-tile-value {
  font-size: 0.94rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
}
.wwj-contact-footer-note {
  color: #94a3b8;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wwj-form-input {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-size: 0.92rem !important;
  color: #0f172a !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}
.wwj-form-input:focus {
  background: #ffffff !important;
  border-color: #059669 !important;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15) !important;
}
.wwj-btn-send {
  background: #059669;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}
.wwj-btn-send:hover {
  background: #047857;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.45);
  color: #ffffff;
}

/* Unsubscribe Card Styles */
.wwj-unsub-card {
  border-radius: 20px;
  border: 1px solid #e2e8f0;
}
.wwj-unsub-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wwj-input-group {
  position: relative;
  display: flex;
  align-items: center;
}
.wwj-input-icon {
  position: absolute;
  left: 16px;
  color: #94a3b8;
  font-size: 1.2rem;
  pointer-events: none;
}
.wwj-custom-check {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  color: #334155;
  user-select: none;
}
.wwj-custom-check:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}
.wwj-custom-check input[type="checkbox"] {
  display: none;
}
.wwj-check-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 2px solid #cbd5e1;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.wwj-custom-check input[type="checkbox"]:checked ~ .wwj-check-box {
  background: #059669;
  border-color: #059669;
}
.wwj-custom-check input[type="checkbox"]:checked ~ .wwj-check-box::after {
  content: '✓';
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}
.wwj-custom-check input[type="checkbox"]:checked ~ .wwj-check-label {
  color: #0f172a;
  font-weight: 600;
}
.wwj-btn-unsub {
  background: #dc2626;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}
.wwj-btn-unsub:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4);
}

/* ==========================================================================
   MODERN PAGINATION (Pill Buttons, Active State & Clean Micro-Interactions)
   ========================================================================== */
.wwj-pagination-wrap {
  margin: 48px 0 24px;
  display: flex;
  justify-content: center;
  width: 100%;
}
.navigation.pagination,
.navigation.wwj-pagination,
.wwj-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.navigation .nav-links,
.wwj-pagination-links {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #ffffff !important;
  padding: 8px 12px !important;
  border-radius: 50px !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  flex-wrap: wrap !important;
}

/* Base styles for all numbers, next/prev buttons, and dots */
.nav-links .page-numbers,
.wwj-pagination .page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 40px !important;
  height: 40px !important;
  padding: 0 10px !important;
  border-radius: 50px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  line-height: 1 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Hover State on link items */
.nav-links a.page-numbers:hover,
.wwj-pagination a.page-numbers:hover {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border-color: #a7f3d0 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.15) !important;
}

/* Active / Current Page */
.nav-links span.page-numbers.current,
.wwj-pagination span.page-numbers.current {
  background: #059669 !important;
  color: #ffffff !important;
  border-color: #059669 !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.4) !important;
  transform: scale(1.04) !important;
}

/* Ellipsis Dots */
.nav-links span.page-numbers.dots,
.wwj-pagination span.page-numbers.dots {
  background: transparent !important;
  border: none !important;
  min-width: 24px !important;
  color: #94a3b8 !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  padding: 0 4px !important;
}

/* Next / Prev Chevrons */
.nav-links a.prev.page-numbers,
.nav-links a.next.page-numbers,
.wwj-pagination a.prev.page-numbers,
.wwj-pagination a.next.page-numbers {
  background: #059669 !important;
  color: #ffffff !important;
  border-color: #059669 !important;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3) !important;
  padding: 0 14px !important;
}
.nav-links a.prev.page-numbers:hover,
.nav-links a.next.page-numbers:hover,
.wwj-pagination a.prev.page-numbers:hover,
.wwj-pagination a.next.page-numbers:hover {
  background: #047857 !important;
  color: #ffffff !important;
  border-color: #047857 !important;
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.45) !important;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .wwj-main-nav {
    display: none;
  }
  .wwj-hamburger {
    display: block;
  }
  .wwj-hero-col-stack {
    height: auto;
    gap: 16px;
  }
  .wwj-hero-center-lead {
    height: 400px;
  }
  .wwj-hero-side-stacked {
    height: 220px;
  }
  .wwj-single-title {
    font-size: 1.85rem;
  }
}

@media (max-width: 767px) {
  .wwj-topbar {
    display: none;
  }
  .wwj-header-cta {
    display: none;
  }

  /* Modern Mobile Stories Strip - Horizontal Smooth Scrolling */
  .wwj-story-strip {
    padding: 10px 12px;
    margin-bottom: 20px;
    overflow: hidden;
  }
  .wwj-story-strip-inner {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  .wwj-story-strip-inner::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  .wwj-story-col {
    flex: 0 0 240px;
    scroll-snap-align: start;
    min-width: 240px;
  }
  .wwj-story-item {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    padding: 8px 10px;
  }
  .wwj-story-avatar-wrap {
    width: 46px;
    height: 46px;
  }
  .wwj-story-title {
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
  }

  /* Hero Section Mobile Polish - Magazine Feature Card */
  .wwj-grid-hero-section {
    margin-bottom: 24px;
  }
  .wwj-hero-center-lead {
    height: 240px !important;
    border-radius: 18px !important;
    margin-bottom: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12) !important;
  }
  .wwj-hero-center-lead .wwj-hero-card-img {
    object-position: center 30% !important;
    transform: none !important;
  }
  .wwj-hero-center-lead .wwj-hero-card-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.35) 45%, rgba(15, 23, 42, 0.92) 100%) !important;
  }
  .wwj-hero-center-lead .wwj-hero-card-content {
    padding: 16px 16px !important;
    z-index: 2;
  }
  .wwj-hero-center-lead .wwj-hero-card-badge {
    background: #059669 !important;
    color: #ffffff !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    padding: 4px 10px !important;
    border-radius: 50px !important;
    margin-bottom: 6px !important;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.4) !important;
    border: none !important;
  }
  .wwj-hero-center-lead .wwj-hero-card-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.32 !important;
    margin: 4px 0 6px !important;
    letter-spacing: -0.01em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
  }
  .wwj-hero-center-lead .wwj-hero-card-meta {
    font-size: 0.68rem !important;
    color: #e2e8f0 !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
  }
  
  /* Transform secondary dark overlay boxes into clean, lightweight horizontal cards */
  .wwj-hero-col-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    height: auto !important;
    margin-bottom: 10px;
  }
  .wwj-hero-side-stacked {
    position: relative !important;
    height: auto !important;
    min-height: 90px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    padding: 10px !important;
    overflow: hidden !important;
  }
  .wwj-hero-side-stacked .wwj-hero-card-img {
    position: relative !important;
    width: 95px !important;
    height: 80px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    margin-right: 12px !important;
    inset: auto !important;
  }
  .wwj-hero-side-stacked .wwj-hero-card-overlay {
    display: none !important; /* Remove dark dark gradient on mobile */
  }
  .wwj-hero-side-stacked .wwj-hero-card-content {
    position: relative !important;
    padding: 0 !important;
    color: #1e293b !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-align: left !important;
  }
  .wwj-hero-side-stacked .wwj-hero-card-badge {
    background: #ecfdf5 !important;
    color: #059669 !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 50px !important;
    margin-bottom: 4px !important;
    display: inline-block !important;
  }
  .wwj-hero-side-stacked .wwj-hero-card-title {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 2px 0 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .wwj-hero-side-stacked .wwj-hero-card-title a {
    color: #0f172a !important;
    text-decoration: none !important;
  }
  .wwj-hero-side-stacked .wwj-hero-card-title a:hover {
    color: #059669 !important;
  }
  .wwj-hero-side-stacked .wwj-hero-card-meta {
    font-size: 0.72rem !important;
    color: #64748b !important;
    font-weight: 500 !important;
    text-transform: capitalize !important;
  }
  .wwj-badge-trending {
    display: none !important; /* Hide floating badge over small thumbnails */
  }

  /* Category Strip Mobile Polish */
  .wwj-category-strip {
    padding: 12px 14px;
    margin-bottom: 28px;
  }
  .wwj-topic-pills-wrap {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .wwj-topic-pills-wrap::-webkit-scrollbar {
    display: none;
  }
  .wwj-topic-pill {
    flex-shrink: 0;
    scroll-snap-align: start;
    font-size: 0.78rem;
    padding: 5px 12px;
  }

  /* Mobile Content Cards */
  .wwj-clean-card-img-wrap {
    height: 200px;
  }
  .wwj-clean-title {
    font-size: 1.15rem;
  }
  .wwj-feed-title {
    font-size: 1.25rem;
  }

  .wwj-single-article {
    padding: 20px 16px;
    border-radius: 14px !important;
  }
  .wwj-single-title {
    font-size: 1.45rem;
    line-height: 1.3;
    margin: 12px 0 16px;
  }
  .wwj-single-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    margin-bottom: 20px;
  }
  .wwj-share-bar {
    width: 100%;
    justify-content: flex-start;
  }
  .wwj-single-featured-wrap {
    max-height: 250px;
    margin-bottom: 24px;
    border-radius: 12px;
  }
  .wwj-entry-content {
    font-size: 1rem;
    line-height: 1.75;
  }
  .wwj-entry-content > p:first-of-type {
    font-size: 1.05rem;
  }
  .wwj-entry-content h2 {
    font-size: 1.35rem;
    margin: 28px 0 14px;
  }
  .wwj-entry-content h3 {
    font-size: 1.2rem;
    margin: 24px 0 12px;
  }
  .wwj-entry-content blockquote {
    padding: 14px 16px;
    font-size: 1rem;
    margin: 20px 0;
  }
  .wwj-author-bio-card {
    flex-direction: column;
    text-align: center;
    padding: 18px 16px;
    gap: 12px;
  }
  .wwj-author-bio-card .wwj-author-info .d-flex {
    justify-content: center;
  }
  .wwj-comment-form-wrap {
    padding: 18px 14px !important;
  }
}
