/*
Theme Name: Kadence Child
Description: Effective Marketer Child Theme
Template: kadence
Version: 2.0.0
*/

:root {
  --red: #E11D2B;
  --red-dark: #B8161F;
  --red-glow: rgba(225,29,43,0.2);
  --red-subtle: rgba(225,29,43,0.06);
  --black: #0C0C0C;
  --black-light: #141414;
  --black-card: #1A1A1A;
  --white: #FFFFFF;
  --g100: #F7F7F7;
  --g200: #EBEBEB;
  --g300: #D4D4D4;
  --g500: #777777;
  --g600: #555555;
  --g700: #333333;
  --g800: #1F1F1F;
  --font: 'Manrope', sans-serif;
  --display: 'Bebas Neue', sans-serif;
}

/* ── RESET FOR CUSTOM PAGES ── */
.em-page * { box-sizing: border-box; margin: 0; padding: 0; }
.em-page { font-family: var(--font); background: var(--white); color: var(--black); overflow-x: hidden; }

/* Hide Kadence header/footer on custom pages */
.em-page-wrap .site-header,
.em-page-wrap .site-footer,
.em-page-wrap .entry-header,
.em-page-wrap .entry-footer,
.em-page-wrap .kadence-breadcrumbs { display: none !important; }
.em-page-wrap .content-wrap { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
.em-page-wrap .site-main { padding: 0 !important; }

/* ── UTILITY ── */
.em-red { color: var(--red); }
.em-muted { color: var(--g500); }
.em-white { color: var(--white); }
.em-text-center { text-align: center; }
.em-z1 { position: relative; z-index: 1; }
.em-sec-tag { font-size: 11px; font-weight: 800; color: var(--red); letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--font); margin-bottom: 12px; }
.em-display-title { font-family: var(--display); font-size: clamp(32px, 4.5vw, 48px); line-height: 1.05; margin: 0 0 8px 0; }
.em-sec-desc { font-family: var(--font); font-size: 15px; color: var(--g600); line-height: 1.7; margin: 0 0 48px 0; max-width: 620px; font-weight: 400; }
.em-sec-desc-center { margin-left: auto; margin-right: auto; }
.em-desc-light { color: var(--g500); font-weight: 450; max-width: 580px; font-size: 14px; }
.em-section-narrow { max-width: 900px; margin: 0 auto; }
.em-section-narrow-md { max-width: 800px; margin: 0 auto; }
.em-section-narrow-sm { max-width: 720px; margin: 0 auto; }

/* ── ANIMATION ── */
.em-anim { opacity: 0; transform: translateY(28px); transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1); }
.em-anim.em-anim-visible { opacity: 1; transform: translateY(0); }

/* ── NAV ── */
.em-nav {
  position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; z-index: 99999 !important;
  display: flex !important; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px,5vw,80px); height: 64px;
  background: transparent; backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: all 0.4s;
  width: 100% !important; box-sizing: border-box;
}
.em-nav.em-nav-scrolled {
  background: rgba(12,12,12,0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(255,255,255,0.05);
}
.em-nav-logo { font-family: var(--display); font-size: 22px; color: var(--white); text-decoration: none; letter-spacing: 0.06em; }
.em-nav-logo-red { color: var(--red); }
.em-nav-links { display: flex; gap: 28px; list-style: none; }
.em-nav-links a { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.55); text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--font); transition: color 0.2s; }
.em-nav-links a:hover { color: var(--white); }
.em-nav-cta { display: inline-block; padding: 9px 24px; background: var(--red); color: var(--white); font-size: 12px; font-weight: 700; font-family: var(--font); border-radius: 6px; text-decoration: none; letter-spacing: 0.03em; box-shadow: 0 2px 16px var(--red-glow); transition: background 0.2s; }
.em-nav-cta:hover { background: var(--red-dark); }

/* ── HERO ── */
.em-hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(160deg, var(--black) 0%, #111 40%, var(--black) 100%);
  position: relative; overflow: hidden;
  padding: 100px clamp(20px,5vw,80px) 0;
}
.em-hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(225,29,43,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(225,29,43,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.em-hero-glow {
  position: absolute; top: -10%; right: 5%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(225,29,43,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.em-hero-inner {
  position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: stretch; gap: 20px; flex-wrap: wrap;
}
.em-hero-text { flex: 1 1 420px; padding-bottom: 60px; display: flex; flex-direction: column; justify-content: center; }
.em-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; background: rgba(225,29,43,0.08);
  border: 1px solid rgba(225,29,43,0.2); border-radius: 100px; margin-bottom: 28px;
}
.em-hero-badge span { font-size: 11px; font-weight: 700; color: var(--red); font-family: var(--font); letter-spacing: 0.08em; text-transform: uppercase; }
.em-hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 8px var(--red); animation: emPulse 2s infinite;
}
.em-hero-title {
  font-family: var(--display); font-size: clamp(38px, 5.5vw, 70px); font-weight: 400;
  color: var(--white); line-height: 1.0; margin: 0 0 24px 0; letter-spacing: 0.01em;
}
.em-hero-desc {
  font-family: var(--font); font-size: 15px; color: var(--g500); line-height: 1.7;
  margin: 0 0 32px 0; max-width: 520px; font-weight: 400;
}
.em-hero-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 36px; }
.em-btn-red-glow {
  display: inline-block; padding: 14px 28px; background: var(--red); color: var(--white);
  font-size: 13px; font-weight: 700; font-family: var(--font); border-radius: 8px;
  text-decoration: none; box-shadow: 0 4px 30px var(--red-glow); transition: background 0.2s;
}
.em-btn-red-glow:hover { background: var(--red-dark); }
.em-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 20px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1); color: var(--g300);
  font-size: 12px; font-weight: 600; font-family: var(--font); border-radius: 8px;
  text-decoration: none; transition: border-color 0.2s;
}
.em-btn-ghost:hover { border-color: rgba(255,255,255,0.25); }
.em-btn-ghost-play {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: var(--red); font-size: 9px; color: var(--white);
}
.em-hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.em-hero-stat { display: flex; align-items: baseline; gap: 8px; }
.em-hero-stat-num { font-family: var(--display); font-size: 26px; color: var(--red); line-height: 1; }
.em-hero-stat-label { font-size: 10px; color: var(--g500); font-family: var(--font); font-weight: 500; letter-spacing: 0.02em; }

/* Hero photo */
.em-hero-photo-wrap {
  flex: 0 1 480px; position: relative; align-self: flex-end;
  display: flex; justify-content: center; min-height: 520px;
}
.em-hero-photo-glow {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(225,29,43,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.em-hero-photo-frame {
  position: relative; z-index: 1; width: 100%; max-width: 480px;
  display: flex; align-items: flex-end;
}
.em-hero-photo-border { display: none; }
.em-hero-photo-img {
  display: block; width: 100%; height: auto; max-height: 85vh;
  object-fit: contain; object-position: bottom center;
}
.em-hero-photo-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 100px;
  background: linear-gradient(to top, var(--black) 0%, transparent 100%);
  pointer-events: none;
}
.em-hero-photo-info {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  z-index: 2;
}
.em-hero-photo-name { font-size: 14px; font-weight: 700; color: var(--white); font-family: var(--font); }
.em-hero-photo-sep { font-size: 12px; color: rgba(255,255,255,0.15); }
.em-hero-photo-role { font-size: 11px; color: var(--red); font-family: var(--font); font-weight: 600; letter-spacing: 0.03em; }

/* ── PROBLEM ── */
.em-problem { padding: 100px clamp(20px,5vw,80px); background: var(--white); }
.em-problem-inner {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: center;
}
.em-problem-left { min-width: 0; }
.em-problem-list { display: flex; flex-direction: column; gap: 10px; }
.em-problem-card {
  display: flex; gap: 14px; padding: 16px 20px; background: var(--g100);
  border-radius: 10px; border: 1px solid var(--g200); align-items: center;
  transition: border-color 0.25s;
}
.em-problem-card:hover { border-color: var(--red); }
.em-problem-icon {
  font-size: 20px; flex-shrink: 0; width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border-radius: 10px; border: 1px solid var(--g200);
}
.em-problem-title { font-size: 14px; font-weight: 700; color: var(--black); font-family: var(--font); }

/* Problem image */
.em-problem-right { min-width: 0; display: flex; align-items: center; justify-content: center; }
.em-problem-img-wrap {
  position: relative; border-radius: 16px; overflow: hidden;
  background: var(--white); border: 1px solid var(--g200);
  box-shadow: 0 24px 80px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.02);
  padding: 12px;
}
.em-problem-img { width: 100%; height: auto; display: block; border-radius: 10px; }
.em-problem-img-caption {
  margin-top: 12px; font-size: 11px; color: var(--g500); font-family: var(--font);
  font-weight: 600; text-align: center; letter-spacing: 0.02em;
}

/* ── THREE LAYERS ── */
.em-layers { padding: 100px clamp(20px,5vw,80px); background: var(--black); position: relative; overflow: hidden; }
.em-layers-bg-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(225,29,43,0.04) 0%, transparent 60%); pointer-events: none;
}
.em-layers-timeline { position: relative; padding-left: 40px; }
.em-layers-line {
  position: absolute; left: 15px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(to bottom, var(--red), #7C3AED, #2563EB, #059669);
  border-radius: 2px; opacity: 0.5;
}
.em-layer-item { display: flex; gap: 20px; margin-bottom: 20px; align-items: flex-start; }
.em-layer-item:last-child { margin-bottom: 0; }
.em-layer-dot {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--black-card); border: 2px solid;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; font-family: var(--font);
  position: relative; z-index: 1;
}
.em-layer-card {
  flex: 1; padding: 24px; background: rgba(255,255,255,0.025);
  border-radius: 12px; border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid;
}
.em-layer-head { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.em-layer-label { font-size: 14px; font-weight: 700; color: var(--white); font-family: var(--font); }
.em-layer-time {
  padding: 3px 10px; border-radius: 100px; font-size: 10px; font-weight: 700; font-family: var(--font);
  border: 1px solid;
}
.em-layer-desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.65; font-family: var(--font); font-weight: 400; }
.em-layers-note {
  margin-top: 36px; padding: 16px 24px; background: rgba(225,29,43,0.06);
  border: 1px solid rgba(225,29,43,0.15); border-radius: 10px;
  display: flex; align-items: center; gap: 12px;
}
.em-layers-note-icon { font-size: 18px; }
.em-layers-note-text { font-size: 13px; color: rgba(255,255,255,0.7); font-family: var(--font); font-weight: 500; line-height: 1.5; }
.em-layers-note-text strong { color: var(--white); }

/* ── AI ENGINE ── */
.em-aiengine { padding: 100px clamp(20px,5vw,80px); background: var(--white); }
.em-aiengine-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.em-aiengine-card {
  padding: 28px; background: var(--g100); border-radius: 14px;
  border: 1px solid var(--g200); height: 100%; border-top: 3px solid var(--red);
}
.em-aiengine-icon { font-size: 28px; margin-bottom: 14px; }
.em-aiengine-name { font-size: 16px; font-weight: 700; color: var(--black); font-family: var(--font); margin-bottom: 8px; }
.em-aiengine-desc { font-size: 13px; color: var(--g600); line-height: 1.65; font-family: var(--font); font-weight: 450; }

/* ── HOW IT WORKS ── */
.em-howitworks { padding: 100px clamp(20px,5vw,80px); background: var(--g100); border-top: 1px solid var(--g200); border-bottom: 1px solid var(--g200); }
.em-howitworks-list { display: flex; flex-direction: column; gap: 20px; }
.em-step-card {
  display: flex; gap: 24px; padding: 32px; background: var(--white);
  border-radius: 14px; border: 1px solid var(--g200); align-items: flex-start;
  position: relative; overflow: hidden;
}
.em-step-bar { position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: var(--red); }
.em-step-num { font-family: var(--display); font-size: 40px; color: var(--red); line-height: 1; opacity: 0.25; flex-shrink: 0; width: 52px; }
.em-step-body { flex: 1; }
.em-step-title { font-size: 18px; font-weight: 700; color: var(--black); font-family: var(--font); margin-bottom: 8px; }
.em-step-desc { font-size: 13px; color: var(--g600); line-height: 1.7; font-family: var(--font); font-weight: 450; margin-bottom: 10px; }
.em-step-detail { font-size: 11px; font-weight: 700; color: var(--red); font-family: var(--font); }

/* ── DASHBOARD ── */
.em-dashboard { padding: 80px clamp(20px,5vw,80px); background: var(--black); position: relative; overflow: hidden; }
.em-dashboard-bg-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(225,29,43,0.05) 0%, transparent 60%);
}
.em-dashboard-header { text-align: center; margin-bottom: 32px; }
.em-dashboard-window {
  background: #0D0F1A; border-radius: 16px; border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden; box-shadow: 0 0 60px rgba(0,0,0,0.5), 0 0 30px var(--red-glow);
}
.em-dashboard-bar {
  padding: 12px 16px; background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; gap: 6px; align-items: center;
}
.em-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.em-dashboard-bar-text { margin-left: 12px; font-size: 11px; color: var(--g500); font-family: var(--font); }
.em-dashboard-body { display: flex; }
.em-dashboard-sidebar {
  width: 180px; padding: 16px 12px; border-right: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 4px; flex-shrink: 0;
}
.em-dashboard-sidebar-title { font-size: 13px; font-weight: 700; color: var(--red); font-family: var(--font); margin-bottom: 12px; }
.em-dashboard-nav-item { padding: 7px 10px; border-radius: 6px; font-size: 11px; font-family: var(--font); color: var(--g500); font-weight: 400; }
.em-dashboard-nav-active { color: var(--white) !important; font-weight: 600 !important; background: rgba(225,29,43,0.15); }
.em-dashboard-main { flex: 1; padding: 20px; }
.em-dashboard-main-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.em-dashboard-main-title { font-size: 14px; font-weight: 700; color: var(--white); font-family: var(--font); }
.em-dashboard-refresh { padding: 5px 12px; background: var(--red); border-radius: 6px; font-size: 10px; font-weight: 700; color: var(--white); font-family: var(--font); }
.em-dashboard-table { border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); }
.em-dashboard-table-head {
  display: grid; grid-template-columns: 1fr 80px;
  padding: 8px 14px; background: rgba(255,255,255,0.03);
  font-size: 10px; font-weight: 700; color: var(--red); font-family: var(--font); letter-spacing: 0.04em;
}
.em-dashboard-table-head span:last-child { text-align: right; }
.em-dashboard-row {
  display: grid; grid-template-columns: 1fr 80px;
  padding: 10px 14px; border-top: 1px solid rgba(255,255,255,0.04);
}
.em-dashboard-row span:first-child { font-size: 11px; color: rgba(255,255,255,0.7); font-family: var(--font); }
.em-dashboard-row span:last-child { font-size: 12px; font-weight: 700; font-family: var(--font); text-align: right; }
.em-dashboard-row-alt { background: rgba(255,255,255,0.015); }
.em-pos-good { color: #22C55E; }
.em-pos-ok { color: #FBBF24; }
.em-dashboard-note { text-align: center; font-size: 12px; color: var(--g500); font-family: var(--font); margin-top: 16px; font-weight: 500; }

/* ── WHAT YOU GET ── */
.em-whatyouget { padding: 100px clamp(20px,5vw,80px); background: var(--g100); border-top: 1px solid var(--g200); }
.em-wyg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.em-wyg-card {
  padding: 24px; background: var(--white); border-radius: 12px;
  border: 1px solid var(--g200); height: 100%; transition: border-color 0.3s;
}
.em-wyg-card:hover { border-color: var(--red); }
.em-wyg-icon { font-size: 24px; margin-bottom: 12px; }
.em-wyg-name { font-size: 14px; font-weight: 700; color: var(--black); font-family: var(--font); margin-bottom: 6px; }
.em-wyg-desc { font-size: 12px; color: var(--g600); line-height: 1.6; font-family: var(--font); font-weight: 450; }

/* Mid CTA */
.em-mid-cta {
  margin-top: 48px; text-align: center; padding: 36px 32px;
  background: var(--black); border-radius: 16px;
  box-shadow: 0 0 40px rgba(0,0,0,0.15);
  position: relative; overflow: hidden;
}
.em-mid-cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(225,29,43,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.em-mid-cta-title { font-family: var(--display); font-size: clamp(22px,3vw,32px); color: var(--white); margin: 0 0 8px 0; line-height: 1.1; }
.em-mid-cta-desc { font-family: var(--font); font-size: 13px; color: var(--g500); margin: 0 0 24px 0; font-weight: 450; line-height: 1.6; }

/* ── TESTIMONIALS ── */
.em-testimonials { padding: 100px clamp(20px,5vw,80px); background: var(--white); }
.em-testimonials-list { display: flex; flex-direction: column; gap: 20px; }
.em-testimonial-card { padding: 32px; background: var(--g100); border-radius: 14px; border: 1px solid var(--g200); }
.em-testimonial-quote { font-family: Georgia, serif; font-size: 48px; color: var(--red); line-height: 1; margin-bottom: 8px; opacity: 0.4; }
.em-testimonial-text { font-family: var(--font); font-size: 14px; color: var(--g600); line-height: 1.75; font-style: italic; font-weight: 450; margin: 0 0 20px 0; }
.em-testimonial-footer { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.em-testimonial-author { font-size: 14px; font-weight: 700; color: var(--black); font-family: var(--font); }
.em-testimonial-company { font-size: 12px; color: var(--g500); font-family: var(--font); }
.em-testimonial-result {
  padding: 5px 14px; background: var(--red-subtle); border: 1px solid rgba(225,29,43,0.12);
  border-radius: 100px; font-size: 11px; font-weight: 700; color: var(--red); font-family: var(--font);
}

/* ── ABOUT ── */
.em-about { padding: 100px clamp(20px,5vw,80px); background: var(--black); position: relative; }
.em-about-glow {
  position: absolute; top: 0; right: 0; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(225,29,43,0.06) 0%, transparent 70%); pointer-events: none;
}
.em-about-text { font-family: var(--font); font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.75; font-weight: 450; margin: 0 0 16px 0; }
.em-about-tags { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.em-about-tag {
  padding: 6px 14px; background: rgba(225,29,43,0.08); border: 1px solid rgba(225,29,43,0.18);
  border-radius: 100px; font-size: 11px; font-weight: 700; color: var(--red); font-family: var(--font);
}

/* ── FAQ ── */
.em-faq { padding: 100px clamp(20px,5vw,80px); background: var(--g100); }
.em-faq-list { display: flex; flex-direction: column; gap: 8px; }
.em-faq-item {
  background: var(--white); border-radius: 12px;
  border: 1px solid var(--g200); overflow: hidden; transition: border-color 0.3s;
}
.em-faq-item.em-faq-open { border-color: rgba(225,29,43,0.2); }
.em-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; gap: 16px; width: 100%; background: none; border: none;
  cursor: pointer; font-family: var(--font); text-align: left;
}
.em-faq-q span:first-child { font-size: 14px; font-weight: 600; color: var(--black); }
.em-faq-plus { font-size: 18px; color: var(--red); font-weight: 300; flex-shrink: 0; transition: transform 0.3s; }
.em-faq-open .em-faq-plus { transform: rotate(45deg); }
.em-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.em-faq-open .em-faq-a { max-height: 300px; }
.em-faq-a p { padding: 0 24px 20px; font-size: 13px; color: var(--g600); font-family: var(--font); line-height: 1.7; font-weight: 450; margin: 0; }

/* ── FINAL CTA ── */
.em-final-cta {
  padding: 100px clamp(20px,5vw,80px); background: var(--black); text-align: center;
  position: relative; overflow: hidden;
}
.em-final-cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(225,29,43,0.1) 0%, transparent 60%); pointer-events: none;
}
.em-final-cta-inner { max-width: 620px; margin: 0 auto; position: relative; z-index: 1; }
.em-final-cta-title { font-family: var(--display); font-size: clamp(36px,5vw,56px); color: var(--white); line-height: 1.05; margin: 0 0 16px 0; }
.em-final-cta-title span { color: var(--red); }
.em-final-cta-text { font-family: var(--font); font-size: 15px; color: var(--g500); line-height: 1.7; margin: 0 0 36px 0; font-weight: 450; }
.em-final-cta .em-btn-red-glow { padding: 16px 40px; font-size: 15px; border-radius: 10px; box-shadow: 0 4px 40px var(--red-glow), 0 0 80px rgba(225,29,43,0.08); }
.em-final-cta-checks { display: flex; justify-content: center; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
.em-final-cta-checks span { font-size: 11px; color: var(--g500); font-family: var(--font); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.em-final-cta-checks i { color: var(--red); font-size: 12px; font-style: normal; }

/* ── FOOTER ── */
.em-footer {
  padding: 32px clamp(20px,5vw,80px); background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.em-footer-logo { font-family: var(--display); font-size: 18px; color: var(--white); letter-spacing: 0.06em; }
.em-footer-logo-red { color: var(--red); }
.em-footer-right { display: flex; gap: 24px; align-items: center; }
.em-footer-email { font-size: 12px; color: var(--g500); font-family: var(--font); }
.em-footer-copy { font-size: 11px; color: var(--g700); font-family: var(--font); }

/* ── MOBILE NAV TOGGLE ── */
.em-nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; z-index: 1001; }
.em-nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.em-nav.em-nav-open .em-nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.em-nav.em-nav-open .em-nav-toggle span:nth-child(2) { opacity: 0; }
.em-nav.em-nav-open .em-nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── SINGLE POST ── */
.em-post-page * { box-sizing: border-box; }
.em-post-page { font-family: var(--font); background: var(--white); color: var(--black); overflow-x: hidden; }
.em-post-page-wrap .site-header,
.em-post-page-wrap .site-footer,
.em-post-page-wrap #site-header,
.em-post-page-wrap #colophon,
.em-post-page-wrap .entry-header,
.em-post-page-wrap .entry-footer,
.em-post-page-wrap .post-navigation,
.em-post-page-wrap .kadence-breadcrumbs { display: none !important; }
.em-post-page-wrap .content-wrap,
.em-post-page-wrap .site-main,
.em-post-page-wrap .wp-block-post-content,
.em-post-page-wrap .site-container { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
.em-post-page-wrap .hentry { margin: 0 !important; }

.em-post-header { padding: 100px 80px 0 !important; background: var(--white) !important; }
.em-post-header-inner { max-width: 780px; }
.em-post-cats { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.em-post-cat { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); background: var(--red); padding: 5px 14px; border-radius: 3px; text-decoration: none; transition: background 0.2s; }
.em-post-cat:hover { background: var(--red-dark); }
.em-post-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 900; line-height: 1.2; letter-spacing: -0.02em; color: var(--black); margin-bottom: 20px; }

.em-post-meta-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--g200); margin-bottom: 28px; }
.em-post-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.em-post-meta-item { font-size: 0.82rem; color: var(--g500); font-weight: 400; }
.em-post-meta-item strong { color: var(--black); font-weight: 700; }
.em-post-meta-sep { color: var(--g200); font-size: 0.7rem; }

.em-share-inline { display: flex; align-items: center; gap: 8px; }
.em-share-label { font-size: 0.8rem; color: var(--g500); font-weight: 500; }
.em-share-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; text-decoration: none; color: var(--white); transition: opacity 0.2s; }
.em-share-icon:hover { opacity: 0.8; }
.em-share-icon.em-share-fb { background: #1877F2; }
.em-share-icon.em-share-x { background: var(--black); }
.em-share-icon.em-share-li { background: #0A66C2; }
.em-share-icon.em-share-wa { background: #25D366; }

.em-post-image-wrap { width: 100%; overflow: hidden; border-radius: 6px; }
.em-post-image { width: 100%; height: auto; display: block; }

/* Post Body - Two Column */
.em-post-body { display: grid; grid-template-columns: 1fr 320px; gap: 48px; max-width: 1200px; margin: 0 auto; padding: 48px 80px 80px; align-items: start; }

/* Sidebar */
.em-sidebar { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 24px; }

/* Author Card */
.em-author-card { background: var(--g100); padding: 32px 24px; text-align: center; }
.em-author-card-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 900; color: white; margin: 0 auto 16px; }
.em-author-card-name { font-size: 0.88rem; font-weight: 900; letter-spacing: 0.06em; color: var(--black); margin-bottom: 10px; }
.em-author-card-bio { font-size: 0.8rem; color: var(--g500); line-height: 1.65; margin: 0; }

/* Table of Contents */
.em-toc { background: var(--g100); padding: 24px; }
.em-toc-title { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; display: block; }
.em-toc-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.em-toc-list a { font-size: 0.8rem; color: #555; text-decoration: none; padding: 5px 10px; display: block; border-left: 2px solid transparent; transition: color 0.2s, border-color 0.2s; line-height: 1.4; font-weight: 400; }
.em-toc-list a:hover, .em-toc-list a.active { color: var(--black); border-left-color: var(--red); font-weight: 600; }

/* Article Content Typography (shared with page.php) */
.em-post-content { min-width: 0; }
.em-post-content p { font-size: 1.02rem; line-height: 1.85; color: #333; margin-bottom: 22px; font-weight: 400; }
.em-post-content h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 900; letter-spacing: -0.03em; color: var(--black); margin: 44px 0 16px; line-height: 1.15; }
.em-post-content h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--black); margin: 32px 0 12px; }
.em-post-content h4 { font-size: 1.02rem; font-weight: 700; color: var(--black); margin: 24px 0 10px; }
.em-post-content ul, .em-post-content ol { margin: 0 0 22px 22px; }
.em-post-content li { font-size: 1.02rem; line-height: 1.8; color: #333; margin-bottom: 6px; }
.em-post-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; transition: opacity 0.2s; }
.em-post-content a:hover { opacity: 0.75; }
.em-post-content blockquote { border-left: 4px solid var(--red); background: var(--g100); padding: 24px 28px; margin: 28px 0; font-size: 1.05rem; font-style: italic; color: #444; line-height: 1.7; }
.em-post-content blockquote p { margin: 0; font-size: inherit; color: inherit; }
.em-post-content img { width: 100%; height: auto; display: block; margin: 28px 0; }
.em-post-content pre { background: var(--black); color: var(--g100); padding: 24px; overflow-x: auto; font-size: 0.86rem; line-height: 1.6; margin: 28px 0; border-radius: 4px; }
.em-post-content code { background: var(--g100); padding: 2px 7px; font-size: 0.86em; border-radius: 3px; font-family: monospace; }
.em-post-content pre code { background: none; padding: 0; color: inherit; }
.em-post-content table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 0.9rem; }
.em-post-content th { background: var(--black); color: var(--white); padding: 12px 16px; text-align: left; font-weight: 700; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; }
.em-post-content td { padding: 12px 16px; border-bottom: 1px solid var(--g200); color: #444; }
.em-post-content tr:hover td { background: #f9f9f9; }
.em-post-content hr { border: none; border-top: 1px solid var(--g200); margin: 40px 0; }

.em-post-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--g200); }
.em-post-tags-label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--g500); }
.em-post-tag { font-size: 0.78rem; font-weight: 600; color: #555; background: var(--g100); padding: 5px 12px; border-radius: 100px; text-decoration: none; transition: background 0.2s, color 0.2s; }
.em-post-tag:hover { background: var(--red); color: var(--white); }

/* Related Posts */
.em-related { background: var(--g100); padding: 80px 80px; }
.em-related-tag { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; display: block; }
.em-related-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.04em; text-transform: uppercase; margin-bottom: 44px; }
.em-related-title em { font-style: normal; color: var(--red); }
.em-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.em-related-card { background: var(--white); text-decoration: none; display: block; transition: transform 0.2s; }
.em-related-card:hover { transform: translateY(-4px); }
.em-related-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: var(--g200); }
.em-related-img-placeholder { width: 100%; aspect-ratio: 16/9; background: var(--black); display: flex; align-items: center; justify-content: center; }
.em-related-img-placeholder span { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.2); }
.em-related-info { padding: 22px; }
.em-related-cat { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; display: block; }
.em-related-name { font-size: 0.95rem; font-weight: 800; color: var(--black); line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 8px; }
.em-related-date { font-size: 0.76rem; color: #aaa; }

/* ── BLOG ARCHIVE / ARCHIVE / SEARCH ── */
.em-archive-page * { box-sizing: border-box; margin: 0; padding: 0; }
.em-archive-page { font-family: var(--font); background: var(--white); color: var(--black); overflow-x: hidden; }
.em-archive-wrap .site-header,
.em-archive-wrap .site-footer,
.em-archive-wrap #site-header,
.em-archive-wrap #colophon,
.em-archive-wrap .entry-header,
.em-archive-wrap .entry-footer,
.em-archive-wrap .post-navigation,
.em-archive-wrap .kadence-breadcrumbs { display: none !important; }
.em-archive-wrap .content-wrap,
.em-archive-wrap .site-main,
.em-archive-wrap .wp-block-post-content,
.em-archive-wrap .site-container { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
.em-archive-wrap .hentry { margin: 0 !important; }

/* Archive Hero (used by archive.php, search.php) */
.em-archive-hero {
  padding: 140px 80px 70px;
  background: linear-gradient(160deg, var(--black) 0%, #111 40%, var(--black) 100%);
  text-align: center;
}
.em-archive-hero-tag { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 20px; display: block; }
.em-archive-hero-title { font-size: clamp(2.6rem, 6vw, 5.5rem); font-weight: 900; color: var(--white); line-height: 1.0; letter-spacing: -0.04em; margin-bottom: 18px; }
.em-archive-hero-title em { font-style: normal; color: var(--red); }
.em-archive-hero-sub { font-size: 0.95rem; color: rgba(255,255,255,0.4); font-weight: 300; max-width: 520px; margin: 0 auto; }

/* Archive Grid (used by archive.php, search.php) */
.em-archive-grid-wrap { padding: 80px 80px 100px; }
.em-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1200px; margin: 0 auto; }

/* Featured Posts Mosaic */
.em-fg {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 340px 220px;
  gap: 3px; padding-top: 68px;
}
.em-fg-item {
  position: relative;
  background: linear-gradient(135deg, #1c0000 0%, #0a0a0a 100%) center/cover no-repeat;
  display: flex; align-items: flex-end; text-decoration: none; overflow: hidden;
  transition: transform 0.3s;
}
.em-fg-item:hover { transform: scale(1.005); }
.em-fg-1 { grid-row: 1 / 3; }
.em-fg-2 { grid-row: 1 / 2; grid-column: 2 / 3; }
.em-fg-3 { grid-row: 2 / 3; grid-column: 2 / 3; }
.em-fg-overlay { position: relative; z-index: 1; width: 100%; padding: 28px 24px; background: linear-gradient(0deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0) 100%); }
.em-fg-cat { display: inline-block; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white); background: var(--red); padding: 4px 10px; border-radius: 2px; margin-bottom: 10px; }
.em-fg-title { font-size: 1.15rem; font-weight: 800; color: var(--white); line-height: 1.3; letter-spacing: -0.01em; }
.em-fg-1 .em-fg-title { font-size: 1.6rem; line-height: 1.2; }
.em-fg-meta { font-size: 0.76rem; color: rgba(255,255,255,0.55); margin-top: 8px; }

/* Blog Featured Card (first post in main column) */
.em-blog-featured-card { display: block; text-decoration: none; margin-bottom: 28px; border-bottom: 1px solid var(--g200); padding-bottom: 28px; }
.em-blog-featured-card:hover .em-blog-fc-title { color: var(--red); }
.em-blog-fc-img { position: relative; width: 100%; overflow: hidden; margin-bottom: 20px; }
.em-blog-fc-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.em-blog-fc-ph { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, #1c0000 0%, #0a0a0a 100%); display: flex; align-items: center; justify-content: center; }
.em-blog-fc-ph span { font-size: 0.75rem; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.2); }
.em-blog-fc-cat { position: absolute; top: 14px; left: 14px; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--white); background: var(--red); padding: 5px 12px; border-radius: 2px; }
.em-blog-fc-title { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 900; color: var(--black); line-height: 1.25; letter-spacing: -0.03em; margin-bottom: 12px; transition: color 0.2s; }
.em-blog-fc-excerpt { font-size: 0.9rem; color: #666; line-height: 1.75; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.em-blog-fc-meta { font-size: 0.78rem; color: #aaa; }

/* List post image wrapper */
.em-list-post-img-wrap { flex-shrink: 0; width: 110px; height: 78px; overflow: hidden; }
.em-list-post-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.em-list-post-cat { display: block; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 5px; }

/* Category Tabs */
.em-cat-tabs { display: flex; align-items: center; gap: 0; border-bottom: 1px solid var(--g200); padding: 0 80px; }
.em-cat-tabs-label { font-size: 0.68rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); background: var(--red); padding: 14px 20px; flex-shrink: 0; }
.em-cat-tabs-list { display: flex; gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.em-cat-tab { font-size: 0.82rem; font-weight: 600; color: var(--g500); text-decoration: none; padding: 14px 20px; white-space: nowrap; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.em-cat-tab:hover, .em-cat-tab-active { color: var(--black); border-bottom-color: var(--red); }

/* Blog Two-Column Layout */
.em-blog-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; max-width: 1200px; margin: 0 auto; padding: 48px 80px 80px; align-items: start; }
.em-blog-main { display: flex; flex-direction: column; gap: 0; }

/* Cards */
.em-card { background: var(--white); border: 1px solid var(--g200); text-decoration: none; display: block; transition: transform 0.2s, box-shadow 0.2s; }
.em-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.em-card-large { margin-bottom: 32px; }
.em-card-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: var(--g200); }
.em-card-img-placeholder { width: 100%; aspect-ratio: 16/9; background: var(--black); display: flex; align-items: center; justify-content: center; }
.em-card-img-placeholder span { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.2); }
.em-card-body { padding: 24px; }
.em-card-cat { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; display: block; }
.em-card-title { font-size: 1.1rem; font-weight: 800; color: var(--black); line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 10px; }
.em-card-excerpt { font-size: 0.85rem; color: var(--g500); line-height: 1.7; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.em-card-meta { font-size: 0.76rem; color: #aaa; display: flex; align-items: center; gap: 14px; }

/* List Posts (compact horizontal items) */
.em-list-post { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--g200); text-decoration: none; transition: background 0.2s; }
.em-list-post:hover { background: var(--g100); }
.em-list-post-img { width: 100px; height: 72px; object-fit: cover; flex-shrink: 0; background: var(--g200); display: block; }
.em-list-post-img-ph { width: 100px; height: 72px; flex-shrink: 0; background: var(--black); display: flex; align-items: center; justify-content: center; }
.em-list-post-img-ph span { font-size: 0.6rem; font-weight: 900; color: rgba(255,255,255,0.15); letter-spacing: 0.1em; }
.em-list-post-info { min-width: 0; }
.em-list-post-title { font-size: 0.92rem; font-weight: 700; color: var(--black); line-height: 1.35; letter-spacing: -0.01em; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.em-list-post-meta { font-size: 0.74rem; color: #aaa; }

/* Blog Sidebar */
.em-blog-sidebar { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 28px; }

/* Sidebar Widgets (shared blog + single) */
.em-sidebar-widget { background: var(--white); border: 1px solid var(--g200); overflow: hidden; }
.em-sidebar-widget-head { font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); background: var(--black); padding: 12px 20px; }

/* Social Widget */
.em-social-widget { display: flex; flex-direction: column; }
.em-social-row { display: flex; align-items: center; gap: 12px; padding: 14px 20px; text-decoration: none; border-bottom: 1px solid var(--g200); transition: background 0.2s; }
.em-social-row:last-child { border-bottom: none; }
.em-social-row:hover { background: var(--g100); }
.em-social-icon { width: 36px; height: 36px; border-radius: 4px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--white); font-size: 0.72rem; font-weight: 900; }
.em-social-icon svg { color: var(--white); }
.em-social-email { background: var(--red); }
.em-social-x { background: var(--black); }
.em-social-li { background: #0A66C2; }
.em-social-label { font-size: 0.84rem; font-weight: 600; color: var(--black); flex: 1; }
.em-social-action { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); }

/* Popular Posts Widget (shared blog + single) */
.em-popular-posts { display: flex; flex-direction: column; }
.em-pop-post { display: flex; gap: 14px; align-items: center; padding: 14px 18px; text-decoration: none; border-bottom: 1px solid var(--g200); transition: background 0.2s; }
.em-pop-post:last-child { border-bottom: none; }
.em-pop-post:hover { background: var(--g100); }
.em-pop-post-img { width: 72px; height: 56px; object-fit: cover; flex-shrink: 0; background: var(--g200); display: block; }
.em-pop-post-img-ph { width: 72px; height: 56px; flex-shrink: 0; background: var(--black); display: flex; align-items: center; justify-content: center; }
.em-pop-post-img-ph span { font-size: 0.55rem; font-weight: 900; color: rgba(255,255,255,0.15); letter-spacing: 0.1em; }
.em-pop-post-info { min-width: 0; }
.em-pop-post-title { font-size: 0.84rem; font-weight: 700; color: var(--black); line-height: 1.35; margin-bottom: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.em-pop-post-date { font-size: 0.72rem; color: #aaa; }

/* Categories Widget */
.em-cat-widget { display: flex; flex-direction: column; }
.em-cat-widget-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; text-decoration: none; border-bottom: 1px solid var(--g200); transition: background 0.2s; }
.em-cat-widget-row:last-child { border-bottom: none; }
.em-cat-widget-row:hover { background: var(--g100); }
.em-cat-widget-name { font-size: 0.84rem; font-weight: 600; color: var(--black); }
.em-cat-widget-count { font-size: 0.72rem; font-weight: 800; background: var(--g200); color: var(--g500); padding: 2px 8px; border-radius: 100px; }

/* Pagination */
.em-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--g200); }
.em-pagination a,
.em-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; font-size: 0.82rem; font-weight: 700; text-decoration: none; border: 1px solid var(--g200); color: var(--black); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.em-pagination a:hover { background: var(--black); color: var(--white); border-color: var(--black); }
.em-pagination .current { background: var(--red); color: var(--white); border-color: var(--red); }

/* Search Form */
.em-search-form { display: flex; max-width: 520px; margin: 28px auto 0; }
.em-search-form input[type="search"] { flex: 1; padding: 14px 20px; font-size: 0.95rem; font-family: var(--font); border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); color: var(--white); outline: none; transition: border-color 0.2s; }
.em-search-form input[type="search"]::placeholder { color: rgba(255,255,255,0.3); }
.em-search-form input[type="search"]:focus { border-color: var(--red); }
.em-search-form button { padding: 14px 28px; background: var(--red); color: var(--white); border: none; font-size: 0.84rem; font-weight: 800; font-family: var(--font); letter-spacing: 0.07em; text-transform: uppercase; cursor: pointer; transition: background 0.2s; }
.em-search-form button:hover { background: var(--red-dark); }

.em-no-results { text-align: center; padding: 80px 20px; }
.em-no-results-title { font-size: 1.6rem; font-weight: 900; color: var(--black); margin-bottom: 14px; }
.em-no-results-text { font-size: 0.95rem; color: var(--g500); margin-bottom: 28px; }
.em-no-results .em-search-form input[type="search"] { border-color: var(--g200); background: var(--g100); color: var(--black); }
.em-no-results .em-search-form input[type="search"]::placeholder { color: var(--g500); }

/* ── 404 PAGE ── */
.em-404 { min-height: calc(100vh - 68px - 100px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 140px 20px 80px; }
.em-404-num { font-size: clamp(8rem, 20vw, 16rem); font-weight: 900; color: var(--red); line-height: 0.9; letter-spacing: -0.05em; }
.em-404-title { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 900; color: var(--black); margin-top: 10px; margin-bottom: 14px; letter-spacing: -0.03em; }
.em-404-text { font-size: 0.95rem; color: var(--g500); margin-bottom: 36px; max-width: 420px; }
.em-btn-red { display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: var(--white); font-size: 0.84rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; padding: 16px 36px; text-decoration: none; border-radius: 4px; transition: background 0.2s; }
.em-btn-red:hover { background: var(--red-dark); }

/* ── GENERIC PAGE ── */
.em-generic-page * { box-sizing: border-box; }
.em-generic-page { font-family: var(--font); background: var(--white); color: var(--black); overflow-x: hidden; }
.em-generic-wrap .site-header,
.em-generic-wrap .site-footer,
.em-generic-wrap .entry-header,
.em-generic-wrap .entry-footer,
.em-generic-wrap .kadence-breadcrumbs { display: none !important; }
.em-generic-wrap .content-wrap,
.em-generic-wrap .site-main { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }

.em-page-header { padding: 140px 80px 60px; border-bottom: 1px solid var(--g200); }
.em-page-header-title { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.03em; color: var(--black); max-width: 860px; }
.em-page-body { max-width: 860px; padding: 60px 80px 100px; }

/* ── ANIMATIONS ── */
@keyframes emFadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes emMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes emPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .em-nav { padding: 0 20px; }
  .em-nav-toggle { display: flex; }
  .em-nav-links { display: none; position: fixed; top: 64px; left: 0; right: 0; background: rgba(12,12,12,0.97); flex-direction: column; padding: 20px 24px 28px; gap: 0; }
  .em-nav-links li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .em-nav-links a { display: block; padding: 14px 0; font-size: 14px; }
  .em-nav.em-nav-open .em-nav-links { display: flex; }
  .em-nav-cta { font-size: 11px; padding: 8px 16px; }

  /* Hero */
  .em-hero { padding: 100px 20px 40px; }
  .em-hero-inner { flex-direction: column; align-items: stretch; }
  .em-hero-text { flex: 1 1 auto; padding-bottom: 40px; }
  .em-hero-photo-wrap { flex: 1 1 auto; align-self: center; max-width: 360px; min-height: auto; }
  .em-hero-photo-frame { max-width: 340px; }
  .em-hero-photo-img { max-height: 60vh; }
  .em-hero-stats { flex-direction: column; gap: 16px; }

  /* Problem */
  .em-problem-inner { grid-template-columns: 1fr; gap: 40px; }
  .em-problem-right { order: -1; }

  /* Sections */
  .em-aiengine, .em-howitworks, .em-whatyouget, .em-testimonials, .em-faq { padding: 70px 20px; }
  .em-problem { padding: 70px 20px; }
  .em-layers { padding: 70px 20px; }
  .em-about { padding: 70px 20px; }
  .em-dashboard { padding: 60px 20px; }
  .em-final-cta { padding: 70px 20px; }
  .em-footer { padding: 28px 20px; flex-direction: column; gap: 12px; text-align: center; }
  .em-footer-right { flex-direction: column; gap: 6px; }

  /* Dashboard mobile */
  .em-dashboard-sidebar { display: none; }
  .em-dashboard-body { flex-direction: column; }

  /* Layers */
  .em-layers-timeline { padding-left: 24px; }
  .em-layers-line { left: 7px; }
  .em-layer-item { gap: 14px; }

  /* Blog/Post responsive */
  .em-post-header { padding: 80px 20px 0 !important; }
  .em-post-meta-row { flex-direction: column; align-items: flex-start; }
  .em-share-inline { margin-top: 4px; }
  .em-post-body { grid-template-columns: 1fr; padding: 32px 20px 60px; gap: 32px; }
  .em-sidebar { position: static; }
  .em-toc { position: static; }
  .em-related { padding: 60px 20px; }
  .em-related-grid { grid-template-columns: 1fr; }

  .em-cat-widget-row { padding: 10px 16px; }

  .em-fg { grid-template-columns: 1fr; grid-template-rows: 260px 180px; padding-top: 68px; }
  .em-fg-1 { grid-row: auto; }
  .em-fg-1 .em-fg-title { font-size: 1.2rem; }
  .em-fg-3 { display: none; }
  .em-blog-featured-card { margin-bottom: 20px; padding-bottom: 20px; }
  .em-blog-fc-title { font-size: 1.2rem; }
  .em-cat-tabs { padding: 0 20px; }
  .em-cat-tabs-label { padding: 12px 14px; font-size: 0.62rem; }
  .em-cat-tab { padding: 12px 14px; font-size: 0.76rem; }
  .em-blog-layout { grid-template-columns: 1fr; padding: 32px 20px 60px; gap: 32px; }
  .em-blog-sidebar { position: static; }

  .em-archive-hero { padding: 110px 20px 52px; }
  .em-archive-grid-wrap { padding: 50px 20px 70px; }
  .em-archive-grid { grid-template-columns: 1fr; }

  .em-page-header { padding: 110px 20px 40px; }
  .em-page-body { padding: 40px 20px 60px; }
}
