/*
Theme Name: EasyBooking
Theme URI: https://easybooking.irish
Author: easybooking.irish
Author URI: https://easybooking.irish
Description: Modern SaaS-style landing page theme for easybooking.irish — Material Design, high-converting, EDD-integrated.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: easybooking
*/

/* ───────────────────────────────────────────────
   CSS CUSTOM PROPERTIES (Design Tokens)
   ─────────────────────────────────────────────── */
:root {
  /* Brand colours */
  --eb-primary: #3CBF8A;
  --eb-primary-dark: #2ca574;
  --eb-primary-light: #e8f8f0;
  --eb-secondary: #1E1E1E;
  --eb-bg: #F8F9FA;
  --eb-white: #ffffff;
  --eb-accent: #56d4a5;
  --eb-accent-light: #e0f7ec;
  --eb-text: #333333;
  --eb-text-light: #666666;
  --eb-border: #e0e0e0;
  --eb-card-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --eb-card-shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.12);
  --eb-elevation-1: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --eb-elevation-2: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --eb-elevation-3: 0 10px 20px rgba(0, 0, 0, 0.08), 0 3px 6px rgba(0, 0, 0, 0.05);

  /* Spacing */
  --eb-space-xs: 4px;
  --eb-space-sm: 8px;
  --eb-space-md: 16px;
  --eb-space-lg: 32px;
  --eb-space-xl: 48px;
  --eb-space-2xl: 64px;
  --eb-space-3xl: 96px;

  /* Radii */
  --eb-radius-sm: 6px;
  --eb-radius-md: 10px;
  --eb-radius-lg: 16px;
  --eb-radius-xl: 24px;

  /* Typography */
  --eb-font-heading: 'Inter', 'Poppins', 'Roboto', sans-serif;
  --eb-font-body: 'Inter', 'Roboto', sans-serif;

  /* Layout */
  --eb-max-width: 1200px;
  --eb-header-height: 72px;
}

/* ───────────────────────────────────────────────
   RESET & BASE
   ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--eb-font-body);
  color: var(--eb-text);
  background: var(--eb-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--eb-font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--eb-secondary);
}

/* ───────────────────────────────────────────────
   UTILITY
   ─────────────────────────────────────────────── */
.eb-container {
  width: 100%;
  max-width: var(--eb-max-width);
  margin: 0 auto;
  padding: 0 var(--eb-space-lg);
}

.eb-section {
  padding: var(--eb-space-3xl) 0;
}

.eb-section--alt {
  background: var(--eb-white);
}

.eb-section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: var(--eb-space-xl);
  position: relative;
}

.eb-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--eb-primary);
  border-radius: 2px;
  margin: var(--eb-space-md) auto 0;
}

/* ───────────────────────────────────────────────
   BUTTONS
   ─────────────────────────────────────────────── */
.eb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--eb-space-sm);
  padding: 14px 36px;
  font-family: var(--eb-font-heading);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.eb-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.eb-btn:hover::before {
  opacity: 1;
}

.eb-btn--primary {
  background: linear-gradient(135deg, var(--eb-primary) 0%, var(--eb-primary-dark) 100%);
  color: var(--eb-white);
  box-shadow: 0 4px 15px rgba(60, 191, 138, 0.35);
}

.eb-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(60, 191, 138, 0.45);
}

.eb-btn--secondary {
  background: transparent;
  color: var(--eb-secondary);
  border: 2px solid var(--eb-border);
}

.eb-btn--secondary:hover {
  border-color: var(--eb-primary);
  color: var(--eb-primary);
  transform: translateY(-2px);
}

.eb-btn--large {
  padding: 18px 48px;
  font-size: 1.1rem;
}

/* ───────────────────────────────────────────────
   HEADER
   ─────────────────────────────────────────────── */
.eb-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--eb-header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: box-shadow 0.3s;
}

.eb-header.scrolled {
  box-shadow: var(--eb-elevation-2);
}

.eb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--eb-max-width);
  margin: 0 auto;
  padding: 0 var(--eb-space-lg);
}

.eb-header__logo {
  font-family: var(--eb-font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--eb-secondary);
  display: flex;
  align-items: center;
  gap: 0;
}

.eb-header__logo span {
  color: var(--eb-primary);
}

.eb-header__nav {
  display: flex;
  align-items: center;
  gap: var(--eb-space-lg);
}

.eb-header__nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--eb-text-light);
  transition: color 0.2s;
}

.eb-header__nav a:hover {
  color: var(--eb-primary);
}

.eb-header__cta .eb-btn {
  padding: 10px 28px;
  font-size: 0.9rem;
}

/* Mobile hamburger */
.eb-header__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--eb-space-sm);
}

.eb-header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--eb-secondary);
  margin: 6px 0;
  transition: all 0.3s;
  border-radius: 2px;
}

/* ───────────────────────────────────────────────
   HERO
   ─────────────────────────────────────────────── */
.eb-hero {
  padding-top: calc(var(--eb-header-height) + var(--eb-space-3xl));
  padding-bottom: var(--eb-space-3xl);
  background: linear-gradient(170deg, var(--eb-bg) 0%, var(--eb-white) 50%, var(--eb-primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.eb-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(60, 191, 138, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.eb-hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(86, 212, 165, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.eb-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--eb-space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.eb-hero__content {
  animation: fadeInUp 0.8s ease-out;
}

.eb-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--eb-space-sm);
  padding: 6px 16px;
  background: var(--eb-accent-light);
  color: var(--eb-primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: var(--eb-space-lg);
}

.eb-hero__badge svg {
  width: 16px;
  height: 16px;
}

.eb-hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: var(--eb-space-lg);
  line-height: 1.15;
}

.eb-hero__title em {
  font-style: normal;
  color: var(--eb-primary);
  position: relative;
}

.eb-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--eb-text-light);
  margin-bottom: var(--eb-space-xl);
  max-width: 520px;
  line-height: 1.7;
}

.eb-hero__actions {
  display: flex;
  gap: var(--eb-space-md);
  flex-wrap: wrap;
}

.eb-hero__mockup {
  position: relative;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

.eb-hero__mockup-img {
  width: 100%;
  border-radius: var(--eb-radius-lg);
  box-shadow: var(--eb-elevation-3);
}

/* Floating elements around mockup */
.eb-hero__float {
  position: absolute;
  background: var(--eb-white);
  border-radius: var(--eb-radius-md);
  box-shadow: var(--eb-elevation-2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: var(--eb-space-sm);
  font-size: 0.85rem;
  font-weight: 600;
  animation: float 3s ease-in-out infinite;
}

.eb-hero__float--top {
  top: -20px;
  right: 30px;
  color: var(--eb-primary);
}

.eb-hero__float--bottom {
  bottom: 20px;
  left: -20px;
  color: var(--eb-secondary);
  animation-delay: 1.5s;
}

.eb-hero__float svg {
  width: 20px;
  height: 20px;
  color: var(--eb-primary);
}

/* ───────────────────────────────────────────────
   VALUE PROPOSITIONS
   ─────────────────────────────────────────────── */
.eb-value {
  background: var(--eb-white);
}

.eb-value__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--eb-space-lg);
}

.eb-value__card {
  background: var(--eb-bg);
  border-radius: var(--eb-radius-md);
  padding: var(--eb-space-xl) var(--eb-space-lg);
  text-align: center;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.eb-value__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--eb-elevation-2);
  border-color: var(--eb-primary-light);
}

.eb-value__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--eb-primary-light) 0%, var(--eb-accent-light) 100%);
  border-radius: var(--eb-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--eb-space-lg);
}

.eb-value__icon svg {
  width: 28px;
  height: 28px;
  color: var(--eb-primary);
}

.eb-value__card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--eb-space-md);
}

.eb-value__card p {
  font-size: 0.95rem;
  color: var(--eb-text-light);
  line-height: 1.6;
}

/* ───────────────────────────────────────────────
   FEATURES GRID
   ─────────────────────────────────────────────── */
.eb-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--eb-space-lg);
}

.eb-feature-card {
  background: var(--eb-white);
  border-radius: var(--eb-radius-md);
  padding: var(--eb-space-lg);
  display: flex;
  gap: var(--eb-space-md);
  align-items: flex-start;
  transition: all 0.3s;
  border: 1px solid var(--eb-border);
}

.eb-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--eb-elevation-2);
  border-color: var(--eb-primary);
}

.eb-feature-card__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--eb-primary-light);
  border-radius: var(--eb-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.eb-feature-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--eb-primary);
}

.eb-feature-card__content h3 {
  font-size: 1.05rem;
  margin-bottom: var(--eb-space-sm);
}

.eb-feature-card__content p {
  font-size: 0.9rem;
  color: var(--eb-text-light);
  line-height: 1.6;
}

/* ───────────────────────────────────────────────
   PRICING
   ─────────────────────────────────────────────── */
.eb-pricing {
  background: var(--eb-white);
}

.eb-pricing__subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--eb-text-light);
  margin-top: calc(var(--eb-space-md) * -1);
  margin-bottom: var(--eb-space-xl);
}

.eb-pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--eb-space-lg);
  max-width: 800px;
  margin: 0 auto;
}

/* Single-plan layout */
.eb-pricing__grid--single {
  grid-template-columns: 1fr;
  max-width: 480px;
}

.eb-pricing__card {
  background: var(--eb-bg);
  border-radius: var(--eb-radius-lg);
  padding: var(--eb-space-xl);
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s;
  position: relative;
}

.eb-pricing__card--featured {
  border-color: var(--eb-primary);
  background: var(--eb-white);
  box-shadow: var(--eb-elevation-3);
}

.eb-pricing__grid--single .eb-pricing__card--featured {
  transform: none; /* No sibling to scale against in single-plan layout */
}

.eb-pricing__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--eb-primary) 0%, var(--eb-primary-dark) 100%);
  color: var(--eb-white);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.eb-pricing__card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--eb-space-md);
  color: var(--eb-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.eb-pricing__price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--eb-secondary);
  line-height: 1;
  margin-bottom: var(--eb-space-xs);
}

.eb-pricing__price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--eb-text-light);
}

.eb-pricing__list {
  text-align: left;
  margin: var(--eb-space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--eb-space-md);
}

.eb-pricing__list li {
  display: flex;
  align-items: center;
  gap: var(--eb-space-sm);
  font-size: 0.95rem;
  color: var(--eb-text);
}

.eb-pricing__list li svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--eb-primary);
}

.eb-pricing__card .eb-btn {
  width: 100%;
}

/* ───────────────────────────────────────────────
   BRAND MANIFESTO
   ─────────────────────────────────────────────── */
.eb-manifesto {
  background: linear-gradient(145deg, #0d1f17 0%, #122b1f 40%, #0a1a12 100%);
  color: var(--eb-white);
  position: relative;
  overflow: hidden;
}

/* Ambient glow orbs */
.eb-manifesto__bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.eb-manifesto__bg-orb--1 {
  width: 500px;
  height: 500px;
  top: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(60, 191, 138, 0.12) 0%, transparent 65%);
}

.eb-manifesto__bg-orb--2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -80px;
  background: radial-gradient(circle, rgba(86, 212, 165, 0.08) 0%, transparent 65%);
}

/* Tagline chips */
.eb-manifesto__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--eb-space-sm);
  justify-content: center;
  margin-bottom: var(--eb-space-xl);
}

.eb-manifesto__chip {
  display: inline-block;
  padding: 7px 18px;
  border: 1px solid rgba(60, 191, 138, 0.35);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(60, 191, 138, 0.07);
  letter-spacing: 0.2px;
  transition: all 0.3s;
}

.eb-manifesto__chip:hover {
  border-color: var(--eb-primary);
  color: var(--eb-white);
  background: rgba(60, 191, 138, 0.15);
}

.eb-manifesto__chip--accent {
  border-color: var(--eb-primary);
  color: var(--eb-primary);
  background: rgba(60, 191, 138, 0.12);
  font-weight: 600;
}

/* Main headline */
.eb-manifesto__headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--eb-white);
  text-align: center;
  line-height: 1.15;
  margin-bottom: var(--eb-space-xl);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.eb-manifesto__headline::after {
  display: none;
}

/* Body copy — 2-column */
.eb-manifesto__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--eb-space-xl);
  max-width: 1000px;
  margin: 0 auto var(--eb-space-xl);
  border-top: 1px solid rgba(60, 191, 138, 0.2);
  padding-top: var(--eb-space-xl);
}

.eb-manifesto__body-col p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

/* Power statement / pullquote */
.eb-manifesto__quote {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--eb-space-lg) var(--eb-space-xl);
  border-left: 4px solid var(--eb-primary);
  background: rgba(60, 191, 138, 0.07);
  border-radius: 0 var(--eb-radius-md) var(--eb-radius-md) 0;
}

.eb-manifesto__quote p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  font-weight: 500;
  color: var(--eb-white);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .eb-manifesto__body {
    grid-template-columns: 1fr;
    gap: var(--eb-space-lg);
  }

  .eb-manifesto__chips {
    flex-direction: column;
    align-items: center;
  }

  .eb-manifesto__quote {
    padding: var(--eb-space-md) var(--eb-space-lg);
  }
}

/* ───────────────────────────────────────────────
   FINAL CTA
   ─────────────────────────────────────────────── */
.eb-final-cta {
  background: linear-gradient(135deg, var(--eb-secondary) 0%, #2a2a2a 100%);
  color: var(--eb-white);
  text-align: center;
}

.eb-final-cta h2 {
  color: var(--eb-white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--eb-space-lg);
}

.eb-final-cta h2::after {
  display: none;
}

.eb-final-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: var(--eb-space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ───────────────────────────────────────────────
   FOOTER
   ─────────────────────────────────────────────── */
.eb-footer {
  background: var(--eb-secondary);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--eb-space-xl) 0;
  text-align: center;
  font-size: 0.9rem;
}

.eb-footer a {
  color: var(--eb-primary);
  transition: color 0.2s;
}

.eb-footer a:hover {
  color: var(--eb-accent);
}

.eb-footer__links {
  display: flex;
  justify-content: center;
  gap: var(--eb-space-lg);
  margin-bottom: var(--eb-space-md);
}

/* ───────────────────────────────────────────────
   EDD PRODUCT PAGE
   ─────────────────────────────────────────────── */
.eb-edd-product {
  padding-top: calc(var(--eb-header-height) + var(--eb-space-3xl));
  padding-bottom: var(--eb-space-3xl);
  min-height: 100vh;
  background: linear-gradient(170deg, var(--eb-bg) 0%, var(--eb-white) 100%);
}

.eb-edd-product__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--eb-space-2xl);
  align-items: start;
}

.eb-edd-product__info h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--eb-space-md);
}

.eb-edd-product__info .eb-subtitle {
  font-size: 1.15rem;
  color: var(--eb-text-light);
  margin-bottom: var(--eb-space-xl);
  line-height: 1.7;
}

.eb-edd-product__benefits {
  margin-bottom: var(--eb-space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--eb-space-md);
}

.eb-edd-product__benefits li {
  display: flex;
  align-items: center;
  gap: var(--eb-space-sm);
  font-size: 1rem;
}

.eb-edd-product__benefits li svg {
  width: 22px;
  height: 22px;
  min-width: 22px;
  color: var(--eb-primary);
}

.eb-edd-product__purchase {
  background: var(--eb-white);
  border-radius: var(--eb-radius-lg);
  padding: var(--eb-space-xl);
  box-shadow: var(--eb-elevation-3);
  position: sticky;
  top: calc(var(--eb-header-height) + var(--eb-space-lg));
}

.eb-edd-product__purchase h2 {
  font-size: 1.3rem;
  margin-bottom: var(--eb-space-lg);
  text-align: center;
}

.eb-edd-price-option {
  border: 2px solid var(--eb-border);
  border-radius: var(--eb-radius-md);
  padding: var(--eb-space-lg);
  margin-bottom: var(--eb-space-md);
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.eb-edd-price-option:hover,
.eb-edd-price-option.selected {
  border-color: var(--eb-primary);
  background: var(--eb-primary-light);
}

.eb-edd-price-option__label {
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.eb-edd-price-option__price {
  color: var(--eb-primary-dark);
  font-size: 1.3rem;
}

.eb-edd-price-option__desc {
  font-size: 0.85rem;
  color: var(--eb-text-light);
  margin-top: var(--eb-space-xs);
}

.eb-edd-product__purchase .eb-btn {
  width: 100%;
  margin-top: var(--eb-space-md);
}

.eb-edd-product__trust {
  text-align: center;
  margin-top: var(--eb-space-md);
  font-size: 0.85rem;
  color: var(--eb-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--eb-space-sm);
}

.eb-edd-product__trust svg {
  width: 16px;
  height: 16px;
  color: var(--eb-primary);
}

/* ───────────────────────────────────────────────
   ANIMATIONS
   ─────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Scroll animation classes */
.eb-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.eb-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.eb-animate-stagger>* {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.eb-animate-stagger.visible>*:nth-child(1) {
  transition-delay: 0.1s;
}

.eb-animate-stagger.visible>*:nth-child(2) {
  transition-delay: 0.2s;
}

.eb-animate-stagger.visible>*:nth-child(3) {
  transition-delay: 0.3s;
}

.eb-animate-stagger.visible>*:nth-child(4) {
  transition-delay: 0.4s;
}

.eb-animate-stagger.visible>*:nth-child(5) {
  transition-delay: 0.5s;
}

.eb-animate-stagger.visible>*:nth-child(6) {
  transition-delay: 0.6s;
}

.eb-animate-stagger.visible>*:nth-child(7) {
  transition-delay: 0.7s;
}

.eb-animate-stagger.visible>*:nth-child(8) {
  transition-delay: 0.8s;
}

.eb-animate-stagger.visible>* {
  opacity: 1;
  transform: translateY(0);
}

/* ───────────────────────────────────────────────
   RESPONSIVE
   ─────────────────────────────────────────────── */
@media (max-width: 992px) {
  .eb-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .eb-hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .eb-hero__actions {
    justify-content: center;
  }

  .eb-hero__mockup {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .eb-value__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .eb-features__grid {
    grid-template-columns: 1fr;
  }

  .eb-pricing__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .eb-pricing__card--featured {
    transform: none;
  }

  .eb-edd-product__inner {
    grid-template-columns: 1fr;
  }

  .eb-edd-product__purchase {
    position: static;
  }
}

@media (max-width: 768px) {
  .eb-header__nav {
    display: none;
  }

  .eb-header__toggle {
    display: block;
  }

  /* Mobile nav */
  .eb-header__nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--eb-header-height);
    left: 0;
    right: 0;
    background: var(--eb-white);
    padding: var(--eb-space-lg);
    box-shadow: var(--eb-elevation-2);
    gap: var(--eb-space-md);
  }

  .eb-header__nav.open .eb-header__cta {
    width: 100%;
  }

  .eb-header__nav.open .eb-header__cta .eb-btn {
    width: 100%;
  }

  .eb-hero {
    padding-top: calc(var(--eb-header-height) + var(--eb-space-xl));
    padding-bottom: var(--eb-space-xl);
  }

  .eb-section {
    padding: var(--eb-space-2xl) 0;
  }
}

@media (max-width: 480px) {
  .eb-hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .eb-hero__actions .eb-btn {
    width: 100%;
  }

  .eb-footer__links {
    flex-direction: column;
    gap: var(--eb-space-md);
  }
}

/* ───────────────────────────────────────────────
   STICKY MOBILE CTA
   ─────────────────────────────────────────────── */
.eb-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--eb-space-md);
  background: var(--eb-white);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.eb-mobile-cta .eb-btn {
  width: 100%;
}

@media (max-width: 768px) {
  .eb-mobile-cta {
    display: block;
  }

  .eb-footer {
    padding-bottom: 80px;
  }
}

/* ───────────────────────────────────────────────
   WORDPRESS ADMIN BAR OFFSET
   ─────────────────────────────────────────────── */
.admin-bar .eb-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .eb-header {
    top: 46px;
  }
}

/* ═══════════════════════════════════════════════════
   BLOG SECTION STYLES
   ═══════════════════════════════════════════════════ */

/* ───────────────────────────────────────────────
   BLOG HERO
   ─────────────────────────────────────────────── */
.eb-blog-hero {
  padding-top: calc(var(--eb-header-height) + var(--eb-space-3xl));
  padding-bottom: var(--eb-space-2xl);
  background: linear-gradient(170deg, var(--eb-bg) 0%, var(--eb-white) 40%, var(--eb-primary-light) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.eb-blog-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(60, 191, 138, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.eb-blog-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(86, 212, 165, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.eb-blog-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.eb-blog-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--eb-space-sm);
  padding: 6px 20px;
  background: var(--eb-accent-light);
  color: var(--eb-primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: var(--eb-space-lg);
}

.eb-blog-hero__badge svg {
  width: 16px;
  height: 16px;
}

.eb-blog-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--eb-space-md);
  line-height: 1.15;
}

.eb-blog-hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--eb-text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.eb-blog-hero--archive {
  padding-bottom: var(--eb-space-xl);
}

/* ───────────────────────────────────────────────
   BLOG SEARCH & FILTERS
   ─────────────────────────────────────────────── */
.eb-blog-filters {
  padding: var(--eb-space-lg) 0;
  background: var(--eb-white);
  border-bottom: 1px solid var(--eb-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.eb-blog-search {
  max-width: 560px;
  margin: 0 auto var(--eb-space-lg);
}

.eb-blog-search__wrapper {
  display: flex;
  align-items: center;
  gap: var(--eb-space-sm);
  background: var(--eb-bg);
  border: 2px solid var(--eb-border);
  border-radius: 50px;
  padding: 12px 24px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.eb-blog-search__wrapper:focus-within {
  border-color: var(--eb-primary);
  box-shadow: 0 0 0 4px rgba(60, 191, 138, 0.1);
}

.eb-blog-search__icon {
  flex-shrink: 0;
  color: var(--eb-text-light);
}

.eb-blog-search__input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--eb-font-body);
  font-size: 1rem;
  color: var(--eb-text);
  outline: none;
}

.eb-blog-search__input::placeholder {
  color: var(--eb-text-light);
}

/* Filter Pills */
.eb-blog-pills {
  display: flex;
  align-items: center;
  gap: var(--eb-space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--eb-space-sm);
}

.eb-blog-pills__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--eb-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: var(--eb-space-xs);
}

.eb-blog-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--eb-text-light);
  background: var(--eb-bg);
  border: 1px solid var(--eb-border);
  border-radius: 50px;
  transition: all 0.25s;
  white-space: nowrap;
}

.eb-blog-pill:hover {
  color: var(--eb-primary);
  border-color: var(--eb-primary);
  background: var(--eb-primary-light);
}

.eb-blog-pill--active {
  color: var(--eb-white);
  background: linear-gradient(135deg, var(--eb-primary) 0%, var(--eb-primary-dark) 100%);
  border-color: var(--eb-primary);
  font-weight: 600;
}

.eb-blog-pill--active:hover {
  color: var(--eb-white);
  background: linear-gradient(135deg, var(--eb-primary-dark) 0%, var(--eb-primary) 100%);
}

/* ───────────────────────────────────────────────
   BLOG SECTIONS
   ─────────────────────────────────────────────── */
.eb-blog-section {
  padding: var(--eb-space-2xl) 0;
}

.eb-blog-section--newsletter-hero {
  padding-top: 0;
  padding-bottom: var(--eb-space-md);
  background: linear-gradient(to bottom, var(--eb-primary-light), var(--eb-white));
}

.eb-blog-section--end-cta,
.eb-blog-section--bottom-cta {
  padding: var(--eb-space-2xl) 0;
}

.eb-blog-section--newsletter-bottom {
  background: var(--eb-bg);
  padding: var(--eb-space-3xl) 0;
}

/* ───────────────────────────────────────────────
   BLOG LISTING
   ─────────────────────────────────────────────── */
.eb-blog-listing {
  padding: var(--eb-space-xl) 0 var(--eb-space-3xl);
  min-height: 40vh;
  scroll-margin-top: var(--eb-header-height);
}

.eb-blog-listing__count {
  font-size: 0.9rem;
  color: var(--eb-text-light);
  margin-bottom: var(--eb-space-lg);
}

.eb-blog-listing__count strong {
  color: var(--eb-secondary);
}

/* ───────────────────────────────────────────────
   BLOG GRID
   ─────────────────────────────────────────────── */
.eb-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--eb-space-lg);
}

.eb-blog-grid--related {
  max-width: 100%;
}

/* ───────────────────────────────────────────────
   BLOG CARD
   ─────────────────────────────────────────────── */
.eb-blog-card {
  background: var(--eb-white);
  border-radius: var(--eb-radius-lg);
  overflow: hidden;
  border: 1px solid var(--eb-border);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  transform: translateY(20px);
}

.eb-blog-card.eb-blog-visible,
.eb-animate-stagger.visible .eb-blog-card {
  opacity: 1;
  transform: translateY(0);
}

.eb-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--eb-elevation-3);
  border-color: var(--eb-primary-light);
}

.eb-blog-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.eb-blog-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--eb-bg);
}

.eb-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.eb-blog-card:hover .eb-blog-card__img {
  transform: scale(1.05);
}

.eb-blog-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--eb-bg) 0%, var(--eb-primary-light) 100%);
  color: var(--eb-primary);
}

.eb-blog-card__category {
  position: absolute;
  top: var(--eb-space-md);
  left: var(--eb-space-md);
  padding: 4px 14px;
  background: var(--eb-white);
  color: var(--eb-primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 50px;
  box-shadow: var(--eb-elevation-1);
}

.eb-blog-card__body {
  padding: var(--eb-space-lg);
}

.eb-blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--eb-space-sm);
  font-size: 0.8rem;
  color: var(--eb-text-light);
  margin-bottom: var(--eb-space-sm);
  flex-wrap: wrap;
}

.eb-blog-card__meta-dot {
  color: var(--eb-border);
}

.eb-blog-card__industry {
  color: var(--eb-primary);
  font-weight: 600;
}

.eb-blog-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: var(--eb-space-sm);
  color: var(--eb-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.eb-blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--eb-text-light);
  line-height: 1.6;
  margin-bottom: var(--eb-space-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.eb-blog-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--eb-primary);
  transition: gap 0.2s;
}

.eb-blog-card:hover .eb-blog-card__readmore {
  gap: 10px;
}

.eb-blog-card__readmore svg {
  transition: transform 0.2s;
}

.eb-blog-card:hover .eb-blog-card__readmore svg {
  transform: translateX(3px);
}

/* ───────────────────────────────────────────────
   BLOG PAGINATION
   ─────────────────────────────────────────────── */
.eb-blog-pagination {
  margin-top: var(--eb-space-2xl);
  display: flex;
  justify-content: center;
}

.eb-blog-pagination .page-numbers {
  display: flex;
  align-items: center;
  gap: var(--eb-space-sm);
  list-style: none;
  padding: 0;
  margin: 0;
}

.eb-blog-pagination .page-numbers li {
  display: flex;
}

.eb-blog-pagination .page-numbers a,
.eb-blog-pagination .page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 var(--eb-space-md);
  border-radius: var(--eb-radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--eb-text);
  background: var(--eb-white);
  border: 1px solid var(--eb-border);
  transition: all 0.25s;
}

.eb-blog-pagination .page-numbers a:hover {
  color: var(--eb-primary);
  border-color: var(--eb-primary);
  background: var(--eb-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--eb-elevation-1);
}

.eb-blog-pagination .page-numbers span.current {
  color: var(--eb-white);
  background: linear-gradient(135deg, var(--eb-primary) 0%, var(--eb-primary-dark) 100%);
  border-color: var(--eb-primary);
}

.eb-blog-pagination .page-numbers .prev,
.eb-blog-pagination .page-numbers .next {
  padding: 0;
}

/* ───────────────────────────────────────────────
   BLOG EMPTY STATE
   ─────────────────────────────────────────────── */
.eb-blog-empty {
  text-align: center;
  padding: var(--eb-space-3xl) var(--eb-space-lg);
  color: var(--eb-text-light);
}

.eb-blog-empty svg {
  color: var(--eb-border);
  margin-bottom: var(--eb-space-lg);
}

.eb-blog-empty h2 {
  font-size: 1.5rem;
  margin-bottom: var(--eb-space-md);
  color: var(--eb-secondary);
}

.eb-blog-empty p {
  margin-bottom: var(--eb-space-lg);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ───────────────────────────────────────────────
   BREADCRUMBS
   ─────────────────────────────────────────────── */
.eb-blog-breadcrumbs {
  padding-top: calc(var(--eb-header-height) + var(--eb-space-lg));
  padding-bottom: var(--eb-space-md);
  background: var(--eb-bg);
}

.eb-blog-breadcrumbs--inline {
  padding-top: 0;
  padding-bottom: var(--eb-space-md);
  background: transparent;
}

.eb-blog-breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: var(--eb-space-sm);
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.eb-blog-breadcrumbs__list li::after {
  content: '›';
  margin-left: var(--eb-space-sm);
  color: var(--eb-text-light);
}

.eb-blog-breadcrumbs__list li:last-child::after {
  display: none;
}

.eb-blog-breadcrumbs__list a {
  color: var(--eb-primary);
  font-weight: 500;
  transition: color 0.2s;
}

.eb-blog-breadcrumbs__list a:hover {
  color: var(--eb-primary-dark);
}

.eb-blog-breadcrumbs__list li:last-child {
  color: var(--eb-text-light);
}

/* ───────────────────────────────────────────────
   SINGLE ARTICLE — HERO
   ─────────────────────────────────────────────── */
.eb-blog-article-hero {
  padding: var(--eb-space-xl) 0 var(--eb-space-2xl);
  background: var(--eb-bg);
}

.eb-blog-article-hero__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.eb-blog-article-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--eb-space-md);
  margin-bottom: var(--eb-space-lg);
  flex-wrap: wrap;
}

.eb-blog-article-hero__cat {
  padding: 4px 16px;
  background: linear-gradient(135deg, var(--eb-primary) 0%, var(--eb-primary-dark) 100%);
  color: var(--eb-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 50px;
  transition: box-shadow 0.2s;
}

.eb-blog-article-hero__cat:hover {
  box-shadow: 0 4px 12px rgba(60, 191, 138, 0.35);
}

.eb-blog-article-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--eb-text-light);
}

.eb-blog-article-hero__meta-item svg {
  color: var(--eb-primary);
}

.eb-blog-article-hero__title {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: var(--eb-space-lg);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.eb-blog-article-hero__tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--eb-space-sm);
  flex-wrap: wrap;
}

.eb-blog-tag {
  padding: 4px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid;
}

.eb-blog-tag--industry {
  color: #0d9488;
  border-color: #99f6e4;
  background: #f0fdfa;
}

.eb-blog-tag--usecase {
  color: #7c3aed;
  border-color: #ddd6fe;
  background: #f5f3ff;
}

/* ───────────────────────────────────────────────
   FEATURED IMAGE
   ─────────────────────────────────────────────── */
.eb-blog-featured-image {
  padding-bottom: var(--eb-space-xl);
  background: var(--eb-bg);
}

.eb-blog-featured-image__img {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--eb-radius-lg);
  box-shadow: var(--eb-elevation-3);
}

/* ───────────────────────────────────────────────
   ARTICLE LAYOUT (Content + TOC)
   ─────────────────────────────────────────────── */
.eb-blog-article {
  padding: var(--eb-space-2xl) 0;
}

.eb-blog-article__layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--eb-space-2xl);
  max-width: 1000px;
  margin: 0 auto;
}

/* ───────────────────────────────────────────────
   TABLE OF CONTENTS
   ─────────────────────────────────────────────── */
.eb-blog-toc {
  position: relative;
}

.eb-blog-toc__inner {
  position: sticky;
  top: calc(var(--eb-header-height) + var(--eb-space-lg));
}

.eb-blog-toc__title {
  display: flex;
  align-items: center;
  gap: var(--eb-space-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--eb-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--eb-space-md);
}

.eb-blog-toc__title svg {
  color: var(--eb-primary);
}

.eb-blog-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 2px solid var(--eb-border);
}

.eb-blog-toc__item {
  margin: 0;
}

.eb-blog-toc__item--sub {
  padding-left: var(--eb-space-md);
}

.eb-blog-toc__link {
  display: block;
  padding: 6px 0 6px var(--eb-space-md);
  font-size: 0.82rem;
  color: var(--eb-text-light);
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: all 0.2s;
  line-height: 1.4;
}

.eb-blog-toc__link:hover {
  color: var(--eb-primary);
}

.eb-blog-toc__link--active {
  color: var(--eb-primary);
  border-left-color: var(--eb-primary);
  font-weight: 600;
}

/* ───────────────────────────────────────────────
   ARTICLE CONTENT TYPOGRAPHY
   ─────────────────────────────────────────────── */
.eb-blog-article__content {
  max-width: 700px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--eb-text);
}

.eb-blog-article__content h2 {
  font-size: 1.6rem;
  margin-top: var(--eb-space-2xl);
  margin-bottom: var(--eb-space-md);
  padding-bottom: var(--eb-space-sm);
  border-bottom: 2px solid var(--eb-primary-light);
}

.eb-blog-article__content h3 {
  font-size: 1.25rem;
  margin-top: var(--eb-space-xl);
  margin-bottom: var(--eb-space-md);
}

.eb-blog-article__content h4 {
  font-size: 1.1rem;
  margin-top: var(--eb-space-lg);
  margin-bottom: var(--eb-space-sm);
}

.eb-blog-article__content p {
  margin-bottom: var(--eb-space-lg);
}

.eb-blog-article__content a {
  color: var(--eb-primary);
  font-weight: 500;
  border-bottom: 1px solid rgba(60, 191, 138, 0.3);
  transition: border-color 0.2s;
}

.eb-blog-article__content a:hover {
  border-bottom-color: var(--eb-primary);
}

.eb-blog-article__content img {
  border-radius: var(--eb-radius-md);
  box-shadow: var(--eb-elevation-1);
  margin: var(--eb-space-lg) 0;
}

.eb-blog-article__content ul,
.eb-blog-article__content ol {
  padding-left: var(--eb-space-lg);
  margin-bottom: var(--eb-space-lg);
}

.eb-blog-article__content ul {
  list-style: disc;
}

.eb-blog-article__content ol {
  list-style: decimal;
}

.eb-blog-article__content li {
  margin-bottom: var(--eb-space-sm);
  padding-left: var(--eb-space-sm);
}

.eb-blog-article__content blockquote {
  border-left: 4px solid var(--eb-primary);
  background: var(--eb-primary-light);
  padding: var(--eb-space-lg);
  margin: var(--eb-space-lg) 0;
  border-radius: 0 var(--eb-radius-md) var(--eb-radius-md) 0;
  font-style: italic;
  color: var(--eb-text);
}

.eb-blog-article__content blockquote p:last-child {
  margin-bottom: 0;
}

.eb-blog-article__content pre {
  background: var(--eb-secondary);
  color: #e5e7eb;
  padding: var(--eb-space-lg);
  border-radius: var(--eb-radius-md);
  overflow-x: auto;
  margin: var(--eb-space-lg) 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.eb-blog-article__content code {
  background: var(--eb-bg);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--eb-primary-dark);
}

.eb-blog-article__content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.eb-blog-article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--eb-space-lg) 0;
  font-size: 0.95rem;
}

.eb-blog-article__content th,
.eb-blog-article__content td {
  padding: var(--eb-space-md);
  border: 1px solid var(--eb-border);
  text-align: left;
}

.eb-blog-article__content th {
  background: var(--eb-bg);
  font-weight: 700;
}

.eb-blog-article__content hr {
  border: none;
  height: 2px;
  background: var(--eb-border);
  margin: var(--eb-space-2xl) 0;
}

/* ───────────────────────────────────────────────
   BLOG CTAs
   ─────────────────────────────────────────────── */
.eb-blog-cta {
  border-radius: var(--eb-radius-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.eb-blog-cta.eb-blog-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Inline CTA */
.eb-blog-cta--inline {
  background: linear-gradient(135deg, var(--eb-primary-light) 0%, var(--eb-accent-light) 100%);
  border: 1px solid rgba(60, 191, 138, 0.2);
  margin: var(--eb-space-2xl) 0;
}

.eb-blog-cta--inline .eb-blog-cta__inner {
  display: flex;
  align-items: center;
  gap: var(--eb-space-lg);
  padding: var(--eb-space-xl);
}

.eb-blog-cta--inline .eb-blog-cta__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--eb-white);
  border-radius: var(--eb-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--eb-elevation-1);
  color: var(--eb-primary);
}

.eb-blog-cta__text {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--eb-text);
  margin-bottom: var(--eb-space-md);
  line-height: 1.5;
}

.eb-blog-cta__btn {
  border-radius: 50px !important;
}

/* End CTA */
.eb-blog-cta--end {
  background: linear-gradient(135deg, var(--eb-secondary) 0%, #2a2a2a 100%);
  text-align: center;
}

.eb-blog-cta--end .eb-blog-cta__inner {
  padding: var(--eb-space-3xl) var(--eb-space-xl);
}

.eb-blog-cta__heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--eb-white);
  margin-bottom: var(--eb-space-md);
}

.eb-blog-cta__subtext {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--eb-space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Newsletter CTA — compact horizontal banner */
.eb-blog-cta--newsletter {
  background: var(--eb-white);
  border: 1px solid var(--eb-border);
  box-shadow: var(--eb-elevation-1);
  text-align: left;
}

.eb-blog-cta--newsletter .eb-blog-cta__inner {
  padding: var(--eb-space-lg) var(--eb-space-xl);
  display: flex;
  align-items: center;
  gap: var(--eb-space-xl);
  flex-wrap: wrap;
}

.eb-blog-cta--newsletter .eb-blog-cta__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--eb-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--eb-primary);
}

.eb-blog-cta--newsletter .eb-blog-cta__icon svg {
  width: 22px;
  height: 22px;
}

.eb-blog-cta--newsletter .eb-blog-cta__text-group {
  flex: 1;
  min-width: 200px;
}

.eb-blog-cta--newsletter .eb-blog-cta__heading {
  color: var(--eb-secondary);
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.eb-blog-cta--newsletter .eb-blog-cta__subtext {
  color: var(--eb-text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/* Newsletter Form */
.eb-blog-newsletter {
  max-width: 420px;
  margin: 0;
  flex-shrink: 0;
}

.eb-blog-newsletter__row {
  display: flex;
  gap: var(--eb-space-sm);
}

.eb-blog-newsletter__input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--eb-border);
  border-radius: 50px;
  font-family: var(--eb-font-body);
  font-size: 1rem;
  color: var(--eb-text);
  background: var(--eb-bg);
  outline: none;
  transition: border-color 0.3s;
}

.eb-blog-newsletter__input:focus {
  border-color: var(--eb-primary);
}

.eb-blog-newsletter__btn {
  border-radius: 50px;
  padding: 14px 28px;
  white-space: nowrap;
}

.eb-blog-newsletter__note {
  font-size: 0.8rem;
  color: var(--eb-text-light);
  margin-top: var(--eb-space-sm);
  transition: color 0.3s;
}

/* ───────────────────────────────────────────────
   RELATED POSTS
   ─────────────────────────────────────────────── */
.eb-blog-related {
  padding: var(--eb-space-3xl) 0;
  background: var(--eb-bg);
}

/* ───────────────────────────────────────────────
   BLOG RESPONSIVE
   ─────────────────────────────────────────────── */
@media (max-width: 992px) {
  .eb-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .eb-blog-article__layout {
    grid-template-columns: 1fr;
  }

  .eb-blog-toc {
    order: -1;
  }

  .eb-blog-toc__inner {
    position: static;
    margin-bottom: var(--eb-space-lg);
    padding: var(--eb-space-lg);
    background: var(--eb-bg);
    border-radius: var(--eb-radius-md);
    border: 1px solid var(--eb-border);
  }

  .eb-blog-toc__list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--eb-space-xs);
    border-left: none;
  }

  .eb-blog-toc__link {
    border-left: none;
    margin-left: 0;
    padding: 4px 12px;
    background: var(--eb-white);
    border-radius: 50px;
    border: 1px solid var(--eb-border);
    font-size: 0.8rem;
  }

  .eb-blog-toc__link--active {
    background: var(--eb-primary-light);
    border-color: var(--eb-primary);
  }

  .eb-blog-toc__item--sub {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .eb-blog-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .eb-blog-hero {
    padding-top: calc(var(--eb-header-height) + var(--eb-space-xl));
    padding-bottom: var(--eb-space-xl);
  }

  .eb-blog-filters {
    padding: var(--eb-space-md) 0;
  }

  .eb-blog-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: var(--eb-space-sm);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .eb-blog-pills::-webkit-scrollbar {
    display: none;
  }

  .eb-blog-cta--inline .eb-blog-cta__inner {
    flex-direction: column;
    text-align: center;
  }

  .eb-blog-article-hero__title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .eb-blog-newsletter__row {
    flex-direction: column;
  }

  .eb-blog-newsletter__btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .eb-blog-article-hero__meta {
    flex-direction: column;
    gap: var(--eb-space-sm);
  }

  .eb-blog-card__body {
    padding: var(--eb-space-md);
  }

  .eb-blog-cta--end .eb-blog-cta__inner,
  .eb-blog-cta--newsletter .eb-blog-cta__inner {
    padding: var(--eb-space-xl) var(--eb-space-md);
  }
}

/* ═══════════════════════════════════════════════════
   CONTACT FORM 7 — NEWSLETTER OVERRIDES
   Scoped to .eb-cf7-newsletter-wrap so other CF7 forms
   on the site are completely unaffected.
   ═══════════════════════════════════════════════════ */

/* Wrapper that sits in the flex row */
.eb-cf7-newsletter-wrap {
  flex-shrink: 0;
  max-width: 420px;
  width: 100%;
}

/* Strip CF7's default wrapper margin/padding */
.eb-cf7-newsletter-wrap .wpcf7 {
  margin: 0;
  padding: 0;
}

/* The <form> itself */
.eb-cf7-newsletter-wrap .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Row: input + button side by side */
.eb-cf7-newsletter-wrap .wpcf7-form .eb-cf7-row,
.eb-cf7-newsletter-wrap form > p:first-of-type {
  display: flex;
  gap: var(--eb-space-sm);
  align-items: center;
}

/* Email input */
.eb-cf7-newsletter-wrap .wpcf7-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--eb-border);
  border-radius: 50px;
  font-family: var(--eb-font-body);
  font-size: 1rem;
  color: var(--eb-text);
  background: var(--eb-bg);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
  appearance: none;
}

.eb-cf7-newsletter-wrap .wpcf7-form input[type="email"]:focus {
  border-color: var(--eb-primary);
  box-shadow: 0 0 0 4px rgba(60, 191, 138, 0.1);
}

.eb-cf7-newsletter-wrap .wpcf7-form input[type="email"]::placeholder {
  color: var(--eb-text-light);
}

/* Submit button */
.eb-cf7-newsletter-wrap .wpcf7-form input[type="submit"] {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--eb-primary) 0%, var(--eb-primary-dark) 100%);
  color: var(--eb-white);
  font-family: var(--eb-font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 15px rgba(60, 191, 138, 0.35);
  white-space: nowrap;
  appearance: none;
}

.eb-cf7-newsletter-wrap .wpcf7-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(60, 191, 138, 0.45);
}

/* Remove CF7's default <p> margins inside the form */
.eb-cf7-newsletter-wrap .wpcf7-form p {
  margin: 0;
}

/* "No spam" note — the second <p> inside the form */
.eb-cf7-newsletter-wrap .wpcf7-form p + p {
  font-size: 0.8rem;
  color: var(--eb-text-light);
  margin-top: var(--eb-space-sm);
}

/* Validation error messages */
.eb-cf7-newsletter-wrap .wpcf7-not-valid-tip {
  font-size: 0.8rem;
  color: #e53e3e;
  margin-top: 4px;
  display: block;
}

.eb-cf7-newsletter-wrap .wpcf7-form input[type="email"].wpcf7-not-valid {
  border-color: #e53e3e;
}

/* Success / error response output */
.eb-cf7-newsletter-wrap .wpcf7-response-output {
  margin-top: var(--eb-space-sm);
  padding: 8px 16px;
  border-radius: var(--eb-radius-sm);
  font-size: 0.85rem;
  border: 1px solid transparent;
}

.eb-cf7-newsletter-wrap .wpcf7-form.sent .wpcf7-response-output {
  background: var(--eb-primary-light);
  border-color: rgba(60, 191, 138, 0.3);
  color: var(--eb-primary-dark);
}

.eb-cf7-newsletter-wrap .wpcf7-form.failed .wpcf7-response-output,
.eb-cf7-newsletter-wrap .wpcf7-form.invalid .wpcf7-response-output {
  background: #fff5f5;
  border-color: #feb2b2;
  color: #c53030;
}

/* Hide the spinner CF7 adds during submission */
.eb-cf7-newsletter-wrap .wpcf7-spinner {
  display: none !important;
}

/* Responsive: stack icon/text/form vertically on small screens */
@media (max-width: 640px) {
  .eb-cf7-newsletter-wrap {
    max-width: 100%;
  }

  .eb-cf7-newsletter-wrap .wpcf7-form > p:first-of-type {
    flex-direction: column;
    align-items: stretch;
  }

  .eb-cf7-newsletter-wrap .wpcf7-form input[type="submit"] {
    width: 100%;
  }
}