/* WordPress Academy Theme – Main Stylesheet */

/* ── Track accent colors ── */
:root {
  --track-beginner: #2563eb;
  --track-business: #059669;
  --track-content:  #7c3aed;
  --track-dev:      #dc2626;
}

:root {
  --navy: #0f1b2d;
  --navy-mid: #162236;
  --navy-light: #1e3251;
  --electric: #2563eb;
  --electric-bright: #3b82f6;
  --electric-glow: rgba(37,99,235,0.15);
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --text-main: #0f1b2d;
  --text-body: #334155;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(15,27,45,0.08);
  --shadow-md: 0 8px 32px rgba(15,27,45,0.12);
  --shadow-lg: 0 20px 60px rgba(15,27,45,0.18);
  --shadow-electric: 0 0 40px rgba(37,99,235,0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', sans-serif;
  background: var(--white);
  color: var(--text-main);
  direction: rtl;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
.wat-nav {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 100;
  background: rgba(15,27,45,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.wat-nav .nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.wat-nav .nav-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-logo-text {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-logo-text-only {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.wat-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.wat-nav .nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.wat-nav .nav-links a:hover { color: var(--white); }

.wat-nav .nav-cta a,
.nav-cta {
  background: var(--electric) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s !important;
}

.wat-nav .nav-cta a:hover,
.nav-cta:hover {
  background: var(--electric-bright) !important;
  transform: translateY(-1px);
}

/* ── HERO ── */
.wat-hero {
  min-height: 100vh;
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 5% 80px;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

.wat-hero::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.wat-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; right: 30%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.3);
  color: var(--electric-bright);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem;
  animation: fadeInDown 0.6s ease both;
}

.hero-badge::before {
  content: '●';
  font-size: 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.wat-hero h1 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
  animation: fadeInDown 0.6s 0.1s ease both;
}

.wat-hero h1 span {
  color: var(--gold);
  display: block;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 480px;
  animation: fadeInDown 0.6s 0.2s ease both;
}

.hero-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeInDown 0.6s 0.25s ease both;
}

.hero-tagline strong {
  color: var(--white);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInDown 0.6s 0.3s ease both;
}

.btn-primary {
  background: var(--electric);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(37,99,235,0.4);
}

.btn-primary:hover {
  background: var(--electric-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,99,235,0.5);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  padding: 1rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  animation: fadeInDown 0.6s 0.4s ease both;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.35rem;
  display: block;
}

.hero-visual {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-floating-card {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 200px;
}

.floating-icon {
  width: 44px; height: 44px;
  background: var(--electric-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.floating-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.floating-text span {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* ── DIFFERENTIATOR ── */
.section-diff {
  background: var(--off-white);
  padding: 100px 5%;
}

.section-diff .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.section-diff img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.97rem;
  color: var(--text-body);
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  width: 26px; height: 26px;
  background: var(--electric);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

.highlight-box {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 500;
  border-right: 4px solid var(--gold);
}

/* ── WHO IS IT FOR ── */
.section-who {
  background: var(--navy);
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
}

.section-who::before {
  content: '';
  position: absolute;
  top: -300px; right: -200px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.section-who .inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-who .top {
  text-align: center;
  margin-bottom: 4rem;
}

.section-who .section-title { color: var(--white); }
.section-who .section-desc { color: rgba(255,255,255,0.6); max-width: 560px; margin: 0 auto; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.audience-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: default;
}

.audience-card:hover {
  background: rgba(37,99,235,0.1);
  border-color: rgba(37,99,235,0.3);
  transform: translateY(-4px);
}

.audience-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: block;
}

.audience-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.audience-desc {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.who-footer {
  text-align: center;
  padding: 2rem;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: var(--radius-md);
  color: var(--gold-light);
  font-size: 1.05rem;
  font-weight: 600;
}

/* ── ADVANTAGES ── */
.section-advantages {
  background: var(--white);
  padding: 100px 5%;
}

.section-advantages .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.section-advantages img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  order: 2;
}

.advantages-content { order: 1; }

.stat-pills {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.stat-pill {
  background: var(--gray-100);
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.stat-pill span { color: var(--electric); font-weight: 800; }

.extras-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.extras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.extra-item {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
}

.extra-item::before {
  content: attr(data-icon);
  font-size: 1.1rem;
}

/* ── HOW IT WORKS ── */
.section-how {
  background: var(--gray-100);
  padding: 100px 5%;
}

.section-how .inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-how .top {
  text-align: center;
  margin-bottom: 4rem;
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.steps-row::before {
  content: '';
  position: absolute;
  top: 32px;
  right: 12.5%;
  left: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--electric), rgba(37,99,235,0.2));
  z-index: 0;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 56px; height: 56px;
  background: var(--electric);
  color: white;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.5rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
}

.step-title {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.step-note {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 0.75rem;
  font-style: italic;
}

/* ── WEBINAR ── */
.section-webinar {
  background: var(--navy);
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
}

.section-webinar::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,158,11,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.section-webinar .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.webinar-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.webinar-img-wrap img { width: 100%; display: block; }

.webinar-live-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #ef4444;
  color: white;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.webinar-live-badge::before {
  content: '●';
  font-size: 0.5rem;
  animation: pulse 1.5s infinite;
}

.webinar-content .section-title { color: var(--white); }

.webinar-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.webinar-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.97rem;
  line-height: 1.55;
}

.webinar-points li::before {
  content: '→';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}

.webinar-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  margin-top: 1rem;
}

/* ── CTA SECTION ── */
.section-cta {
  background: linear-gradient(135deg, var(--electric) 0%, #1d4ed8 100%);
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  pointer-events: none;
}

.section-cta .inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-text .section-title { color: var(--white); }
.cta-text .section-desc { color: rgba(255,255,255,0.75); }

.cta-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ── LEAD FORM ── */
.lead-form-wrap {
  background: var(--off-white);
  padding: 100px 5%;
}

.lead-form-wrap .inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.lead-form-wrap .section-title { margin-bottom: 0.75rem; }
.lead-form-wrap .section-desc { margin-bottom: 2.5rem; }

.lead-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: 1.25rem;
  text-align: right;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Heebo', sans-serif;
  font-size: 0.97rem;
  color: var(--text-main);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  direction: rtl;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-submit {
  width: 100%;
  padding: 1.1rem;
  background: var(--electric);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Heebo', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 0.5rem;
  box-shadow: 0 4px 20px rgba(37,99,235,0.35);
}

.form-submit:hover {
  background: var(--electric-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,99,235,0.45);
}

.form-note {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 1rem;
  text-align: center;
}

/* ── FOOTER ── */
.wat-footer {
  background: var(--navy);
  padding: 3rem 5%;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.wat-footer .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.wat-footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.wat-footer .footer-logo img {
  height: 30px;
  filter: brightness(0) invert(1) opacity(0.6);
}

.wat-footer .footer-logo span {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.8); }

.footer-copy {
  color: rgba(255,255,255,0.25);
  font-size: 0.78rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIVE COURSES PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Page Hero ── */
.page-hero {
  background: var(--navy);
  padding: 130px 5% 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -150px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.page-hero-content { position: relative; z-index: 2; }

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.3);
  color: var(--electric-bright);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.5s ease both;
}

.page-hero h1 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  animation: fadeInDown 0.5s 0.1s ease both;
}

.page-hero h1 span { color: var(--gold); }

.page-hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 2rem;
  animation: fadeInDown 0.5s 0.2s ease both;
}

.track-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  animation: fadeInDown 0.5s 0.3s ease both;
}

.track-pill {
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: 1.5px solid transparent;
}

.track-pill.beginner { background: rgba(37,99,235,0.15);  color: #93c5fd; border-color: rgba(37,99,235,0.3); }
.track-pill.business { background: rgba(5,150,105,0.15);  color: #6ee7b7; border-color: rgba(5,150,105,0.3); }
.track-pill.content  { background: rgba(124,58,237,0.15); color: #c4b5fd; border-color: rgba(124,58,237,0.3); }
.track-pill.dev      { background: rgba(220,38,38,0.15);  color: #fca5a5; border-color: rgba(220,38,38,0.3); }
.track-pill:hover    { transform: translateY(-2px); filter: brightness(1.15); }

.page-hero-visual {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.7s 0.2s ease both;
}

.page-hero-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-stat-row {
  display: flex;
  gap: 0;
  margin-top: 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  animation: fadeInDown 0.5s 0.35s ease both;
}

.hero-stat {
  flex: 1;
  padding: 1rem 0.75rem;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.07);
}

.hero-stat:last-child { border-left: none; }

.hero-stat-num {
  display: block;
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  margin-top: 0.3rem;
}

/* ── Track Sections ── */
.track-section { padding: 90px 5%; }
.track-section:nth-child(even) { background: var(--off-white); }
.track-section:nth-child(odd)  { background: var(--white); }

.track-section .inner {
  max-width: 1200px;
  margin: 0 auto;
}

.track-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--gray-200);
}

.track-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.track-icon-wrap.beginner { background: rgba(37,99,235,0.1); }
.track-icon-wrap.business { background: rgba(5,150,105,0.1); }
.track-icon-wrap.content  { background: rgba(124,58,237,0.1); }
.track-icon-wrap.dev      { background: rgba(220,38,38,0.1); }

.track-audience {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.track-audience.beginner { color: var(--track-beginner); }
.track-audience.business { color: var(--track-business); }
.track-audience.content  { color: var(--track-content); }
.track-audience.dev      { color: var(--track-dev); }

.track-title {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.2;
}

/* ── Course Cards ── */
.courses-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.course-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  box-shadow: var(--shadow-sm);
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.course-card.beginner:hover { border-color: rgba(37,99,235,0.35); }
.course-card.business:hover { border-color: rgba(5,150,105,0.35); }
.course-card.content:hover  { border-color: rgba(124,58,237,0.35); }
.course-card.dev:hover      { border-color: rgba(220,38,38,0.35); }

.course-card-bar {
  height: 4px;
  width: 100%;
}

.course-card-bar.beginner { background: linear-gradient(90deg, var(--track-beginner), #60a5fa); }
.course-card-bar.business { background: linear-gradient(90deg, var(--track-business), #34d399); }
.course-card-bar.content  { background: linear-gradient(90deg, var(--track-content),  #a78bfa); }
.course-card-bar.dev      { background: linear-gradient(90deg, var(--track-dev),      #f87171); }

.course-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.course-name {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.3;
}

.level-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.level-badge.basic    { background: var(--gray-100); color: var(--gray-600); }
.level-badge.advanced { background: rgba(15,27,45,0.08); color: var(--navy); }

.course-tagline {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.course-for {
  font-size: 0.82rem;
  color: var(--text-body);
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.course-for strong { color: var(--text-main); font-weight: 700; }

.curriculum-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}

.curriculum-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.curriculum-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.45;
}

.curriculum-list li::before {
  content: '✓';
  font-size: 0.68rem;
  font-weight: 800;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1em;
}

.beginner .curriculum-list li::before { background: rgba(37,99,235,0.12); color: var(--track-beginner); }
.business .curriculum-list li::before { background: rgba(5,150,105,0.12); color: var(--track-business); }
.content  .curriculum-list li::before { background: rgba(124,58,237,0.12); color: var(--track-content); }
.dev      .curriculum-list li::before { background: rgba(220,38,38,0.12); color: var(--track-dev); }

.outcome-box {
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.outcome-box::before { content: '🎯'; font-size: 1rem; flex-shrink: 0; }

.beginner .outcome-box { background: rgba(37,99,235,0.07); color: #1d4ed8; }
.business .outcome-box { background: rgba(5,150,105,0.07); color: #065f46; }
.content  .outcome-box { background: rgba(124,58,237,0.07); color: #5b21b6; }
.dev      .outcome-box { background: rgba(220,38,38,0.07); color: #991b1b; }

.course-card-footer {
  border-top: 1px solid var(--gray-200);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--gray-100);
}

.course-price {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
  display: block;
}

.course-date {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-top: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.course-date::before { content: '📅'; font-size: 0.75rem; }

.course-actions {
  display: flex;
  gap: 0.6rem;
}

.btn-enroll {
  background: var(--electric);
  color: var(--white);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(37,99,235,0.3);
}

.btn-enroll:hover {
  background: var(--electric-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
  color: var(--white);
}

.course-card.business .btn-enroll { background: var(--track-business); box-shadow: 0 3px 12px rgba(5,150,105,0.3); }
.course-card.business .btn-enroll:hover { background: #10b981; box-shadow: 0 6px 20px rgba(5,150,105,0.4); }
.course-card.content  .btn-enroll { background: var(--track-content); box-shadow: 0 3px 12px rgba(124,58,237,0.3); }
.course-card.content  .btn-enroll:hover { background: #8b5cf6; box-shadow: 0 6px 20px rgba(124,58,237,0.4); }
.course-card.dev      .btn-enroll { background: var(--track-dev); box-shadow: 0 3px 12px rgba(220,38,38,0.3); }
.course-card.dev      .btn-enroll:hover { background: #ef4444; box-shadow: 0 6px 20px rgba(220,38,38,0.4); }

.btn-syllabus {
  background: transparent;
  color: var(--gray-600);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--gray-200);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-syllabus:hover {
  border-color: var(--gray-400);
  color: var(--text-main);
  background: var(--white);
}

/* ── CTA Bottom ── */
.cta-bottom {
  background: var(--navy);
  padding: 90px 5%;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bottom::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-bottom .inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-bottom .section-label {
  display: block;
  color: var(--gold);
  margin-bottom: 1rem;
}

.cta-bottom h2 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.cta-bottom p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cta-bottom-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Courses page: no courses message ── */
.wat-no-courses {
  text-align: center;
  padding: 3rem;
  color: var(--gray-400);
  font-size: 0.95rem;
  background: var(--gray-100);
  border-radius: var(--radius-md);
}

/* ── Courses page responsive ── */
@media (max-width: 1000px) {
  .courses-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .page-hero .inner { grid-template-columns: 1fr; }
  .page-hero-visual { display: none; }
  .track-header { flex-wrap: wrap; }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .wat-hero { grid-template-columns: 1fr; padding-top: 100px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 1.5rem; }
  .section-diff .inner,
  .section-advantages .inner,
  .section-webinar .inner,
  .section-cta .inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .section-advantages img { order: 0; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .steps-row::before { display: none; }
}

@media (max-width: 600px) {
  .wat-nav { padding: 0 1.25rem; }
  .wat-nav .nav-links { display: none; }
  .wat-hero { padding: 90px 1.25rem 60px; }
  .wat-hero h1 { font-size: 2rem; }
  .hero-stats { gap: 1rem; }
  .audience-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
  .extras-grid { grid-template-columns: 1fr; }
  .lead-form { padding: 1.5rem; }

  /* Courses page */
  .page-hero { padding: 100px 1.25rem 60px; }
  .track-section { padding: 60px 1.25rem; }
  .course-card-footer { flex-direction: column; align-items: flex-start; }
  .course-actions { width: 100%; }
  .btn-enroll, .btn-syllabus { flex: 1; text-align: center; justify-content: center; }
  .cta-bottom { padding: 60px 1.25rem; }

  /* Recorded page */
  .rec-page-hero { padding: 100px 1.25rem 60px; }
  .compare-strip { flex-direction: column; width: 100%; }
  .compare-item { border-left: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .compare-item:last-child { border-bottom: none; }
  .rec-courses-section { padding: 60px 1.25rem; }
  .course-footer { flex-direction: column; align-items: flex-start; }
  .btn-buy { width: 100%; justify-content: center; }
  .live-promo { padding: 60px 1.25rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RECORDED COURSES PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Teal palette ── */
:root {
  --teal:      #0891b2;
  --teal-light:#22d3ee;
  --teal-glow: rgba(8,145,178,0.12);
}

/* ── Page Hero ── */
.rec-page-hero {
  background: var(--navy);
  padding: 130px 5% 90px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.rec-page-hero::before {
  content: '';
  position: absolute;
  top: -200px; left: -150px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(8,145,178,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.rec-page-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; right: 5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.rec-page-hero .inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.rec-page-hero .page-hero-badge {
  background: rgba(8,145,178,0.15);
  border-color: rgba(8,145,178,0.3);
  color: var(--teal-light);
}

.rec-page-hero h1 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  animation: fadeInDown 0.5s 0.1s ease both;
}

.rec-page-hero h1 span { color: var(--gold); }

.rec-page-hero .page-hero-desc {
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ── Compare Strip ── */
.compare-strip {
  display: inline-flex;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  animation: fadeInDown 0.5s 0.3s ease both;
}

.compare-item {
  padding: 1.25rem 2rem;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.07);
  flex: 1;
  min-width: 160px;
}

.compare-item:last-child { border-left: none; }
.compare-icon  { font-size: 1.4rem; display: block; margin-bottom: 0.4rem; }
.compare-label { font-size: 0.82rem; font-weight: 700; color: var(--white); display: block; margin-bottom: 0.2rem; }
.compare-note  { font-size: 0.74rem; color: rgba(255,255,255,0.4); display: block; }

/* ── Courses section ── */
.rec-courses-section {
  background: var(--off-white);
  padding: 90px 5%;
}

.rec-courses-section .inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.rec-section-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.rec-section-title {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.2;
}

/* ── Featured course card ── */
.course-featured {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  margin-bottom: 2.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.course-featured:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.course-featured-visual {
  background: linear-gradient(135deg, var(--navy) 0%, #0c2340 60%, #0e3060 100%);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-height: 480px;
  gap: 2rem;
}

.course-featured-visual::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(8,145,178,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.course-featured-visual::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(245,158,11,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.course-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(8,145,178,0.2);
  border: 1px solid rgba(8,145,178,0.35);
  color: var(--teal-light);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  width: fit-content;
  position: relative;
  z-index: 1;
}

.course-visual-title {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.course-visual-title span { color: var(--gold); display: block; }

.course-visual-pills {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  z-index: 1;
}

.visual-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

.visual-pill-icon { font-size: 1rem; flex-shrink: 0; }

.course-featured-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}

.course-tagline {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--gray-200);
}

/* Recorded curriculum: 2-column grid */
.rec-curriculum {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
}

.rec-curriculum li::before {
  background: var(--teal-glow) !important;
  color: var(--teal) !important;
}

/* Who section */
.who-section {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 1.75rem;
}

.who-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  margin-bottom: 0.6rem;
}

.who-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.who-list li {
  font-size: 0.86rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.who-list li::before { content: '→'; color: var(--teal); font-weight: 700; }

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
  flex-wrap: wrap;
  margin-top: auto;
}

.course-price {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--text-main);
  display: block;
  line-height: 1;
}

.course-price-note {
  font-size: 0.77rem;
  color: var(--gray-400);
  margin-top: 0.3rem;
  display: block;
}

.btn-buy {
  background: var(--teal);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 18px rgba(8,145,178,0.35);
  white-space: nowrap;
}

.btn-buy:hover {
  background: #0ea5c9;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(8,145,178,0.45);
  color: var(--white);
}

/* ── Coming Soon grid ── */
.coming-soon-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.coming-soon-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.coming-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.coming-card {
  background: var(--white);
  border: 1.5px dashed var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0.75;
  transition: opacity 0.2s, border-color 0.2s;
}

.coming-card:hover { opacity: 1; border-color: var(--gray-400); }

.coming-icon {
  width: 44px; height: 44px;
  background: var(--gray-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.coming-name {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.coming-desc {
  font-size: 0.82rem;
  color: var(--gray-400);
  line-height: 1.5;
  flex: 1;
}

.coming-badge {
  display: inline-block;
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  width: fit-content;
}

/* ── Live Promo banner ── */
.live-promo {
  background: var(--navy);
  padding: 80px 5%;
  position: relative;
  overflow: hidden;
}

.live-promo::before {
  content: '';
  position: absolute;
  top: -150px; right: -100px;
  width: 600px; height: 500px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.live-promo .inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.live-promo-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

.live-promo h2 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.live-promo p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 520px;
}

/* ── Recorded page responsive ── */
@media (max-width: 900px) {
  .course-featured { grid-template-columns: 1fr; }
  .course-featured-visual { min-height: 280px; }
  .rec-curriculum { grid-template-columns: 1fr !important; }
  .coming-grid { grid-template-columns: 1fr 1fr; }
  .live-promo .inner { grid-template-columns: 1fr; text-align: center; }
  .live-promo p { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   WEBINAR PAGE  (page-webinar.php)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Page Header Hero ── */
.wb-page-header {
  background: var(--navy);
  padding: 130px 5% 70px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.wb-page-header::before {
  content: '';
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.09) 0%, transparent 65%);
  pointer-events: none;
}

.wb-page-header-inner {
  max-width: 740px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.wb-page-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--gold-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  animation: fadeInDown 0.5s ease both;
}

.wb-page-header-badge::before {
  content: '●';
  font-size: 0.5rem;
  animation: pulse 2s infinite;
}

.wb-page-header h1 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
  animation: fadeInDown 0.5s 0.1s ease both;
}

.wb-page-header-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  animation: fadeInDown 0.5s 0.2s ease both;
}

/* ── Webinar event bar ── */
.wb-webinar-bar {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  margin-top: 2rem;
  display: inline-flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInDown 0.5s 0.3s ease both;
}

.wb-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.wb-bar-item strong { color: var(--gold-light); font-weight: 700; }
.wb-bar-sep { color: rgba(255,255,255,0.2); font-size: 1.2rem; }

/* ── Content + Sidebar layout ── */
.wb-content-wrap {
  padding: 70px 5% 0;
}

.wb-content-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: flex-start;
}

/* ── Sidebar ── */
.wb-sidebar {
  position: sticky;
  top: 90px;
}

.wb-sidebar-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Dark top panel */
.wb-sidebar-top {
  background: var(--navy);
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.wb-sidebar-top::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 250px; height: 200px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.wb-sidebar-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(239,68,68,0.2);
  border: 1px solid rgba(239,68,68,0.4);
  color: #fca5a5;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
}

.wb-sidebar-live-badge::before {
  content: '●';
  font-size: 0.45rem;
  animation: pulse 1.5s infinite;
}

.wb-sidebar-title {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 0.3rem;
  position: relative;
  z-index: 1;
}

.wb-sidebar-free {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  position: relative;
  z-index: 1;
}

/* Event details list */
.wb-sidebar-details {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.wb-sidebar-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-body);
}

.wb-detail-icon {
  width: 32px; height: 32px;
  background: var(--gray-100);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.wb-detail-label {
  font-size: 0.74rem;
  color: var(--gray-400);
  display: block;
}

.wb-detail-value {
  font-weight: 700;
  color: var(--text-main);
  display: block;
  line-height: 1.2;
}

/* Registration form */
.wb-sidebar-form {
  padding: 1.25rem 1.5rem;
}

.wb-sidebar-form-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1rem;
  text-align: center;
}

/* CF7 / fallback form shared input styles */
.wb-sidebar-form .wpcf7-form .wpcf7-text,
.wb-sidebar-form .wpcf7-form .wpcf7-email,
.wb-sidebar-form .wpcf7-form .wpcf7-tel,
.wb-sidebar-form .wpcf7-form select,
.wb-form-group input,
.wb-form-group select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Heebo', sans-serif;
  font-size: 0.88rem;
  color: var(--text-main);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  direction: rtl;
  margin-bottom: 0.75rem;
  box-sizing: border-box;
}

.wb-form-group input:focus,
.wb-form-group select:focus,
.wb-sidebar-form .wpcf7-form input:focus,
.wb-sidebar-form .wpcf7-form select:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.wb-btn-register,
.wb-sidebar-form .wpcf7-submit {
  width: 100%;
  padding: 0.9rem;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Heebo', sans-serif;
  font-size: 0.97rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.22s;
  box-shadow: 0 3px 16px rgba(245,158,11,0.35);
}

.wb-btn-register:hover,
.wb-sidebar-form .wpcf7-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245,158,11,0.45);
}

.wb-form-note {
  font-size: 0.73rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: 0.65rem;
  line-height: 1.5;
}

/* ── Gutenberg content column ── */
.gb-content {
  padding-bottom: 80px;
}

/* gb/paragraph */
.gb-content p {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* gb/heading h2 — gold right border */
.gb-content h2 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.25;
  margin: 2.5rem 0 1rem;
  padding-right: 1rem;
  border-right: 4px solid var(--gold);
}

/* gb/heading h3 */
.gb-content h3 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 1.75rem 0 0.75rem;
}

/* gb/list — checkmarks */
.gb-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.gb-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.55;
}

.gb-content ul li::before {
  content: '✓';
  font-size: 0.65rem;
  font-weight: 800;
  width: 20px; height: 20px;
  background: rgba(37,99,235,0.1);
  color: var(--electric);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15em;
}

/* gb/separator */
.gb-content hr {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 2.5rem 0;
}

/* gb/quote — navy callout */
.gb-content blockquote {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  border-right: 4px solid var(--gold);
  margin: 2rem 0;
}

.gb-content blockquote p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.7;
}

/* gb/image */
.gb-content .wp-block-image {
  margin: 2rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.gb-content .wp-block-image img { width: 100%; display: block; }

/* ── gb-columns info grid (custom HTML block / pattern) ── */
.gb-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

.gb-column {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.5rem;
}

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

.gb-column-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

.gb-column-sub {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-top: 0.3rem;
  line-height: 1.5;
}

/* ── Topics grid pattern ── */
.gb-topics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.25rem 0 2rem;
}

.gb-topic-item {
  background: var(--off-white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.45;
  transition: border-color 0.2s, background 0.2s;
}

.gb-topic-item:hover {
  border-color: rgba(37,99,235,0.25);
  background: var(--white);
}

.gb-topic-item::before {
  content: '→';
  color: var(--electric);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   STANDARD TEMPLATES — page, single, archive, home, search, 404
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Shared dark hero ── */
.tpl-hero {
  background: var(--navy);
  padding: 130px 5% 70px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.tpl-hero::before {
  content: '';
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.tpl-hero-inner {
  max-width: 740px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Badge chip (electric style, matches live-courses page) */
.tpl-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.3);
  color: var(--electric-bright);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  animation: fadeInDown 0.5s ease both;
}

.tpl-hero-badge:hover {
  background: rgba(37,99,235,0.25);
  color: var(--white);
}

/* Single post: gold/warm badge for category */
.tpl-hero--post .tpl-hero-badge {
  background: rgba(245,158,11,0.15);
  border-color: rgba(245,158,11,0.3);
  color: var(--gold-light);
}

.tpl-hero--post .tpl-hero-badge:hover {
  background: rgba(245,158,11,0.25);
  color: var(--white);
}

.tpl-hero h1 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
  animation: fadeInDown 0.5s 0.1s ease both;
}

.tpl-hero-sub {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
  animation: fadeInDown 0.5s 0.2s ease both;
}

/* Post count badge (archive) */
.tpl-hero-count {
  display: inline-block;
  margin-top: 1.25rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  animation: fadeInDown 0.5s 0.3s ease both;
}

/* Single post meta strip */
.tpl-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  animation: fadeInDown 0.5s 0.25s ease both;
}

.tpl-meta-sep { opacity: 0.4; }

/* ── Section wrappers ── */
.tpl-section {
  padding: 72px 5% 80px;
}

.tpl-section--comments {
  padding-top: 0;
  border-top: 1px solid var(--gray-200);
}

.tpl-narrow {
  max-width: 740px;
  margin: 0 auto;
}

.tpl-wide {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Featured image (single post) ── */
.tpl-post-thumb-wrap {
  background: var(--navy);
  padding-bottom: 40px;
}

.tpl-post-thumb {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 500px;
  object-fit: cover;
}

/* ── Post Tags ── */
.tpl-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.tpl-tag {
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border: 1px solid var(--gray-200);
}

.tpl-tag:hover {
  background: var(--electric-glow);
  color: var(--electric);
  border-color: rgba(37,99,235,0.25);
}

/* ── Prev/Next post navigation ── */
.tpl-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.tpl-post-nav-item {
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.tpl-post-nav-item:hover {
  border-color: rgba(37,99,235,0.3);
  background: var(--white);
  transform: translateY(-2px);
}

.tpl-post-nav-next { text-align: left; }

.tpl-post-nav-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--electric);
  display: block;
}

.tpl-post-nav-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ── Page multi-page links ── */
.tpl-page-links {
  margin: 2rem 0;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.tpl-page-links a {
  color: var(--electric);
  font-weight: 700;
  text-decoration: none;
  margin: 0 0.3rem;
}

/* ── Post card grid ── */
.post-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.post-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37,99,235,0.2);
}

.post-card-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

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

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

.post-card-cat {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--electric);
  text-decoration: none;
  margin-bottom: 0.65rem;
  transition: color 0.2s;
}

.post-card-cat:hover { color: var(--electric-bright); }

.post-card-title {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.post-card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

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

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

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--gray-400);
  font-weight: 500;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.post-card-dot { opacity: 0.5; }

/* ── Pagination ── */
.tpl-pagination {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

.tpl-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tpl-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  transition: all 0.2s;
  background: var(--white);
}

.tpl-pagination .page-numbers:hover,
.tpl-pagination .page-numbers.current {
  background: var(--electric);
  border-color: var(--electric);
  color: var(--white);
}

.tpl-pagination .page-numbers.prev,
.tpl-pagination .page-numbers.next {
  width: auto;
  padding: 0 1rem;
  background: var(--gray-100);
  border-color: var(--gray-200);
  color: var(--text-body);
}

.tpl-pagination .page-numbers.prev:hover,
.tpl-pagination .page-numbers.next:hover {
  background: var(--electric);
  border-color: var(--electric);
  color: var(--white);
}

/* ── No results state ── */
.tpl-no-results {
  text-align: center;
  padding: 4rem 2rem;
}

.tpl-no-results-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
}

.tpl-no-results h2 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.tpl-no-results p {
  color: var(--gray-600);
  font-size: 0.97rem;
  margin-bottom: 2rem;
}

/* ── Search form (hero inline) ── */
.tpl-search-form {
  display: flex;
  gap: 0;
  margin-top: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  animation: fadeInDown 0.5s 0.35s ease both;
}

.tpl-search-input {
  flex: 1;
  padding: 0.85rem 1.1rem;
  border: none;
  font-family: 'Heebo', sans-serif;
  font-size: 0.95rem;
  color: var(--text-main);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color: var(--white);
  outline: none;
  direction: rtl;
}

.tpl-search-input::placeholder { color: rgba(255,255,255,0.45); }

.tpl-search-btn {
  background: var(--gold);
  border: none;
  padding: 0 1.1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
}

.tpl-search-btn:hover { background: var(--gold-light); }

/* 404 search form — lighter style */
.tpl-search-form--404 .tpl-search-input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-right: none;
}

/* ── 404 Page ── */
.tpl-404 {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.tpl-404::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(245,158,11,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.tpl-404-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.tpl-404-number {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 900;
  color: rgba(245,158,11,0.15);
  line-height: 1;
  margin-bottom: -0.15em;
  letter-spacing: -0.04em;
}

.tpl-404 h1 {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.85rem;
}

.tpl-404-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.tpl-404-links {
  margin-top: 2rem;
}

/* ── Comments ── */
.tpl-comments {
  padding: 3rem 0 2rem;
}

.tpl-comments-title {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-200);
}

.tpl-comment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.tpl-comment { position: relative; }

.tpl-comment-inner {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--gray-200);
}

.tpl-comment-author-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.tpl-comment-avatar {
  border-radius: 50%;
  flex-shrink: 0;
}

.tpl-comment-author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
}

.tpl-comment-date {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-right: 0.5rem;
}

.tpl-comment-reply,
.tpl-comment-edit {
  margin-right: auto;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--electric);
  cursor: pointer;
}

.tpl-comment-reply a,
.tpl-comment-edit {
  color: var(--electric);
  text-decoration: none;
  transition: color 0.2s;
}

.tpl-comment-reply a:hover,
.tpl-comment-edit:hover { color: var(--electric-bright); }

.tpl-comment-moderation {
  font-size: 0.82rem;
  color: var(--gray-400);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.tpl-comment-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.7;
}

.tpl-comment-text p { margin: 0; }

/* Nested comment indent */
.tpl-comment-list .children {
  list-style: none;
  padding-right: 2rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Comment form */
#respond {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--gray-200);
}

#reply-title {
  font-family: 'Frank Ruhl Libre', serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

#reply-title small a {
  font-family: 'Heebo', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-400);
  text-decoration: none;
}

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

.tpl-comment-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tpl-comment-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-body);
}

#commentform input[type="text"],
#commentform input[type="email"],
#commentform textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Heebo', sans-serif;
  font-size: 0.9rem;
  color: var(--text-main);
  background: var(--white);
  direction: rtl;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

#commentform input:focus,
#commentform textarea:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

#commentform textarea {
  resize: vertical;
  min-height: 130px;
  margin-bottom: 1rem;
}

.tpl-comment-submit,
#commentform .submit {
  background: var(--electric);
  color: var(--white);
  border: none;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: 'Heebo', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.tpl-comment-submit:hover,
#commentform .submit:hover {
  background: var(--electric-bright);
  transform: translateY(-1px);
}

/* ── Standard templates responsive ── */
@media (max-width: 900px) {
  .post-card-grid { grid-template-columns: 1fr 1fr; }
  .tpl-comment-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .tpl-hero { padding: 100px 1.25rem 55px; }
  .tpl-section { padding: 55px 1.25rem 60px; }
  .post-card-grid { grid-template-columns: 1fr; }
  .tpl-post-nav { grid-template-columns: 1fr; }
  .tpl-post-nav-next { text-align: right; }
  .tpl-404-number { font-size: 6rem; }
}

/* ── Webinar page responsive ── */
@media (max-width: 960px) {
  .wb-content-inner {
    grid-template-columns: 1fr;
  }
  .wb-sidebar {
    position: static;
  }
  .wb-sidebar-card {
    max-width: 520px;
  }
  .gb-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .gb-topics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .wb-page-header {
    padding: 100px 1.25rem 50px;
  }
  .wb-webinar-bar {
    flex-direction: column;
    gap: 0.75rem;
  }
  .wb-bar-sep { display: none; }
  .wb-content-wrap {
    padding: 50px 1.25rem 0;
  }
}

/* ── Contact Form 7 Styling ── */
.lead-form .wpcf7-form {
  max-width: 500px;
  margin: 0 auto;
}

.lead-form .wpcf7-form p {
  margin-bottom: 1.5rem;
}

.lead-form .wpcf7-form input[type="text"],
.lead-form .wpcf7-form input[type="email"],
.lead-form .wpcf7-form input[type="tel"],
.lead-form .wpcf7-form textarea,
.lead-form .wpcf7-form select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: 'Heebo', sans-serif;
  direction: rtl;
  text-align: right;
  background: var(--white);
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form .wpcf7-form input[type="text"]:focus,
.lead-form .wpcf7-form input[type="email"]:focus,
.lead-form .wpcf7-form input[type="tel"]:focus,
.lead-form .wpcf7-form textarea:focus,
.lead-form .wpcf7-form select:focus {
  outline: none;
  border-color: var(--electric);
  box-shadow: 0 0 0 3px var(--electric-glow);
}

.lead-form .wpcf7-form select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  background-size: 1rem;
  padding-left: 2.5rem;
  cursor: pointer;
}

.lead-form .wpcf7-submit {
  display: inline-block;
  background: var(--electric);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Heebo', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  width: 100%;
  text-align: center;
}

.lead-form .wpcf7-submit:hover {
  background: var(--electric-bright);
  transform: translateY(-1px);
}

.lead-form .wpcf7-submit:active {
  transform: translateY(0);
}

.lead-form .wpcf7-not-valid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1) !important;
}

.lead-form .wpcf7-not-valid-tip {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: block;
}

.lead-form .wpcf7-response-output {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
}

.lead-form .wpcf7-mail-sent-ok {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.lead-form .wpcf7-mail-sent-ng,
.lead-form .wpcf7-spam-blocked,
.lead-form .wpcf7-validation-errors {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
