/* wp-explore: auto-scoped under .lbf-explore */

/* === tokens.css === */
.lbf-explore {
  /* Primary palette */
  --color-primary: #6C3AED;
  --color-primary-hover: #5B21B6;
  --color-primary-light: #EDE9FE;
  --color-primary-bg: #F8F7FF;

  /* CTA color */
  --color-cta: #3BD4CB;
  --color-cta-hover: #2BBDB5;
  --color-cta-text: #FFFFFF;

  /* Neutrals */
  --color-text: #1A1A2E;
  --color-text-secondary: #6B7280;
  --color-text-tertiary: #9CA3AF;
  --color-border: #E5E7EB;
  --color-border-light: #F3F4F6;
  --color-bg: #FFFFFF;
  --color-bg-secondary: #F9FAFB;
  --color-bg-dark: #1A1A2E;

  /* Accents */
  --color-success: #059669;
  --color-warning: #F59E0B;
  --color-error: #DC2626;

  /* Category colors */
  --cat-ai-ml: #7C3AED;
  --cat-finance: #2563EB;
  --cat-strategy: #059669;
  --cat-technology: #0891B2;
  --cat-cybersecurity: #DC2626;
  --cat-policy: #7C3AED;
  --cat-blockchain: #F59E0B;
  --cat-climate: #16A34A;
  --cat-healthcare: #E11D48;
  --cat-future-work: #8B5CF6;
  --cat-legal: #64748B;
  --cat-research: #0D9488;
  --cat-media: #9333EA;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;

  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Layout */
  --max-width: 1200px;
  --content-padding: var(--space-4);
  --section-gap: var(--space-10);
  --bottom-nav-height: 64px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Z-index layers */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 20;
  --z-overlay: 30;
  --z-modal: 40;
  --z-toast: 50;
}


/* === base.css === */
/* base.css — scoped for WP embedding (global resets removed) */

/* Typography inside .lbf-explore */
.lbf-explore h1, .lbf-explore h2, .lbf-explore h3, .lbf-explore h4 {
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  font-weight: var(--font-bold);
}

.lbf-explore h1 { font-size: var(--text-3xl); }
.lbf-explore h2 { font-size: var(--text-2xl); }
.lbf-explore h3 { font-size: var(--text-xl); }
.lbf-explore h4 { font-size: var(--text-lg); }

@media (min-width: 768px) {
  .lbf-explore h1 { font-size: var(--text-4xl); }
  .lbf-explore h2 { font-size: var(--text-3xl); }
}

.lbf-explore .container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--content-padding);
}

.lbf-explore .section { padding: var(--section-gap) 0; }

.lbf-explore .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.lbf-explore .section-title {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
}
@media (min-width: 768px) {
  .lbf-explore .section-title { font-size: var(--text-2xl); }
}

.lbf-explore .section-link {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-primary);
  white-space: nowrap;
}
.lbf-explore .section-link:hover { text-decoration: underline; }

.lbf-explore .text-secondary { color: var(--color-text-secondary); }
.lbf-explore .text-tertiary { color: var(--color-text-tertiary); }
.lbf-explore .text-sm { font-size: var(--text-sm); }
.lbf-explore .text-xs { font-size: var(--text-xs); }
.lbf-explore .text-center { text-align: center; }
.lbf-explore .font-medium { font-weight: var(--font-medium); }
.lbf-explore .font-semibold { font-weight: var(--font-semibold); }
.lbf-explore .font-bold { font-weight: var(--font-bold); }

.lbf-explore .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lbf-explore .icon svg { width: 1em; height: 1em; }

.lbf-explore .sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.lbf-explore .flex { display: flex; }
.lbf-explore .flex-col { flex-direction: column; }
.lbf-explore .items-center { align-items: center; }
.lbf-explore .justify-between { justify-content: space-between; }
.lbf-explore .gap-1 { gap: var(--space-1); }
.lbf-explore .gap-2 { gap: var(--space-2); }
.lbf-explore .gap-3 { gap: var(--space-3); }
.lbf-explore .gap-4 { gap: var(--space-4); }
.lbf-explore .gap-6 { gap: var(--space-6); }

.lbf-explore .skeleton {
  background: linear-gradient(90deg, var(--color-border-light) 25%, var(--color-border) 50%, var(--color-border-light) 75%);
  background-size: 200% 100%;
  animation: lbf-shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes lbf-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@keyframes lbf-fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.lbf-explore .fade-in {
  animation: lbf-fadeIn 0.3s ease forwards;
}

.lbf-explore .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.lbf-explore .no-scrollbar::-webkit-scrollbar { display: none; }


/* === components.css === */
/* ========== Buttons ========== */
.lbf-explore .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  transition: all var(--transition-fast);
  white-space: nowrap;
  min-height: 44px;
  cursor: pointer;
}

.lbf-explore .btn-primary {
  background: var(--color-cta);
  color: var(--color-cta-text);
}
.lbf-explore .btn-primary:hover { background: var(--color-cta-hover); }

.lbf-explore .btn-outline {
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
}
.lbf-explore .btn-outline:hover { border-color: var(--color-text-secondary); }

.lbf-explore .btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
}
.lbf-explore .btn-ghost:hover { color: var(--color-text); background: var(--color-bg-secondary); }

.lbf-explore .btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  min-height: 36px;
}

.lbf-explore .btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  min-height: 48px;
}

.lbf-explore .btn-dark {
  background: var(--color-bg-dark);
  color: #fff;
}
.lbf-explore .btn-dark:hover { background: #2a2a42; }

/* ========== Badge / Chip ========== */
.lbf-explore .badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.lbf-explore .chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.lbf-explore .chip:hover, .lbf-explore .chip.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* ========== Search ========== */
.lbf-explore .search-wrap {
  display: flex;
  gap: var(--space-2);
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 540px) {
  .lbf-explore .search-wrap { flex-direction: column; }
  .lbf-explore .search-btn { width: 100%; }
}

.lbf-explore .search-input {
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-bg);
  transition: border-color var(--transition-fast);
}

.lbf-explore .search-input:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.lbf-explore .search-input input {
  flex: 1;
  border: none;
  outline: none;
  background: none;
  font-size: var(--text-base);
}

.lbf-explore .search-input input::placeholder {
  color: var(--color-text-tertiary);
}

.lbf-explore .search-icon {
  width: 20px;
  height: 20px;
  color: var(--color-text-tertiary);
  flex-shrink: 0;
}

.lbf-explore .search-btn {
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  background: var(--color-cta);
  color: var(--color-cta-text);
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
  min-height: 44px;
}
.lbf-explore .search-btn:hover { background: var(--color-cta-hover); }

/* ========== Netflix Cards (image-first) ========== */
.lbf-explore .card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
}

.lbf-explore .card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.lbf-explore .card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-bg-secondary);
}

.lbf-explore .card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.lbf-explore .card:hover .card-thumb img {
  transform: scale(1.03);
}

.lbf-explore .card-thumb-gradient {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.lbf-explore .card-cover {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.lbf-explore .card-cover-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.lbf-explore .card-cover-content {
  position: relative;
  z-index: 1;
  padding: 12px 14px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
}

.lbf-explore .card-cover-icon {
  font-size: 22px;
  filter: grayscale(1) brightness(10);
  opacity: 0.7;
  line-height: 1;
}

.lbf-explore .card-cover-title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lbf-explore .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4);
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
}

.lbf-explore .card-overlay-title {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  line-height: var(--leading-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lbf-explore .card-duration {
  position: absolute;
  bottom: var(--space-2);
  right: var(--space-2);
  padding: 2px var(--space-2);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
}

.lbf-explore .card-body {
  padding: var(--space-3) var(--space-1);
}

.lbf-explore .card-title {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  line-height: var(--leading-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-1);
}

.lbf-explore .card-subtitle {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

/* Trending card */
.lbf-explore .card-trending {
  min-width: 240px;
  max-width: 260px;
  flex-shrink: 0;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg);
}

@media (min-width: 768px) {
  .lbf-explore .card-trending { min-width: 220px; max-width: 240px; }
}

/* Deep dive card (editorial) */
.lbf-explore .card-deep {
  display: flex;
  gap: var(--space-4);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--space-4);
  background: var(--color-bg);
  position: relative;
  transition: box-shadow var(--transition-base);
}

.lbf-explore .card-deep:hover { box-shadow: var(--shadow-md); }

.lbf-explore .card-deep .card-thumb {
  width: 140px;
  min-width: 140px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  position: relative;
}

.lbf-explore .card-deep .card-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.lbf-explore .card-deep .card-title {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  -webkit-line-clamp: 2;
  margin-bottom: var(--space-2);
}

.lbf-explore .card-deep .card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-3);
}

.lbf-explore .card-deep .card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
}

.lbf-explore .card-bookmark {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 2;
  border: none;
}

.lbf-explore .card-bookmark:hover { color: var(--color-primary); background: #fff; }

.lbf-explore .card-play {
  position: absolute;
  bottom: var(--space-2);
  left: var(--space-2);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.lbf-explore .card-play svg { width: 12px; height: 12px; }

@media (min-width: 768px) {
  .lbf-explore .card-deep .card-thumb { width: 200px; min-width: 200px; }
}

/* ========== Carousel ========== */
.lbf-explore .carousel {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: var(--content-padding);
  padding: var(--space-2) var(--content-padding);
  margin: 0 calc(-1 * var(--content-padding));
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.lbf-explore .carousel::-webkit-scrollbar { display: none; }

.lbf-explore .carousel-wrap {
  position: relative;
}

.lbf-explore .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: var(--z-base);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.lbf-explore .carousel-arrow:hover { box-shadow: var(--shadow-lg); }
.lbf-explore .carousel-arrow.left { left: -16px; }
.lbf-explore .carousel-arrow.right { right: -16px; }

@media (min-width: 768px) {
  .lbf-explore .carousel-arrow { display: flex; }
}

/* ========== Category Grid ========== */
.lbf-explore .cat-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  background: var(--color-bg);
  transition: all var(--transition-fast);
  cursor: pointer;
  min-width: 180px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.lbf-explore .cat-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.lbf-explore .cat-banner {
  position: relative;
  height: 110px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lbf-explore .cat-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lbf-explore .cat-banner-icon {
  position: relative;
  z-index: 1;
  font-size: 44px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
  line-height: 1;
}

.lbf-explore .cat-banner-count {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  z-index: 1;
  padding: 2px var(--space-2);
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: var(--font-bold);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.lbf-explore .cat-body {
  padding: var(--space-4) var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1;
}

.lbf-explore .cat-name {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
}

.lbf-explore .cat-topics {
  font-size: 11px;
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.lbf-explore .cat-link {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-primary);
  margin-top: var(--space-2);
}
.lbf-explore .cat-card:hover .cat-link { text-decoration: underline; }

.lbf-explore .cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 480px) {
  .lbf-explore .cat-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
}
@media (min-width: 768px) {
  .lbf-explore .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .lbf-explore .cat-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ========== Top Nav ========== */
/* ========== Top Nav — matches libertify.com ========== */
.lbf-explore .top-nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  padding: var(--space-2) 0;
}

.lbf-explore .top-nav .container {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Logo */
.lbf-explore .nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.lbf-explore .nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
}
@media (min-width: 900px) {
  .lbf-explore .nav-logo-img { height: 38px; }
}

/* Back button (subpages) */
.lbf-explore .nav-back-btn {
  margin-right: var(--space-1);
}

/* Page title (subpages, mobile) */
.lbf-explore .nav-page-title {
  flex: 1;
  min-width: 0;
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 900px) {
  .lbf-explore .nav-page-title { display: none; }
}

/* Search bar (desktop) */
.lbf-explore .nav-search {
  display: none;
  flex: 1;
  max-width: 300px;
  margin-left: auto;
}
@media (min-width: 900px) {
  .lbf-explore .nav-search { display: block; }
}
.lbf-explore .nav-search .search-input {
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}
.lbf-explore .nav-search .search-input input {
  font-size: var(--text-sm);
}

/* ---- Desktop nav links ---- */
.lbf-explore .nav-links {
  display: none;
  align-items: center;
  margin-left: auto;
}
@media (min-width: 900px) {
  .lbf-explore .nav-links { display: flex; }
}

.lbf-explore .nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lbf-explore .nav-menu > li {
  position: relative;
}

.lbf-explore .nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-2) var(--space-3);
  font-size: 14px;
  font-weight: var(--font-medium);
  color: var(--color-text);
  white-space: nowrap;
  transition: color var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.lbf-explore .nav-link:hover { color: var(--color-primary); }

.lbf-explore .nav-dd-caret {
  opacity: 0.5;
  transition: transform var(--transition-fast);
}

/* Dropdown menus (desktop — hover) */
.lbf-explore .nav-dd-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: var(--space-2) 0;
  list-style: none;
  z-index: 100;
}
.lbf-explore .nav-dd-menu li a {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: 13px;
  font-weight: var(--font-normal);
  color: var(--color-text-secondary);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.lbf-explore .nav-dd-menu li a:hover {
  background: var(--color-bg-secondary);
  color: var(--color-text);
}

@media (min-width: 900px) {
  .lbf-explore .nav-dd:hover > .nav-dd-menu { display: block; }
  .lbf-explore .nav-dd:hover .nav-dd-caret { transform: rotate(180deg); }
}

/* Divider before Login in desktop menu */
.lbf-explore .nav-menu-divider {
  display: none;
}
@media (min-width: 900px) {
  .lbf-explore .nav-menu-divider {
    display: block;
    width: 1px;
    height: 20px;
    background: var(--color-border-light);
    margin: 0 var(--space-2);
  }
}

/* Book a Demo CTA in nav list (hidden on desktop, visible in mobile menu) */
.lbf-explore .nav-menu-cta {
  display: none;
}

.lbf-explore .nav-btn-demo {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: var(--font-semibold);
  white-space: nowrap;
  transition: background var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.lbf-explore .nav-btn-demo:hover { background: var(--color-primary-hover); color: #fff; }

/* Desktop: show demo button in actions area, hide from menu */
.lbf-explore .nav-demo-desktop { display: none; }
@media (min-width: 900px) {
  .lbf-explore .nav-demo-desktop { display: inline-flex; }
}

/* ---- Right side actions ---- */
.lbf-explore .nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
  flex-shrink: 0;
}
@media (min-width: 900px) {
  .lbf-explore .nav-actions { margin-left: 0; }
}

.lbf-explore .nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  transition: background var(--transition-fast);
}
.lbf-explore .nav-icon-btn:hover { background: var(--color-bg-secondary); }

/* Search icon on mobile only */
.lbf-explore .nav-search-mobile { display: flex; }
@media (min-width: 900px) {
  .lbf-explore .nav-search-mobile { display: none; }
}

/* ---- Hamburger ---- */
.lbf-explore .nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}
.lbf-explore .nav-hamburger:hover { background: var(--color-bg-secondary); }

.lbf-explore .nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Hamburger → X when open */
.lbf-explore .nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.lbf-explore .nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.lbf-explore .nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .lbf-explore .nav-hamburger { display: none; }
}

/* ---- Mobile slide-out menu ---- */
@media (max-width: 899px) {
  .lbf-explore .nav-links {
    display: none !important;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0,0,0,0.4);
    z-index: 200;
    align-items: flex-start;
    justify-content: flex-end;
    margin: 0;
  }
  .lbf-explore .nav-links.nav-links-open {
    display: flex !important;
  }

  .lbf-explore .nav-menu {
    flex-direction: column;
    align-items: stretch;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    background: #fff;
    padding: var(--space-6) 0 var(--space-4);
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    animation: nav-slide-in 0.25s ease;
  }

  .lbf-explore @keyframes nav-slide-in {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
  }

  .lbf-explore .nav-menu > li { border-bottom: 1px solid var(--color-border-light); }
  .lbf-explore .nav-menu > li:last-child { border-bottom: none; }

  .lbf-explore .nav-link {
    padding: var(--space-3) var(--space-5);
    font-size: 15px;
  }

  /* Dropdown in mobile: toggle open */
  .lbf-explore .nav-dd-menu {
    display: none;
    position: static;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 var(--space-2);
    background: var(--color-bg-secondary);
  }
  .lbf-explore .nav-dd-open > .nav-dd-menu { display: block; }
  .lbf-explore .nav-dd-open .nav-dd-caret { transform: rotate(180deg); }
  .lbf-explore .nav-dd-menu li a {
    padding: var(--space-2) var(--space-6);
    padding-left: calc(var(--space-5) + var(--space-4));
  }

  .lbf-explore .nav-menu-divider { display: none; }

  .lbf-explore .nav-menu-cta {
    display: block;
    padding: var(--space-4) var(--space-5);
  }
  .lbf-explore .nav-menu-cta .nav-btn-demo {
    display: block;
    text-align: center;
    width: 100%;
    padding: var(--space-3) var(--space-4);
  }
}

.lbf-explore.nav-overlay-active {
  overflow: hidden;
}

/* ========== Bottom Nav (mobile) ========== */
.lbf-explore .bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-light);
  padding: var(--space-2) 0 env(safe-area-inset-bottom, var(--space-2));
  display: flex;
  justify-content: space-around;
}

@media (min-width: 768px) {
  .lbf-explore .bottom-nav { display: none; }
}

.lbf-explore .bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--space-1) var(--space-2);
  font-size: 10px;
  font-weight: var(--font-medium);
  color: var(--color-text-tertiary);
  transition: color var(--transition-fast);
  min-width: 56px;
}

.lbf-explore .bottom-nav-item.active { color: var(--color-primary); }

.lbf-explore .bottom-nav-item svg { width: 22px; height: 22px; }

.lbf-explore .bottom-nav-create {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -12px;
  box-shadow: var(--shadow-md);
}

.lbf-explore .bottom-nav-create svg { width: 24px; height: 24px; }

/* ========== Tab Bar ========== */
.lbf-explore .tab-bar {
  display: flex;
  gap: var(--space-1);
  padding: var(--space-1);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.lbf-explore .tab-bar::-webkit-scrollbar { display: none; }

.lbf-explore .tab-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-secondary);
  white-space: nowrap;
  transition: all var(--transition-fast);
  min-height: 40px;
  cursor: pointer;
}

.lbf-explore .tab-item.active {
  background: var(--color-bg);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  font-weight: var(--font-semibold);
}

.lbf-explore .tab-item svg { width: 16px; height: 16px; }

/* ========== Sticky Action Bar ========== */
.lbf-explore .sticky-bar {
  position: fixed;
  bottom: var(--bottom-nav-height);
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-light);
  padding: var(--space-3) var(--content-padding);
  display: flex;
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .lbf-explore .sticky-bar { bottom: 0; max-width: 720px; margin: 0 auto; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
}

.lbf-explore .sticky-bar .btn { flex: 1; }

/* ========== Proof Points ========== */
.lbf-explore .proof-points {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.lbf-explore .proof-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.lbf-explore .proof-icon {
  color: var(--color-text-tertiary);
}

.lbf-explore .proof-icon svg { width: 18px; height: 18px; }

.lbf-explore .proof-number {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  color: var(--color-text);
}

.lbf-explore .proof-label {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
}

/* ========== Article Grid ========== */
.lbf-explore .article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 540px) {
  .lbf-explore .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .lbf-explore .article-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ========== Latest Grid ========== */
.lbf-explore .article-grid-latest {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
@media (min-width: 540px) {
  .lbf-explore .article-grid-latest { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .lbf-explore .article-grid-latest { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .lbf-explore .article-grid-latest { grid-template-columns: repeat(5, 1fr); }
}

/* Latest card variant */
.lbf-explore .card-latest {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.lbf-explore .card-latest:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.lbf-explore .card-latest .card-thumb {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.lbf-explore .card-latest .card-thumb img, .lbf-explore .card-latest .card-thumb .card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lbf-explore .card-latest .card-body {
  padding: var(--space-3);
}
.lbf-explore .card-latest .card-title {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  line-height: var(--leading-tight);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--space-2);
}
.lbf-explore .card-meta-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.lbf-explore .card-date {
  font-size: 11px;
  color: var(--color-text-secondary);
  font-weight: var(--font-medium);
}
.lbf-explore .card-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: var(--font-medium);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* ========== Steps / Why Different ========== */
.lbf-explore .steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .lbf-explore .steps {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-8);
  }
}

.lbf-explore .step {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
}

@media (min-width: 768px) {
  .lbf-explore .step {
    flex-direction: column;
    text-align: center;
    padding: 0;
  }
}

.lbf-explore .step-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
}

.lbf-explore .step-content {}

.lbf-explore .step-number {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--color-text);
  margin-bottom: 2px;
}

.lbf-explore .step-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ========== CTA Blocks ========== */
.lbf-explore .cta-grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .lbf-explore .cta-grid { grid-template-columns: repeat(3, 1fr); }
}

.lbf-explore .cta-block {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--color-bg-secondary);
  display: flex;
  flex-direction: column;
}

.lbf-explore .cta-block h3 {
  font-size: var(--text-base);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
}

.lbf-explore .cta-block p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
  flex: 1;
}

.lbf-explore .cta-illustration {
  margin-top: var(--space-4);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  border: 1px solid var(--color-border-light);
}

/* ========== Key Takeaways ========== */
.lbf-explore .takeaways {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.lbf-explore .takeaway-item {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.lbf-explore .takeaway-item:last-child { border-bottom: none; }

.lbf-explore .takeaway-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  flex-shrink: 0;
  margin-top: 6px;
}

.lbf-explore .takeaway-text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
}

/* ========== AI Chat Prompt ========== */
.lbf-explore .chat-block {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}

.lbf-explore .chat-block h3 {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-4);
}

.lbf-explore .chat-suggestions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.lbf-explore .chat-suggestion {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-bg-secondary);
  font-size: var(--text-sm);
  color: var(--color-text);
  cursor: pointer;
  transition: background var(--transition-fast);
  border: none;
  text-align: left;
}

.lbf-explore .chat-suggestion:hover { background: var(--color-primary-light); }

.lbf-explore .chat-input-wrap {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.lbf-explore .chat-input-wrap input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  outline: none;
  font-size: var(--text-sm);
}

.lbf-explore .chat-input-wrap input:focus { border-color: var(--color-primary); }

.lbf-explore .chat-send {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
  cursor: pointer;
}

/* ========== Loading State ========== */
.lbf-explore .loading-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-4);
}

.lbf-explore .loading-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.lbf-explore .loading-card .skeleton-thumb {
  width: 100%;
  aspect-ratio: 16/9;
}

.lbf-explore .loading-card .skeleton-text {
  height: 14px;
  margin: var(--space-3) var(--space-2);
  border-radius: var(--radius-sm);
}

.lbf-explore .loading-card .skeleton-text.short { width: 60%; }

/* ========== Icon Helper ========== */
.lbf-explore .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lbf-explore .icon svg { width: 1em; height: 1em; }

/* ========== Search Filters ========== */
.lbf-explore .search-filters {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  margin-bottom: var(--space-6);
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.lbf-explore .search-filters::-webkit-scrollbar { display: none; }


/* === pages.css === */
/* ========== Breadcrumb ========== */
.lbf-explore .breadcrumb {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border-light);
  padding: var(--space-3) 0;
}
.lbf-explore .breadcrumb .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1;
}
.lbf-explore .bc-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}
.lbf-explore .bc-link:hover {
  color: var(--color-primary);
}
.lbf-explore .bc-sep {
  flex-shrink: 0;
  opacity: 0.4;
  margin: 0 2px;
  vertical-align: middle;
}
.lbf-explore .bc-current {
  color: var(--color-text);
  font-weight: var(--font-medium);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 320px;
}
@media (max-width: 599px) {
  .lbf-explore .bc-current { max-width: 180px; }
}

/* ========== HOMEPAGE ========== */

/* Hero */
.lbf-explore .hero {
  background: var(--color-bg);
  padding: var(--space-8) 0 var(--space-10);
  border-bottom: 1px solid var(--color-border-light);
}

.lbf-explore .hero .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.lbf-explore .hero-content { width: 100%; }

@media (min-width: 1024px) {
  .lbf-explore .hero { padding: var(--space-10) 0 var(--space-12); }
  .lbf-explore .hero .container {
    flex-direction: row;
    align-items: center;
    gap: var(--space-12);
  }
  .lbf-explore .hero-content { flex: 0 0 42%; }
  .lbf-explore .hero-visual { flex: 1; }
}

.lbf-explore .hero-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.lbf-explore .hero h1 {
  font-size: var(--text-3xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .lbf-explore .hero h1 { font-size: var(--text-4xl); }
}

.lbf-explore .hero-accent { color: var(--color-primary); }

.lbf-explore .hero-sub {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  max-width: 480px;
}

@media (min-width: 768px) {
  .lbf-explore .hero-sub { font-size: var(--text-lg); }
}

.lbf-explore .hero-ctas {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

/* Hero Experience Preview */
.lbf-explore .hero-visual {
  display: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
  .lbf-explore .hero-visual { display: block; }
}

/* Hero video card */
.lbf-explore .hero-video-card {
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.lbf-explore .hero-video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.lbf-explore .hero-video-wrap {
  position: relative;
  background: var(--color-bg-dark);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.lbf-explore .hero-video-wrap video, .lbf-explore .hero-video-wrap .hero-video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lbf-explore .hero-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: var(--space-6);
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.7) 100%
  );
  transition: opacity 0.3s ease;
}
.lbf-explore .hero-video-overlay-playing {
  opacity: 0;
  pointer-events: none;
}

.lbf-explore .hero-video-cat {
  font-size: 11px;
  font-weight: var(--font-semibold);
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: var(--space-2);
}

.lbf-explore .hero-video-title {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-2);
  max-width: 280px;
}

.lbf-explore .hero-video-sub {
  font-size: var(--text-sm);
  opacity: 0.7;
  margin-bottom: var(--space-5);
}

.lbf-explore .hero-video-play {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.lbf-explore .hero-video-play:hover {
  background: rgba(255,255,255,0.28);
  transform: scale(1.08);
}

.lbf-explore .hero-video-duration {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
}

.lbf-explore .hero-video-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-4);
  background: var(--color-cta);
  transition: background var(--transition-fast);
}
.lbf-explore .hero-video-card:hover .hero-video-cta {
  background: var(--color-cta-hover);
}

.lbf-explore .hero-video-cta-text {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: #fff;
  letter-spacing: 0.01em;
}

/* Trending chips */
.lbf-explore .trending-chips {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-4);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Deep dives grid */
.lbf-explore .deep-dives-grid {
  display: grid;
  gap: var(--space-4);
}

.lbf-explore .article-grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .lbf-explore .deep-dives-grid { grid-template-columns: repeat(2, 1fr); }
  .lbf-explore .article-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .lbf-explore .article-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ========== Category Page ========== */
.lbf-explore .cat-page-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.lbf-explore .cat-page-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lbf-explore .cat-page-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin: 0;
  line-height: 1.2;
}

.lbf-explore .cat-page-count {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin: var(--space-1) 0 0;
}

.lbf-explore .cat-page-sort {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.lbf-explore .cat-sort-btn {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}

.lbf-explore .cat-sort-btn.active {
  border-color: var(--color-cta);
  color: var(--color-cta);
  background: rgba(59,212,203,0.08);
}

.lbf-explore .cat-sort-btn:hover:not(.active) {
  border-color: var(--color-text-secondary);
  color: var(--color-text);
}

.lbf-explore .cat-page-grid {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .lbf-explore .cat-page-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .lbf-explore .cat-page-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ========== Footer — matches libertify.com ========== */
.lbf-explore .site-footer {
  background: var(--color-bg-dark);
  color: #fff;
  padding: var(--space-12) 0 var(--space-6);
  margin-bottom: 64px;
}
@media (min-width: 900px) {
  .lbf-explore .site-footer { margin-bottom: 0; }
}

.lbf-explore .footer-grid {
  display: grid;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}
@media (min-width: 768px) {
  .lbf-explore .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

.lbf-explore .footer-logo { display: inline-block; margin-bottom: var(--space-4); }
.lbf-explore .footer-logo-img { height: 36px; width: auto; }

.lbf-explore .footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
}
.lbf-explore .footer-contact li {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  padding: 2px 0;
  line-height: var(--leading-relaxed);
}
.lbf-explore .footer-contact a {
  color: rgba(255,255,255,0.75);
  display: inline;
  padding: 0;
}
.lbf-explore .footer-contact a:hover { color: #fff; }

.lbf-explore .footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-3);
}
.lbf-explore .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  transition: background var(--transition-fast), color var(--transition-fast);
  padding: 0;
}
.lbf-explore .footer-social a:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.lbf-explore .footer-col { display: flex; flex-direction: column; }

.lbf-explore .footer-heading {
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-4);
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lbf-explore .site-footer .footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  padding: 3px 0;
  transition: color var(--transition-fast);
  line-height: var(--leading-relaxed);
}
.lbf-explore .site-footer .footer-col a:hover { color: #fff; }

.lbf-explore .footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}
.lbf-explore .footer-bottom a {
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lbf-explore .footer-bottom a:hover { color: rgba(255,255,255,0.8); }

/* ========== EXPERIENCE PAGE ========== */

/* Native video hero — SEO-visible */
.lbf-explore .exp-video-hero {
  width: 100%;
  background: #000;
  position: relative;
}

.lbf-explore .exp-video-hero video {
  width: 100%;
  display: block;
  max-height: 75vh;
  object-fit: contain;
  background: #000;
}

.lbf-explore .exp-video-overlay {
  position: absolute;
  inset: 0;
  bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.15);
  transition: opacity var(--transition-base);
  cursor: pointer;
}

.lbf-explore .exp-video-overlay.playing { opacity: 0; pointer-events: none; }
.lbf-explore .exp-video-hero:hover .exp-video-overlay.playing { opacity: 1; pointer-events: auto; }

.lbf-explore .exp-video-play-btn {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lbf-explore .exp-video-play-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.05);
}

.lbf-explore .exp-video-info {
  position: absolute;
  bottom: 44px;
  right: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  z-index: 2;
}

.lbf-explore .exp-video-speed {
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  min-width: 36px;
  text-align: center;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  line-height: 1.4;
}
.lbf-explore .exp-video-speed:hover {
  background: rgba(255,255,255,0.3);
}
.lbf-explore .exp-video-speed-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.lbf-explore .exp-video-speed-active:hover {
  background: var(--color-primary-hover);
}

.lbf-explore .exp-video-duration {
  padding: 3px var(--space-2);
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
}

/* Video seek bar */
.lbf-explore .exp-video-controls {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  background: #111;
}

.lbf-explore .exp-vc-time {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,0.7);
  min-width: 32px;
  user-select: none;
}

.lbf-explore .exp-vc-track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  touch-action: none;
}
.lbf-explore .exp-vc-track:hover { height: 8px; }
.lbf-explore .exp-vc-track:hover .exp-vc-thumb { opacity: 1; }

.lbf-explore .exp-vc-buffered {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
  pointer-events: none;
}

.lbf-explore .exp-vc-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--color-primary);
  border-radius: 3px;
  pointer-events: none;
}

.lbf-explore .exp-vc-thumb {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}
.lbf-explore .exp-vc-track.seeking .exp-vc-thumb, .lbf-explore .exp-vc-track:active .exp-vc-thumb {
  opacity: 1;
}

/* Question prompt banner */
.lbf-explore .question-prompt {
  display: none;
  background: linear-gradient(135deg, #6C3AED08 0%, #6C3AED15 100%);
  border-bottom: 1px solid var(--color-primary);
}

.lbf-explore .question-prompt-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.lbf-explore .question-prompt-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.lbf-explore .question-prompt-body {
  flex: 1;
  min-width: 0;
}

.lbf-explore .question-prompt-label {
  font-size: 11px;
  font-weight: var(--font-semibold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.lbf-explore .question-prompt-text {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-text);
  line-height: var(--leading-snug);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lbf-explore .question-prompt-copy {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lbf-explore .question-prompt-copy:hover { opacity: 0.85; }

.lbf-explore .question-prompt-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-text-secondary);
  border: none;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lbf-explore .question-prompt-close:hover { color: var(--color-text); background: var(--color-bg-secondary); }

/* Mode switcher: Video ↔ Interactive Experience */
.lbf-explore .exp-mode-bar {
  display: flex;
  background: var(--color-bg-dark);
  padding: var(--space-1) var(--space-4);
  gap: var(--space-2);
  position: sticky;
  top: 52px;
  z-index: 10;
}

.lbf-explore .exp-mode-btn {
  flex: 1;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: rgba(255,255,255,0.6);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  line-height: 1.4;
}

.lbf-explore .exp-mode-btn.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

.lbf-explore .exp-mode-btn:hover:not(.active) {
  color: rgba(255,255,255,0.85);
}

/* Full-width iframe — edge-to-edge */
.lbf-explore .exp-iframe-full {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 80vh;
  background: #fff;
  overflow: hidden;
}

@media (min-width: 768px) {
  .lbf-explore .exp-iframe-full {
    aspect-ratio: 16 / 9;
    max-height: 70vh;
  }
}

@media (min-width: 1200px) {
  .lbf-explore .exp-iframe-full {
    max-height: 75vh;
  }
}

.lbf-explore .exp-iframe-full iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Floating share button */
.lbf-explore .fab-share {
  position: fixed;
  bottom: var(--space-4);
  right: var(--space-4);
  z-index: var(--z-sticky);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  background: var(--color-cta);
  color: var(--color-cta-text);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(59,212,203,0.35);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.lbf-explore .fab-share:hover {
  background: var(--color-cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59,212,203,0.45);
}
.lbf-explore .fab-share:active { transform: scale(0.96); }
.lbf-explore .fab-share svg { flex-shrink: 0; }
@media (min-width: 768px) {
  .lbf-explore .fab-share { bottom: var(--space-6); right: var(--space-6); }
}

.lbf-explore.exp-dark .exp-article-raw {
  color: rgba(255,255,255,0.85);
}
.lbf-explore.exp-dark .exp-article-raw h1, .lbf-explore.exp-dark .exp-article-raw h2, .lbf-explore.exp-dark .exp-article-raw h3, .lbf-explore.exp-dark .exp-article-raw h4 { color: #fff; }
.lbf-explore.exp-dark .exp-article-raw a { color: var(--color-primary); }

.lbf-explore.exp-dark .site-footer { margin-bottom: 64px; }

.lbf-explore .exp-section { margin-bottom: var(--space-8); }

.lbf-explore .exp-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-2);
}

@media (min-width: 768px) {
  .lbf-explore .exp-title { font-size: var(--text-3xl); }
}

.lbf-explore .exp-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.lbf-explore .exp-related { margin-bottom: calc(var(--space-16) + var(--bottom-nav-height)); }

/* Inline article preview */
.lbf-explore .exp-article-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.lbf-explore .exp-article-preview {
  position: relative;
  max-height: 320px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.lbf-explore .exp-article-preview.expanded {
  max-height: none;
}

.lbf-explore .exp-article-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lbf-explore .exp-article-preview.expanded .exp-article-fade {
  opacity: 0;
}

.lbf-explore .exp-article-expand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-3) var(--space-4);
  margin-top: var(--space-3);
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  cursor: pointer;
  transition: background 0.2s ease;
}

.lbf-explore .exp-article-expand:hover { background: var(--color-primary-dark, #5b21b6); }

.lbf-explore .exp-article-expand.expanded {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
  margin-top: var(--space-4);
}

.lbf-explore .exp-article-expand.expanded svg {
  transform: rotate(180deg);
}

/* Article content from WordPress */
.lbf-explore .exp-article-content {
  max-width: 800px;
  margin: 0 auto;
}

.lbf-explore .exp-article-content .lbf-v4-wrapper {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 0 var(--space-8) 0 !important;
}

.lbf-explore .exp-article-content .lbf-v4-xp {
  display: none !important;
}

.lbf-explore .exp-article-content .lbf-v4-title {
  font-size: var(--text-3xl) !important;
  font-weight: var(--font-extrabold) !important;
  font-family: var(--font-sans) !important;
}

.lbf-explore .exp-article-content .lbf-v4-toc {
  border-radius: var(--radius-lg) !important;
}

.lbf-explore .exp-article-content .lbf-v4-takeaways {
  border-radius: var(--radius-lg) !important;
}

.lbf-explore .exp-article-content .lbf-v4-body h2 {
  font-family: var(--font-sans) !important;
  scroll-margin-top: 80px;
}

.lbf-explore .exp-article-content .lbf-v4-body h3 {
  font-family: var(--font-sans) !important;
}

.lbf-explore .exp-article-content .lbf-v4-body p {
  font-size: 17px;
  line-height: 1.75;
}

/* Fallback article styling if no lbf-v4 classes */
.lbf-explore .exp-article-raw {
  max-width: 800px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text);
}

.lbf-explore .exp-article-raw h1 {
  font-size: var(--text-3xl);
  font-weight: var(--font-extrabold);
  margin-bottom: var(--space-4);
}

.lbf-explore .exp-article-raw h2 {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin: var(--space-10) 0 var(--space-4) 0;
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--color-border);
  scroll-margin-top: 80px;
}

.lbf-explore .exp-article-raw h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  margin: var(--space-8) 0 var(--space-3) 0;
}

.lbf-explore .exp-article-raw p {
  margin: 0 0 var(--space-5) 0;
}

.lbf-explore .exp-article-raw ul, .lbf-explore .exp-article-raw ol {
  margin: 0 0 var(--space-5) 0;
  padding-left: var(--space-6);
}

.lbf-explore .exp-article-raw li {
  margin-bottom: var(--space-2);
  list-style: disc;
}

.lbf-explore .exp-article-raw ol li { list-style: decimal; }

.lbf-explore .exp-article-raw blockquote {
  border-left: 4px solid var(--color-primary);
  margin: var(--space-6) 0;
  padding: var(--space-4) var(--space-6);
  background: var(--color-bg-secondary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--color-text-secondary);
}

.lbf-explore .exp-article-raw img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: var(--space-6) 0;
}

.lbf-explore .exp-article-raw a {
  color: var(--color-primary);
  text-decoration: underline;
}

.lbf-explore .exp-article-raw strong { font-weight: var(--font-semibold); }

.lbf-explore .exp-article-raw table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-6) 0;
  font-size: var(--text-sm);
}

.lbf-explore .exp-article-raw th, .lbf-explore .exp-article-raw td {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  text-align: left;
}

.lbf-explore .exp-article-raw th {
  background: var(--color-bg-secondary);
  font-weight: var(--font-semibold);
}

/* ========== CATEGORY PAGE ========== */
.lbf-explore .cat-header {
  padding: var(--space-8) 0;
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border-light);
}

.lbf-explore .cat-header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.lbf-explore .cat-header-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.lbf-explore .cat-header h1 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-1);
}

.lbf-explore .cat-header-count {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.lbf-explore .cat-sort {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.lbf-explore .load-more {
  display: flex;
  justify-content: center;
  padding: var(--space-8) 0;
}

/* ========== SEARCH PAGE ========== */
.lbf-explore .search-header {
  padding: var(--space-6) 0;
  background: var(--color-bg-secondary);
  border-bottom: 1px solid var(--color-border-light);
}

.lbf-explore .search-results-info {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.lbf-explore .no-results {
  text-align: center;
  padding: var(--space-16) 0;
}

.lbf-explore .no-results h2 { margin-bottom: var(--space-3); }

.lbf-explore .no-results p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}


