/*
Theme Name: Healthandwellnessbalance
Theme URI: https://healthandwellnessbalance.com/
Author: HWB Team
Author URI: https://healthandwellnessbalance.com/
Description: Modern, lightweight, fast, mobile-responsive and SEO-friendly WordPress theme for Health, Wellness, Nutrition and Mindful Living blogs.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: bootscore
*/

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

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

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

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

/* Header & Navigation */
.hwb-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;
}

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

/* Pulsing Live Badge Pill */
.hwb-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;
}
.hwb-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;
}
.hwb-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: hwbPulseDot 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
  display: inline-block;
  flex-shrink: 0;
}
@keyframes hwbPulseDot {
  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); }
}

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

/* Custom Uploaded Logo & Default Brand Typography */
.hwb-custom-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.hwb-custom-logo-img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}
.hwb-mobile-drawer .hwb-custom-logo-img {
  max-height: 40px;
}

.hwb-brand-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hwb-brand-logo:hover {
  color: #059669;
}
.hwb-brand-logo .brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.hwb-main-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
}
.hwb-main-nav > li > a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  padding: 8px 4px;
  display: inline-block;
  position: relative;
}
.hwb-main-nav > li > a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--hwb-primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}
.hwb-main-nav > li > a:hover::after,
.hwb-main-nav > li.active > a::after {
  width: 100%;
}
.hwb-main-nav > li > a:hover,
.hwb-main-nav > li.active > a {
  color: var(--hwb-primary);
}

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

.hwb-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}
.hwb-icon-btn:hover {
  background: #f8fafc;
  color: var(--hwb-primary);
  border-color: var(--hwb-primary);
}

.hwb-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
  transition: all 0.25s ease;
}
.hwb-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
  color: #ffffff;
}

.hwb-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--hwb-dark);
  padding: 4px;
  cursor: pointer;
}

/* Category Topic Bar */
.hwb-topic-bar {
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  padding: 8px 0;
}
.hwb-topic-pills-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.hwb-topic-pills-wrap::-webkit-scrollbar { display: none; }

.hwb-topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.hwb-topic-pill:hover,
.hwb-topic-pill.active {
  background: var(--hwb-accent-light);
  border-color: rgba(5, 150, 105, 0.3);
  color: var(--hwb-primary);
}

/* Hero Section */
.hwb-hero-section {
  padding: 28px 0 20px;
}
.hwb-hero-lead {
  position: relative;
  height: 480px;
  border-radius: var(--hwb-radius-lg);
  overflow: hidden;
  box-shadow: var(--hwb-shadow-hero);
}
.hwb-hero-img-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hwb-hero-lead:hover .hwb-hero-img-overlay,
.hwb-hero-side-card:hover .hwb-hero-img-overlay {
  transform: scale(1.04);
}
.hwb-hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.4) 40%, rgba(15, 23, 42, 0.94) 100%);
}
.hwb-hero-content-pos {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 36px;
  z-index: 2;
  color: #ffffff;
}
.hwb-hero-title {
  color: #ffffff;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.28;
  margin: 12px 0;
}
.hwb-hero-title a { color: #ffffff; }
.hwb-hero-title a:hover { color: #a7f3d0; }

.hwb-hero-side-card {
  position: relative;
  height: 226px;
  border-radius: var(--hwb-radius-lg);
  overflow: hidden;
  box-shadow: var(--hwb-shadow-subtle);
  margin-bottom: 24px;
}
.hwb-hero-side-card:last-child { margin-bottom: 0; }
.hwb-hero-side-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  z-index: 2;
  color: #ffffff;
}
.hwb-hero-side-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 8px 0 0;
}
.hwb-hero-side-title a { color: #ffffff; }
.hwb-hero-side-title a:hover { color: #a7f3d0; }

/* Clean Content Cards */
.hwb-clean-card {
  background: #ffffff;
  border-radius: var(--hwb-radius-md);
  border: 1px solid #f1f5f9;
  box-shadow: var(--hwb-shadow-subtle);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.hwb-clean-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hwb-shadow-hover);
  border-color: rgba(5, 150, 105, 0.2);
}
.hwb-clean-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #e2e8f0;
}
.hwb-clean-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hwb-clean-card:hover .hwb-clean-thumb img {
  transform: scale(1.05);
}
.hwb-clean-badge-pos {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}
.hwb-badge-tag {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: #047857;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.hwb-clean-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.hwb-clean-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}
.hwb-clean-title a {
  color: var(--hwb-dark);
}
.hwb-clean-title a:hover {
  color: var(--hwb-primary);
}
.hwb-clean-excerpt {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}
.hwb-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--hwb-primary);
}
.hwb-read-more:hover {
  color: var(--hwb-primary-dark);
  gap: 9px;
}

/* Feed Headers */
.hwb-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 14px;
}
.hwb-feed-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hwb-primary);
  display: block;
  margin-bottom: 4px;
}
.hwb-feed-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sidebar Widgets & Sticky Support */
.hwb-sticky-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 96px;
  z-index: 10;
}
.hwb-widget-box {
  background: #ffffff;
  border-radius: var(--hwb-radius-md);
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: var(--hwb-shadow-subtle);
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.hwb-widget-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--hwb-dark);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #f1f5f9;
  position: relative;
}
.hwb-widget-title::after {
  content: "";
  position: absolute;
  bottom: -1.5px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--hwb-primary);
}

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

/* Category Pill List */
.hwb-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hwb-category-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--hwb-radius-sm);
  color: #334155;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-bottom: 6px;
  background: #f8fafc;
}
.hwb-category-list li a:hover {
  background: var(--hwb-accent-light);
  color: var(--hwb-primary);
  padding-left: 18px;
}
.hwb-category-list .count-pill {
  font-size: 0.72rem;
  font-weight: 700;
  background: #ffffff;
  padding: 2px 8px;
  border-radius: 50px;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

/* Modern Newsletter Widget & Footer Subscribe */
.hwb-newsletter-card {
  background: linear-gradient(145deg, #064e3b 0%, #065f46 60%, #047857 100%);
  border-radius: var(--hwb-radius-md);
  padding: 28px 24px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(6, 78, 59, 0.25);
  position: relative;
  overflow: hidden;
}
.hwb-newsletter-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}
.hwb-nl-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.hwb-newsletter-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.hwb-newsletter-desc {
  color: #a7f3d0;
  font-size: 0.86rem;
  line-height: 1.55;
  margin-bottom: 18px;
}
.hwb-nl-input-wrap {
  position: relative;
  margin-bottom: 12px;
}
.hwb-nl-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}
.hwb-nl-input:focus {
  background: #ffffff;
  border-color: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.3);
}
.hwb-nl-btn {
  width: 100%;
  padding: 12px;
  border-radius: 50px;
  border: none;
  background: #10b981;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.hwb-nl-btn:hover {
  background: #059669;
  transform: translateY(-1px);
}
.hwb-nl-privacy {
  font-size: 0.76rem;
  color: #6ee7b7;
  text-align: center;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Breadcrumbs */
.hwb-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #64748b;
  list-style: none;
  padding: 8px 18px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  margin-bottom: 24px;
}
.hwb-breadcrumb a {
  color: #475569;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hwb-breadcrumb a:hover {
  color: var(--hwb-primary);
}
.hwb-breadcrumb-separator {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
}
.hwb-breadcrumb .active {
  color: var(--hwb-primary);
  font-weight: 600;
}

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

/* Social Share Bar */
.hwb-share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hwb-share-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  margin-right: 4px;
}
.hwb-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);
}
.hwb-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);
}

/* Entry Content Typography */
.hwb-entry-content {
  font-size: 1.08rem;
  line-height: 1.82;
  color: #334155;
}
.hwb-entry-content > p:first-of-type {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #1e293b;
  font-weight: 450;
}
.hwb-entry-content p {
  margin-bottom: 24px;
}
.hwb-entry-content h2 {
  font-size: 1.75rem;
  margin: 40px 0 18px;
  color: var(--hwb-dark);
  letter-spacing: -0.02em;
  font-weight: 700;
  position: relative;
  padding-bottom: 8px;
}
.hwb-entry-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--hwb-primary);
  border-radius: 2px;
}
.hwb-entry-content h3 {
  font-size: 1.35rem;
  margin: 32px 0 14px;
  color: var(--hwb-dark);
  font-weight: 700;
}
.hwb-entry-content ul,
.hwb-entry-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
.hwb-entry-content li {
  margin-bottom: 10px;
  line-height: 1.75;
}
.hwb-entry-content blockquote {
  border-left: 4px solid var(--hwb-primary);
  padding: 18px 24px;
  background: #f0fdf4;
  border-radius: 0 var(--hwb-radius-md) var(--hwb-radius-md) 0;
  font-style: italic;
  font-size: 1.12rem;
  color: #065f46;
  margin: 32px 0;
}
.hwb-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 */
.hwb-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;
}
.hwb-disclaimer-icon {
  color: #059669;
  flex-shrink: 0;
  margin-top: 2px;
}
.hwb-disclaimer-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #475569;
}
.hwb-disclaimer-text strong {
  display: block;
  color: #0f172a;
  margin-bottom: 4px;
}
.hwb-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;
}
.hwb-source-btn:hover {
  background: #059669;
  color: #ffffff;
}

/* Modern Author Bio Box */
.hwb-author-bio-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 24px;
}
.hwb-author-avatar-big {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--hwb-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border: 2px solid #ecfdf5;
}
.hwb-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 */
.hwb-comments-area {
  scroll-margin-top: 90px;
}
.hwb-form-input {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.hwb-form-input:focus {
  border-color: var(--hwb-primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}
.hwb-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);
}
.hwb-comment-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
  color: #ffffff;
}

/* Modern Pagination Container & Pill Styles */
.hwb-pagination {
  margin: 36px auto 0;
  display: flex;
  justify-content: center;
}

.hwb-pagination ul,
.hwb-pagination .nav-links,
.hwb-pagination .page-numbers {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  list-style: none !important;
  list-style-type: none !important;
  padding: 8px 16px !important;
  margin: 0 auto !important;
  background: #ffffff;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.hwb-pagination li {
  list-style: none !important;
  list-style-type: none !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hwb-pagination li::before,
.hwb-pagination li::marker {
  display: none !important;
  content: "" !important;
}

.hwb-pagination a.page-numbers,
.hwb-pagination span.page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 40px !important;
  height: 40px !important;
  padding: 0 12px !important;
  border-radius: 50px !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #334155 !important;
  background: #f8fafc;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

.hwb-pagination a.page-numbers:hover {
  background: #ecfdf5 !important;
  color: #059669 !important;
  border-color: rgba(5, 150, 105, 0.3) !important;
  transform: translateY(-2px);
}

.hwb-pagination span.page-numbers.current {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
  border-color: transparent !important;
}

.hwb-pagination span.page-numbers.dots {
  background: transparent !important;
  border: none !important;
  color: #94a3b8 !important;
  min-width: 24px !important;
}

/* Footer Section */
.hwb-site-footer {
  background: #091310;
  color: #94a3b8;
  padding: 60px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hwb-footer-brand h3 {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hwb-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hwb-footer-links li {
  margin-bottom: 10px;
}
.hwb-footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.hwb-footer-links a:hover {
  color: #34d399;
  padding-left: 4px;
}
.hwb-subfooter {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  margin-top: 48px;
  font-size: 0.82rem;
  color: #64748b;
}

/* Mobile Drawer */
.hwb-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background: #ffffff;
  z-index: 1050;
  padding: 24px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
.hwb-mobile-drawer.active {
  transform: translateX(0);
}
.hwb-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1040;
  display: none;
}
.hwb-drawer-backdrop.active {
  display: block;
}

/* 2-Column Desktop Grid & Sticky Sidebar */
@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;
  }
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .hwb-main-nav { display: none; }
  .hwb-hamburger { display: block; }
  .hwb-sticky-sidebar { position: static; margin-top: 32px; }
  .hwb-hero-lead { height: 380px; }
}

@media (max-width: 767px) {
  .hwb-topbar { display: none; }
  .hwb-header-cta { display: none; }
  .hwb-hero-lead { height: 280px; }
  .hwb-hero-title { font-size: 1.35rem; }
  .hwb-single-article { padding: 20px 16px; border-radius: 14px !important; }
  .hwb-single-title { font-size: 1.45rem; line-height: 1.3; margin: 12px 0 16px; }
  .hwb-single-meta-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hwb-share-bar { width: 100%; justify-content: flex-start; }
  .hwb-single-featured-wrap { max-height: 250px; margin-bottom: 24px; border-radius: 12px; }
  .hwb-entry-content { font-size: 1rem; line-height: 1.75; }
  .hwb-author-bio-card { flex-direction: column; text-align: center; padding: 18px 16px; }
}

/* ==========================================================================
   Modern Contact Us & Unsubscribe Form Overrides (gxl-subscribe)
   ========================================================================== */
/* Contact Us Form */
#contact-email-form {
  max-width: 650px;
  margin: 0 auto;
}
#contact-email-form .field {
  margin-bottom: 20px !important;
}
#contact-email-form .input,
#contact-email-form .textarea {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  font-size: 0.95rem !important;
  font-family: var(--hwb-font-sans) !important;
  color: var(--hwb-dark) !important;
  transition: all 0.2s ease !important;
  box-shadow: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
#contact-email-form .input:focus,
#contact-email-form .textarea:focus {
  background: #ffffff !important;
  border-color: var(--hwb-primary) !important;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12) !important;
  outline: none !important;
}
#contact-email-form .textarea {
  height: 160px !important;
  resize: vertical;
}
#fcf-button,
#contact-email-form button.button.is-link {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  padding: 14px 32px !important;
  height: 52px !important;
  width: 100% !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}
#fcf-button:hover,
#contact-email-form button.button.is-link:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.35) !important;
  background: linear-gradient(135deg, #047857 0%, #059669 100%) !important;
}

/* Unsubscribe Form */
.hwb-unsubscribe-form-wrap {
  max-width: 540px;
  margin: 0 auto;
}
.hwb-unsubscribe-form-wrap .unhead {
  display: none !important; /* Hide duplicate blue header from plugin template */
}
.hwb-unsubscribe-form-wrap > div > div > p:first-of-type {
  display: none !important; /* Hide duplicate subtitle */
}
.hwb-unsubscribe-form-wrap p.title {
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: var(--hwb-primary-dark) !important;
  margin: 22px 0 10px !important;
}
.hwb-unsubscribe-form-wrap input[type="email"],
.hwb-unsubscribe-form-wrap #subscription-email-form_sb-input {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 13px 18px !important;
  font-size: 0.95rem !important;
  color: var(--hwb-dark) !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  height: auto !important;
}
.hwb-unsubscribe-form-wrap input[type="email"]:focus,
.hwb-unsubscribe-form-wrap #subscription-email-form_sb-input:focus {
  background: #ffffff !important;
  border-color: var(--hwb-primary) !important;
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12) !important;
  outline: none !important;
}
.hwb-unsubscribe-form-wrap .select-container {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  padding: 10px 14px 10px 42px !important;
  margin-bottom: 8px !important;
  background: #f8fafc !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 10px !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: var(--hwb-slate) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.hwb-unsubscribe-form-wrap .select-container:hover {
  background: #f0fdf4 !important;
  border-color: #bbf7d0 !important;
  color: var(--hwb-primary-dark) !important;
}
.hwb-unsubscribe-form-wrap .checkmark {
  position: absolute !important;
  top: 50% !important;
  left: 14px !important;
  transform: translateY(-50%) !important;
  height: 18px !important;
  width: 18px !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 5px !important;
  background-color: #ffffff !important;
  transition: all 0.2s ease !important;
}
.hwb-unsubscribe-form-wrap .select-container input:checked ~ .checkmark {
  background-color: var(--hwb-primary) !important;
  border-color: var(--hwb-primary) !important;
}
.hwb-unsubscribe-form-wrap .select-container .checkmark:after {
  left: 5px !important;
  top: 2px !important;
  width: 5px !important;
  height: 10px !important;
  border: solid #ffffff !important;
  border-width: 0 2px 2px 0 !important;
  transform: rotate(45deg) !important;
}
#unsub_submit,
.hwb-unsubscribe-form-wrap .btn-primary {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.04em !important;
  padding: 13px 32px !important;
  height: 48px !important;
  width: 100% !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
  margin-top: 18px !important;
}
#unsub_submit:hover,
.hwb-unsubscribe-form-wrap .btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.35) !important;
  background: linear-gradient(135deg, #047857 0%, #059669 100%) !important;
}

