/**
 * FEM Business Club - Base Stylesheet
 * File: fem-base.css
 * Version: 3.0.0
 * Date: February 2026
 *
 * ALTIJD LADEN - Bevat alle gedeelde stijlen voor publieke pages + member navigatie:
 * - CSS Variables & Design System
 * - Global Base Styles & Typography
 * - Buttons & Forms
 * - PUBLIC Navigation (Header horizontal)
 * - MEMBER Navigation (Sidebar + Minimal Header)
 * - Filter Pills
 * - Generic Components (Cards, Alerts, Empty State)
 * - Public Page Styles (Homepage, Blog, Expert, FAQ, Contact, Login)
 * - Footer (publiek + member)
 * - Responsive Breakpoints
 *
 * Member-specifieke content stijlen (Feed, Messages, Assignments, Files,
 * Sidebar Profile, etc.) zitten ALLEEN in fem-members.css.
 */

/* ============================================
   1. CSS VARIABLES & DESIGN SYSTEM
   ============================================ */

:root {
  /* Typography */
  --font-body: "Raleway", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-nav: "Raleway", system-ui, sans-serif;
  
  /* Font Sizing Scale */
  --font-size-xs: 0.75rem;      /* 12px */
  --font-size-sm: 0.875rem;     /* 14px */
  --font-size-base: 1rem;       /* 16px */
  --font-size-lg: 1.125rem;     /* 18px */
  --font-size-xl: 1.25rem;      /* 20px */
  --font-size-2xl: 1.5rem;      /* 24px */
  --font-size-3xl: 1.875rem;    /* 30px */
  --font-size-4xl: 2.25rem;     /* 36px */
  --font-size-5xl: 3rem;        /* 48px */
  
  /* Letter Spacing */
  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.025em;
  --letter-spacing-wider: 0.05em;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 1rem;      /* 16px */
  --space-md: 1.5rem;    /* 24px */
  --space-lg: 2rem;      /* 32px */
  --space-xl: 3rem;      /* 48px */
  --space-2xl: 4rem;     /* 64px */
  
  /* FEM Brand Colors */
  --fem-primary: #571512;
  --fem-primary-light: #6b1d19;
  --fem-primary-dark: #3d0f0d;
  --fem-accent: #e87d5e;
  --fem-accent-soft: #f4a68a;
  --fem-accent-light: #fff5f2;
  --fem-gold: #c9a96e;
  --fem-gold-light: #f5efe6;
  
  /* FEM Warm Colors (member area) */
  --fem-warm-bg: #fffbf9;
  --fem-warm-border: #f0e5dd;
  --fem-navy: #04152A;
  
  /* Color aliases for compatibility */
  --color-neutral-50: #fafaf9;
  --color-neutral-100: #f5f5f4;
  --color-neutral-200: #e7e5e4;
  --color-neutral-300: #d6d3d1;
  --color-neutral-400: #a8a29e;
  --color-neutral-500: #78716c;
  --color-neutral-600: #57534e;
  --color-neutral-700: #44403c;
  --color-neutral-800: #292524;
  --color-neutral-900: #1c1917;
  
  /* Neutral Palette */
  --neutral-50: #fefdfb;
  --neutral-100: #faf8f5;
  --neutral-200: #f0e8df;
  --neutral-300: #e0d5c9;
  --neutral-400: #b8a99a;
  --neutral-500: #8c7d6d;
  --neutral-600: #5c5248;
  --neutral-700: #3d352e;
  --neutral-800: #292420;
  --neutral-900: #1c1917;
  
  /* Semantic Colors */
  --background-color: #f5f1ed;
  --surface-color: #ffffff;
  --text-primary: #292524;
  --text-secondary: #57534e;
  --text-muted: #a8a29e;
  
  /* Component Variables */
  --header-height: 80px;
  --header-height-member: 64px;
  --sidebar-width: 280px;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-full: 9999px;
  
  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(87, 21, 18, 0.04);
  --shadow-sm: 0 1px 3px rgba(87, 21, 18, 0.06);
  --shadow-md: 0 4px 12px rgba(87, 21, 18, 0.08);
  --shadow-lg: 0 8px 24px rgba(87, 21, 18, 0.12);
  --shadow-xl: 0 16px 48px rgba(87, 21, 18, 0.16);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Navigation Colors */
  --nav-color: #292524;
  --nav-hover-color: #e87d5e;
  --nav-mobile-background: #EFEDE8;
  --nav-dropdown-bg: #ffffff;
}

/* Background Presets */
.light-background {
  --background-color: #f5f1ed;
  --surface-color: #ffffff;
  background-color: var(--background-color);
}

.light2-background {
  --background-color: #faf8f5;
  --surface-color: #faf8f5;
  background-color: var(--background-color);
}

.light3-background {
  --background-color: #f5f1ed;
  --surface-color: #f5f1ed;
  background-color: var(--background-color);
}

.dark-background {
  --background-color: #571512;
  --text-primary: #ffffff;
  --surface-color: #571512;
  background-color: var(--background-color);
  color: #ffffff;
}

.dark-background h1,
.dark-background h2,
.dark-background h3,
.dark-background h4,
.dark-background h5,
.dark-background h6,
.dark-background p,
.dark-background b,
.dark-background strong,
.dark-background span,
.dark-background div {
  color: #ffffff;
}

.dark-background i.bi-check-circle-fill {
  color: var(--fem-accent);
}

.dark2-background {
  --background-color: #04152A;
  --text-primary: #ffffff;
  --surface-color: #04152A;
  background-color: var(--background-color);
  color: #ffffff;
}

.dark2-background h1,
.dark2-background h2,
.dark2-background h3,
.dark2-background h4,
.dark2-background h5,
.dark2-background h6,
.dark2-background p,
.dark2-background b,
.dark2-background strong,
.dark2-background span,
.dark2-background div {
  color: #ffffff;
}

/* ============================================
   2. GLOBAL BASE STYLES
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--background-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Body class states */
body.logged-in {
  --header-height: var(--header-height-member);
}

body.sidebar-open {
  overflow: hidden;
}

a {
  color: var(--fem-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--fem-accent);
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;  /* Lighter = more elegant */
  color: var(--neutral-800);
  letter-spacing: var(--letter-spacing-tight);
  line-height: 1.15;
  margin: 0 0 1.5rem 0;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 300;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 300;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
}

h4 {
  font-size: var(--font-size-xl);
  font-weight: 400;
}

h5 {
  font-size: var(--font-size-lg);
  font-weight: 500;
}

h6 {
  font-size: var(--font-size-base);
}

p {
  margin: 0 0 1.5rem 0;
  line-height: 1.75;
}

.hint
{
  font-size:var(--font-size-xs);
}

.text-muted {
  color: var(--text-muted);
}

.text-secondary {
  color: var(--text-secondary);
}

/* Section labels - subtle and elegant */
.section-subtitle,
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--neutral-500);
  margin-bottom: 1.25rem;
}

/* Use accent color only when explicitly needed */
.section-subtitle.accent,
.section-label.accent {
  color: var(--fem-accent);
}

/* ============================================
   4. BUTTONS & FORMS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Primary CTA - coral/orange accent */
.btn-primary,
.btn-get-started {
  background: var(--fem-accent);
  color: white;
  border-color: var(--fem-accent);
}

.btn-primary:hover,
.btn-get-started:hover {
  background: #d96f52;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232, 125, 94, 0.3);
}

/* Secondary - dark primary color */
.btn-secondary {
  background: var(--fem-primary);
  color: white;
  border-color: var(--fem-primary);
}

.btn-secondary:hover {
  background: var(--fem-primary-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(87, 21, 18, 0.2);
}

/* Outline - elegant border */
.btn-outline {
  background: transparent;
  color: var(--fem-primary);
  border-color: var(--neutral-300);
}

.btn-outline:hover {
  background: var(--fem-primary);
  color: white;
  border-color: var(--fem-primary);
}

/* Outline button on dark backgrounds */
.dark-background .btn-outline,
.hero.dark-background .btn-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.dark-background .btn-outline:hover,
.hero.dark-background .btn-outline:hover {
  background: white;
  color: var(--fem-primary);
  border-color: white;
}

/* Bootstrap override - use FEM colors */
.btn-outline-primary {
  background: transparent;
  color: var(--fem-primary);
  border-color: var(--neutral-300);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Remove blue focus ring from all buttons */
.btn:focus,
.btn:focus-visible,
.btn:active:focus {
  outline: none;
  box-shadow: none;
}

/* Login Button - Special styling for nav */
.navmenu .btn-primary,
.navmenu .btn.btn-primary,
a.btn.btn-primary[href="/members"] {
  background: var(--fem-primary);
  color: white;
  border-color: var(--fem-primary);
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navmenu .btn-primary:hover,
.navmenu .btn.btn-primary:hover,
a.btn.btn-primary[href="/members"]:hover {
  background: var(--fem-primary-light);
  border-color: var(--fem-primary-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(87, 21, 18, 0.25);
}

.navmenu .btn-primary:focus,
.navmenu .btn-primary:focus-visible,
a.btn.btn-primary[href="/members"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(87, 21, 18, 0.2);
}

.btn-outline-primary:hover {
  background: var(--fem-primary);
  color: white;
  border-color: var(--fem-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--neutral-700);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--neutral-100);
  color: var(--fem-primary);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--font-size-xs);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--font-size-base);
}

/* Form Controls */
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--text-primary);
  background: white;
  border: 1px solid var(--neutral-300);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--fem-accent);
  box-shadow: 0 0 0 3px rgba(232, 125, 94, 0.15);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23571512' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
}

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

/* About/Content Sections - generous whitespace */
.section {
  padding: 100px 0;
}

.section-lg {
  padding: 140px 0;
}

.section-sm {
  padding: 60px 0;
}

@media (min-width: 992px) {
  .section {
    padding: 120px 0;
  }
  
  .section-lg {
    padding: 160px 0;
  }
}

/* Services / Core Strengths - Editorial Style */
.services-item {
  text-align: center;
  padding: 2.5rem 2rem;
}

.services-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--fem-primary);
  opacity: 0.8;
}

.services-item h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--neutral-800);
}

.services-item p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Kernkrachten / Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

/* Force 4 columns on desktop */
.values-grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .values-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 992px) {
  .values-grid {
    gap: 4rem;
  }
  
  .values-grid-4 {
    gap: 2.5rem;
  }
}

/* Program Blocks */
.program-block {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  overflow: hidden;
}

/* Fixed Program (met FEM-Groep) - Dark header */
.program-block.fixed-program {
  padding-top: 0;
}

.program-block.fixed-program .program-header {
  background: var(--fem-primary);
  border-radius: 0;
  padding: 1.5rem 2rem;
  margin: 0 -2rem 2rem -2rem;
  border-bottom: none;
}

.program-block.fixed-program .program-header h3,
.program-block.fixed-program .program-header p {
  color: #ffffff;
}

.program-block.fixed-program .program-icon {
  color: rgba(255,255,255,0.8);
}

/* Optional Program (Masterclasses) - Coral/orange header */
.program-block.optional-program {
  padding-top: 0;
}

.program-block.optional-program .program-header {
  background: var(--fem-accent);
  border-radius: 0;
  padding: 1.5rem 2rem;
  margin: 0 -2rem 2rem -2rem;
  border-bottom: none;
}

.program-block.optional-program .program-header h3,
.program-block.optional-program .program-header p {
  color: #ffffff;
}

.program-block.optional-program .program-icon {
  color: rgba(255,255,255,0.9);
}

.program-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--neutral-200);
}

.program-icon {
  font-size: 2.5rem;
  color: var(--fem-primary);
  flex-shrink: 0;
}

.program-header h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.program-header p {
  margin: 0;
  color: var(--text-secondary);
}

.program-content {
  padding: 0;
}

/* Session Boxes */
.session-box {
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
}

.session-box h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.session-box p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Continuation Note */
.continuation-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: transparent;
  border: 2px dashed var(--fem-accent);
  border-radius: 8px;
  color: var(--fem-primary);
  font-weight: 500;
}

.continuation-note i {
  font-size: 1.25rem;
  color: var(--fem-accent);
}

/* Masterclass Cards Compact */
.masterclass-card-compact {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid var(--neutral-200);
}

.masterclass-card-compact:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  border-color: var(--neutral-300);
}

.masterclass-card-compact h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: var(--neutral-800);
}

.masterclass-card-compact .btn {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.masterclass-card-compact a:not(.btn) {
  color: var(--fem-primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.masterclass-card-compact a:not(.btn):hover {
  color: var(--fem-accent);
}

.expert-thumb-round {
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
}

.expert-thumb-round img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--fem-accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* CTA Box - Editorial Style */
.cta-box {
  background: white;
  border-radius: 12px;
  padding: 4rem 3rem;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  text-align: center;
  border: none;
}

.cta-box h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
  color: var(--fem-primary);
}

.cta-box p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta-box .btn {
  margin: 0 0.5rem;
}

.cta-box .btn-outline {
  color: var(--fem-primary);
  border-color: var(--neutral-300);
}

.cta-box .btn-outline:hover {
  background: var(--fem-primary);
  color: white;
  border-color: var(--fem-primary);
}

/* Team Section - Editorial Style */
.team {
  text-align: center;
}

.team .pic {
  margin-bottom: 1.75rem;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.team .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team .pic:hover img {
  transform: scale(1.08);
}

.team h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.team h3 a {
  color: var(--neutral-800);
  text-decoration: none;
}

.team h3 a:hover {
  color: var(--fem-primary);
}

.team .position {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neutral-500);
  margin-bottom: 1rem;
}

.team p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* More Link */
a.more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
  color: var(--fem-primary);
  text-decoration: none;
  transition: gap 0.2s ease;
}

a.more:hover {
  gap: 0.5rem;
}

a.more.dark {
  color: var(--fem-primary);
}

/* Slider Navigation */
.slider-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--neutral-300);
  border-radius: 50%;
  color: var(--neutral-600);
  margin-left: 0.5rem;
  transition: all 0.2s ease;
}

.slider-nav a:hover {
  background: var(--fem-primary);
  border-color: var(--fem-primary);
  color: white;
}

.slider-nav a i {
  font-size: 1.5rem;
}

/* Images Overlap */
.images-overlap {
  position: relative;
}

.images-overlap img {
  border-radius: 12px;
}

.images-overlap .small_subtext {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   5. PUBLIC NAVIGATION (Header Horizontal)
   ============================================ */

/* Main Header Container */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: white;
  border-bottom: 1px solid var(--neutral-200);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header > .container-fluid,
.header > .container-xl,
.header > .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 50px;
  width: auto;
  transition: height var(--transition-fast);
}

.header.scrolled .logo img {
  height: 44px;
}

/* ============================================
   PUBLIC NAVIGATION MENU
   ============================================ */

/* Navigation container */
.navmenu {
  display: flex;
  align-items: center;
}

.navmenu ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.navmenu ul li {
  position: relative;
}

.navmenu ul li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  color: var(--nav-color);
  font-family: var(--font-nav);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.navmenu ul li a:hover,
.navmenu ul li a.active {
  color: var(--fem-primary);
  background: var(--neutral-100);
}

.navmenu ul li a i {
  font-size: 12px;
}

/* Dropdown */
.navmenu .dropdown > ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: white;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--neutral-200);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-normal);
  z-index: 100;
}

.navmenu .dropdown:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navmenu .dropdown ul li a {
  padding: 10px 16px;
  font-size: 14px;
}

.navmenu .dropdown ul li a:hover {
  background: var(--neutral-100);
  color: var(--fem-accent);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--border-radius-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background var(--transition-fast);
}

.mobile-nav-toggle:hover {
  background: var(--neutral-100);
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--neutral-700);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

/* ============================================
   6. MEMBER NAVIGATION (Top Nav + Minimal Header)
   ============================================ */

/* Member Header - Minimal */
body.logged-in .header {
  height: var(--header-height-member);
}

body.logged-in .header > .container-fluid,
body.logged-in .header > .container-xl,
body.logged-in .header > .container {
  max-width: 100%;
}

body.logged-in .logo img {
  height: 40px;
}

/* Header Left (Logo + Menu Toggle) */
.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Menu Toggle Button (for mobile drawer) */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--border-radius-sm);
  transition: background var(--transition-fast);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.menu-toggle:hover {
  background: var(--neutral-100);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--neutral-700);
  border-radius: 1px;
  transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Top Navigation (LinkedIn-style, desktop only) */
.topnav {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}

.topnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 16px;
  color: var(--neutral-500);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  height: 100%;
  position: relative;
  transition: color var(--transition-fast);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.topnav-item i {
  font-size: 20px;
  line-height: 1;
}

.topnav-item:hover {
  color: var(--fem-primary);
  text-decoration: none;
}

.topnav-item.active {
  color: var(--fem-primary);
  border-bottom-color: var(--fem-accent);
}

.topnav-item.active span {
  font-weight: 600;
}

/* Topnav icon wrapper (for badge positioning) */
.topnav-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.topnav-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--fem-accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  text-align: center;
}

/* Header Right (Notifications + Profile) */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Notification Button */
.notification-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--neutral-600);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-btn:hover {
  background: var(--neutral-100);
  color: var(--fem-primary);
}

.notification-btn i {
  font-size: 20px;
}

.notification-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  background: var(--fem-accent);
  border-radius: var(--border-radius-full);
  font-size: 10px;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid white;
}

/* Profile Dropdown */
.profile-dropdown {
  position: relative;
}

.profile-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 5px;
  border-radius: var(--border-radius-full);
  border: 1px solid var(--neutral-200);
  background: white;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.profile-trigger:hover {
  border-color: var(--neutral-300);
  box-shadow: var(--shadow-sm);
}

.profile-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  max-width: 36px;
  max-height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fem-accent-soft), var(--fem-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 500;
  font-size: 13px;
  overflow: hidden;
  flex-shrink: 0;
}

.profile-avatar img {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  object-fit: cover;
  border-radius: 50%;
}

.profile-name {
  font-size: 14px;
  color: var(--neutral-700);
  font-weight: 500;
}

/* Profile name styling handled in LAYOUT FIXES section at end of file */

.profile-chevron {
  color: var(--neutral-400);
  font-size: 12px;
  transition: transform var(--transition-fast);
}

.profile-dropdown.open .profile-chevron {
  transform: rotate(180deg);
}

/* Profile Menu */
.profile-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--neutral-200);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition-normal);
  overflow: hidden;
  z-index: 100;
}

.profile-dropdown.open .profile-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-menu-header {
  padding: 16px;
  background: var(--neutral-50);
  border-bottom: 1px solid var(--neutral-200);
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-menu-header .profile-avatar {
  width: 48px;
  height: 48px;
  font-size: 16px;
}

.profile-menu-info h4 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 2px 0;
  color: var(--neutral-800);
}

.profile-menu-info span {
  font-size: 12px;
  color: var(--text-muted);
}

.profile-menu-section {
  padding: 8px;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--neutral-700);
  font-size: 14px;
  transition: background var(--transition-fast);
}

.profile-menu-item:hover {
  background: var(--neutral-100);
  color: var(--fem-primary);
}

.profile-menu-item i {
  font-size: 18px;
  color: var(--neutral-500);
  width: 22px;
}

.profile-menu-item:hover i {
  color: var(--fem-accent);
}

.profile-menu-divider {
  height: 1px;
  background: var(--neutral-200);
  margin: 0;
}

/* ============================================
   MOBILE DRAWER (replaces desktop sidebar)
   Navigation is now in the topnav on desktop.
   The mobile-drawer is only shown on mobile via hamburger menu.
   Reuses .sidebar-* classes for inner styling.
   ============================================ */

.mobile-drawer {
  position: fixed;
  top: var(--header-height-member);
  left: 0;
  width: var(--sidebar-width);
  height: calc(100vh - var(--header-height-member));
  background: white;
  border-right: 1px solid var(--neutral-200);
  overflow-y: auto;
  z-index: 900;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
}

.mobile-drawer.open {
  transform: translateX(0);
}

/* Scrollbar styling for mobile drawer */
.mobile-drawer::-webkit-scrollbar {
  width: 6px;
}

.mobile-drawer::-webkit-scrollbar-track {
  background: transparent;
}

.mobile-drawer::-webkit-scrollbar-thumb {
  background: var(--neutral-300);
  border-radius: 3px;
}

.mobile-drawer::-webkit-scrollbar-thumb:hover {
  background: var(--neutral-400);
}

/* Sidebar inner styles (reused by mobile drawer) */
.sidebar-nav {
  flex: 1;
  padding: 20px 12px;
}

.sidebar-section {
  margin-bottom: 28px;
}

.sidebar-section-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neutral-400);
  padding: 0 16px;
  margin-bottom: 8px;
}

.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-item {
  margin-bottom: 2px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--border-radius-md);
  color: var(--neutral-600);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
}

.sidebar-link:hover {
  background: var(--neutral-100);
  color: var(--fem-primary);
}

.sidebar-link.active {
  background: var(--fem-accent-light);
  color: var(--fem-primary);
}

.sidebar-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  background: var(--fem-accent);
  border-radius: 0 3px 3px 0;
}

.sidebar-link i {
  font-size: 20px;
  width: 24px;
  text-align: center;
  color: var(--neutral-500);
  transition: color var(--transition-fast);
}

.sidebar-link.active i,
.sidebar-link:hover i {
  color: var(--fem-accent);
}

.sidebar-badge {
  margin-left: auto;
  background: var(--fem-accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--border-radius-full);
}

/* Sidebar / Drawer Footer */
.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--neutral-200);
  background: var(--neutral-50);
}

.sidebar-footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--neutral-500);
  font-size: 13px;
  transition: all var(--transition-fast);
}

.sidebar-footer-link:hover {
  background: var(--neutral-200);
  color: var(--neutral-700);
}

.sidebar-footer-link i {
  font-size: 18px;
}

/* Mobile Drawer Overlay */
.mobile-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-height-member);
  background: rgba(0, 0, 0, 0.5);
  z-index: 899;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   7. FILTER PILLS (Replaces third level tabs)
   ============================================ */

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-pills {
  display: inline-flex;
  background: var(--neutral-50, #faf8f5);
  border-radius: var(--border-radius-md);
  padding: 4px;
  border: none;
  gap: 4px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--neutral-600);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  background: var(--neutral-100);
}

.filter-pill.active {
  background: var(--fem-primary);
  color: white;
}

.filter-pill .count {
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 8px;
  border-radius: var(--border-radius-full);
  font-size: 11px;
  font-weight: 600;
}

.filter-pill.active .count {
  background: rgba(255, 255, 255, 0.25);
}

/* Alternative: Underline style filter pills */
.filter-pills-underline {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--neutral-200);
  padding-bottom: 0;
}

.filter-pills-underline .filter-pill {
  background: none;
  border: none;
  border-radius: 0;
  padding: 12px 16px;
  margin-bottom: -2px;
  border-bottom: 2px solid transparent;
}

.filter-pills-underline .filter-pill.active {
  background: none;
  color: var(--fem-primary);
  border-bottom-color: var(--fem-accent);
}

.filter-pills-underline .filter-pill .count {
  background: var(--fem-accent-light);
  color: var(--fem-primary);
}

.filter-pills-underline .filter-pill.active .count {
  background: var(--fem-accent);
  color: white;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */

/* Main content wrapper */
.main {
  min-height: calc(100vh - var(--header-height));
  padding-top: var(--header-height);
}

body.logged-in .main {
  padding-top: var(--header-height-member);
  margin-left: 0;
  width: 100%;
}

/* Page Title / Breadcrumbs */
.page-title {
  padding: 20px 0;
  background: var(--background-color);
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--font-size-sm);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li::after {
  content: '/';
  color: var(--text-muted);
}

.breadcrumbs li:last-child::after {
  display: none;
}

.breadcrumbs a {
  color: var(--text-secondary);
}

.breadcrumbs a:hover {
  color: var(--fem-primary);
}

.breadcrumbs .current {
  color: var(--text-primary);
  font-weight: 500;
}

/* Body Section */
.bodysection {
  background: var(--background-color);
  padding: 32px 0 60px;
}

/* Content Header */
.content-header {
  margin-bottom: 32px;
}

.content-header h1,
.content-header h2 {
  margin-bottom: 8px;
}

.content-header p {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  margin-bottom: 0;
}

/* Community Header (for feed pages) */
.community-header {
  margin-bottom: 24px;
}

.community-header h2 {
  font-size: var(--font-size-3xl);
  margin-bottom: 8px;
}

.community-header p {
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   8. CONTENT COMPONENTS
   ============================================ */

/* Container adjustments for member area */
body.logged-in .container {
  max-width: 1200px;
}

/* Alert messages */
.alert {
  padding: 16px 20px;
  border-radius: var(--border-radius-md);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--font-size-sm);
}

.alert i {
  font-size: 18px;
}

.alert-success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}

.alert-info {
  background: #eff6ff;
  border: 1px solid #93c5fd;
  color: #1e40af;
}

.alert-warning {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
}

.alert-danger {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: var(--neutral-50);
  border-radius: var(--border-radius-lg);
  border: 2px dashed var(--neutral-300);
}

.empty-state i {
  font-size: 48px;
  color: var(--neutral-400);
  margin-bottom: 16px;
}

.empty-state h4 {
  font-family: var(--font-body);
  font-size: var(--font-size-lg);
  margin-bottom: 8px;
  color: var(--neutral-700);
}

.empty-state p {
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   9. GENERIC CARDS & BOXES
   (Sidebar profile/events/links componenten
    zitten in fem-members.css)
   ============================================ */

/* Generic Card */
.card {
  background: white;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--neutral-200);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: all var(--transition-normal);
}

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

.card-body {
  padding: 24px;
}

.card-header {
  padding: 20px 24px;
  background: var(--neutral-50);
  border-bottom: 1px solid var(--neutral-200);
}

.card-footer {
  padding: 16px 24px;
  background: var(--neutral-50);
  border-top: 1px solid var(--neutral-200);
}

/* Content Card (white box for tab content replacement) */
.content-card {
  background: #fcfaf4;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--neutral-200);
  padding: 24px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

   10. FOOTER
   ============================================ */

.footer {
  background: var(--background-color);
  color: var(--text-primary);
  padding: 60px 0 30px;
}

body.logged-in .footer {
  margin-left: 0;
  padding: 30px 0;
}

.footer.dark2-background {
  background: #04152A;
  color: white;
}

.footer.dark2-background a {
  color: rgba(255, 255, 255, 0.8);
}

.footer.dark2-background a:hover {
  color: white;
}

.widget {
  margin-bottom: 30px;
}

.widget-heading {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: inherit;
}

.social-icons {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.social-icons a:hover {
  background: var(--fem-accent);
  color: white;
}

/* Scroll Top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--fem-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.scroll-top:hover {
  background: var(--fem-primary-light);
  color: white;
  transform: translateY(-3px);
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

#preloader::before {
  content: '';
  width: 40px;
  height: 40px;
  border: 3px solid var(--neutral-200);
  border-top-color: var(--fem-accent);
  border-radius: 50%;
  animation: preloader-spin 0.8s linear infinite;
}

@keyframes preloader-spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   11. RESPONSIVE BREAKPOINTS
   ============================================ */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
  body.logged-in .container {
    max-width: 1200px;
  }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) {
  :root {
    --sidebar-width: 260px; /* Still used by mobile drawer */
  }
}

/* Tablet/Small Desktop (1024px - 1199px) */
@media (max-width: 1199px) {
  /* Public navigation: show mobile toggle */
  .navmenu {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  /* Mobile menu styles for public navigation */
  .navmenu.mobile-open {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    padding: 20px;
    overflow-y: auto;
    z-index: 999;
  }
  
  .navmenu.mobile-open ul {
    flex-direction: column;
    gap: 0;
  }
  
  .navmenu.mobile-open ul li a {
    padding: 16px;
    border-bottom: 1px solid var(--neutral-200);
    border-radius: 0;
  }
  
  .navmenu .dropdown > ul {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    display: none;
  }
  
  .navmenu .dropdown.dropdown-active > ul {
    display: block;
  }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  /* Hide top navigation on mobile, show hamburger */
  .topnav {
    display: none;
  }
  
  /* Show mobile drawer overlay and hamburger toggle */
  .mobile-drawer-overlay {
    display: block;
  }
  
  body.logged-in .menu-toggle {
    display: flex;
  }
  
}

/* Mobile (576px - 767px) */
@media (max-width: 767px) {
  :root {
    --header-height: 70px;
    --header-height-member: 60px;
  }
  
  .header > .container-fluid,
  .header > .container-xl,
  .header > .container {
    padding: 0 16px;
  }
  
  .logo img {
    height: 40px;
  }
  
  body.logged-in .logo img {
    height: 34px;
  }
  
  /* Hide profile name on mobile */
  .profile-name {
    display: none;
  }
  
  .profile-trigger {
    padding: 4px;
    border: none;
  }
  
  /* Page content */
  .bodysection {
    padding: 20px 0 40px;
  }
  
  .content-card {
    padding: 16px;
  }
  
  /* Filter pills: horizontal scroll */
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-pills {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  
  .filter-pill {
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  
  /* Breadcrumbs: hide on mobile */
  .page-title {
    display: none;
  }
  
  /* Sticky sidebar content */
  .sticky-sidebar {
    position: static;
  }
  
  
  /* Footer */
  .footer {
    padding: 40px 0 20px;
  }
  
  body.logged-in .footer {
    padding: 20px 0;
  }
}

/* Small Mobile (< 576px) */
@media (max-width: 575px) {
  body.logged-in .logo img {
    height: 30px;
  }
  
  .notification-btn {
    width: 36px;
    height: 36px;
  }
  
  .notification-btn i {
    font-size: 18px;
  }
  
  .profile-avatar {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }
  
  .menu-toggle {
    width: 36px;
    height: 36px;
  }
  
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  /* Mobile drawer width on very small screens */
  .mobile-drawer {
    width: 100%;
  }
  
}

/* ============================================
   UTILITY CLASSES FOR BACKWARDS COMPATIBILITY
   ============================================ */

/* Tab content (for pages not yet converted to filter pills) */
.tab-content {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 24px;
}

.members-tab-content {
  padding: 0;
  background: transparent;
}

/* Box nav tabs - keep visible for legacy pages */
.box-nav-tabs {
  /* display: none; - removed to support legacy member pages */
}

/* Mobile nav select (legacy - hidden in new design) */
.mobile-nav-select {
  display: none;
}

/* Unread messages notification (stays visible) */
.unread-messages-notification {
  background: linear-gradient(135deg, var(--fem-accent) 0%, var(--fem-accent-soft) 100%);
  border-radius: var(--border-radius-md);
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--fem-accent-soft);
}

.unread-messages-notification .notification-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.unread-messages-notification .notification-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-md);
}

.unread-messages-notification .notification-icon {
  font-size: 20px;
  margin-right: 12px;
}

.unread-messages-notification .notification-text {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
}

.unread-messages-notification .notification-arrow {
  font-size: 18px;
  font-weight: bold;
  opacity: 0.9;
  transition: transform var(--transition-fast);
}

.unread-messages-notification .notification-link:hover .notification-arrow {
  transform: translateX(5px);
}

/* Program styles */
.program-stats {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--border-radius-md);
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--fem-primary);
  line-height: 1;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

/* Program item cards */
.program-item {
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: var(--border-radius-md);
  padding: 20px;
  margin-bottom: 16px;
  transition: all var(--transition-normal);
}

.program-item:hover {
  box-shadow: var(--shadow-md);
}

.program-date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--neutral-200);
  flex-wrap: wrap;
}

.program-date .weekday {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.program-date .datefull {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--fem-primary);
}

.program-participants {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--fem-accent-light);
  color: var(--fem-primary);
  padding: 4px 12px;
  border-radius: var(--border-radius-full);
  font-size: var(--font-size-xs);
  font-weight: 500;
  margin-left: auto;
}

.course-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.expert-mini-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--fem-accent);
  flex-shrink: 0;
}

.course-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--neutral-800);
  margin: 0;
}

.course-summary {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.6;
}

/* FEM Login Card */
.fem-login-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  max-width: 440px;
  margin: 0 auto;
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-icon {
  width: 72px;
  height: 72px;
  background: var(--fem-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.login-icon i {
  font-size: 32px;
  color: var(--fem-accent);
}

.login-header h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: 8px;
}

/* Form groups */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 800;
  color: var(--neutral-700);
  margin-bottom: 8px;
}

/* Print styles */
@media print {
  .sidebar,
  .header,
  .footer,
  .scroll-top,
  .filter-bar {
    display: none !important;
  }
  
  body.logged-in .main {
    margin-left: 0 !important;
    padding-top: 0 !important;
  }
  
  .assignment-card {
    break-inside: avoid;
  }
}
/* ============================================
   FEM CSS FIXES - February 2025
   ============================================ */

/* Profile Avatar in Header */
.header .profile-avatar {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.header .profile-avatar img {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: cover;
  border-radius: 50%;
}

/* Larger avatar in dropdown menu header */
.profile-menu-header .profile-avatar {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
}

.profile-menu-header .profile-avatar img {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
}

/* Main Content Area - Full Width (no sidebar) */
body.logged-in .main {
  margin-left: 0;
  width: 100%;
  min-height: calc(100vh - var(--header-height-member, 64px));
  padding-top: var(--header-height-member, 64px);
}

/* Container overflow fix */
body.logged-in .main .container {
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

/* Content card overflow fix */
body.logged-in .content-card {
  overflow: hidden;
}

/* Content card row flexbox */
body.logged-in .content-card > .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

body.logged-in .content-card > .row > .col-lg-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding-left: 12px;
  padding-right: 12px;
}

body.logged-in .content-card > .row > .col-lg-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding-left: 12px;
  padding-right: 12px;
}

/* Right sidebar positioning */
.fem-sidebar {
  width: 100%;
  max-width: 100%;
}

.fem-sidebar.sticky-sidebar {
  position: sticky;
  top: calc(var(--header-height-member, 64px) + 20px);
}

/* Tablet - Stack columns */
@media (max-width: 991px) {
  body.logged-in .content-card > .row > .col-lg-8,
  body.logged-in .content-card > .row > .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  body.logged-in .content-card > .row > .col-lg-4 {
    margin-top: 24px;
  }
  
  /* Show right sidebar on tablet */
  .col-lg-4.d-none.d-lg-block {
    display: block !important;
  }
}


/* ============================================
   LAYOUT FIXES - February 2025
   ============================================ */

/* Profile avatar in header - ensure correct size */
.header .profile-avatar,
.header .profile-avatar img,
.profile-trigger .profile-avatar,
.profile-trigger .profile-avatar img {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

/* Profile trigger - ensure correct dimensions */
.header .profile-trigger,
#header .profile-trigger {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 14px 8px 8px !important;
  height: 48px !important;
  background: var(--fem-accent-light) !important;
  border: 1px solid var(--fem-warm-border) !important;
  border-radius: var(--border-radius-full) !important;
  transition: all var(--transition-fast) !important;
}

.header .profile-trigger:hover,
#header .profile-trigger:hover {
  background: #fff0eb !important;
  border-color: var(--fem-accent-soft) !important;
  box-shadow: var(--shadow-sm) !important;
}

/* Profile name in header - force correct size */
.header .profile-name,
.profile-trigger .profile-name,
.profile-dropdown .profile-name,
#profileDropdown .profile-name,
.header-right .profile-name {
  font-size: 14px !important;
  font-family: var(--font-body) !important;
  line-height: 1 !important;
  color: var(--fem-primary) !important;
  font-weight: 600 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Profile chevron icon */
.profile-chevron {
  font-size: 12px !important;
  color: var(--neutral-500) !important;
}

/* Profile menu header avatar - larger */
.profile-menu-header .profile-avatar,
.profile-menu-header .profile-avatar img {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
}

/* ============================================
   HIGH-END HOMEPAGE STYLES
   ============================================ */

/* Hero Section - Editorial Style */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-fullscreen {
  min-height: 100vh;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {

  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-subtitle {

  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
  text-align: center;
}

.hero-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--neutral-500);
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
}

/* Hero with video background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(87, 21, 18, 0.85) 0%, rgba(87, 21, 18, 0.6) 100%);
  z-index: 1;
}

/* Hero on dark background */
.hero.dark-background .hero-title,
.hero.dark-background .hero-subtitle,
.hero.dark-background .hero-label {
  color: #ffffff;
}

.hero.dark-background .hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.hero.dark-background .hero-label {
  color: rgba(255, 255, 255, 0.6);
}

/* Editorial Quote Block */
.quote-editorial {
  padding: 80px 0;
  text-align: center;
}

.quote-editorial blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--neutral-800);
  max-width: 900px;
  margin: 0 auto 2rem;
  padding: 0;
  border: none;
}

.quote-editorial blockquote::before {
  content: '"';
  display: block;
  font-size: 4rem;
  line-height: 1;
  color: var(--fem-accent);
  opacity: 0.5;
  margin-bottom: 1rem;
}

.quote-editorial cite {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--neutral-500);
}

.quote-editorial .quote-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.quote-editorial .quote-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

/* Testimonial Card - Refined */
.testimonial-card {
  background: transparent;
  padding: 0;
  text-align: left;
}

.testimonial-card .quote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--neutral-800);
  margin-bottom: 2rem;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card .author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card .author-info {
  display: flex;
  flex-direction: column;
}

.testimonial-card .author-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--neutral-800);
}

.testimonial-card .author-title {
  font-size: 0.85rem;
  color: var(--neutral-500);
}

/* Editorial Image Layouts */
.image-editorial {
  position: relative;
}

.image-editorial img {
  border-radius: 8px;
}

.image-overlap {
  position: relative;
}

.image-overlap .image-main {
  width: 80%;
  position: relative;
  z-index: 1;
}

.image-overlap .image-accent {
  position: absolute;
  width: 50%;
  right: 0;
  bottom: -40px;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Asymmetric Grid */
.grid-asymmetric {
  display: grid;
  gap: 2rem;
}

@media (min-width: 992px) {
  .grid-asymmetric {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
  }
  
  .grid-asymmetric.reverse {
    grid-template-columns: 1fr 1.2fr;
  }
  
  .grid-asymmetric.reverse > *:first-child {
    order: 2;
  }
}

/* Story Section - Editorial Style */
.story-section {
  display: grid;
  gap: 3rem;
}

@media (min-width: 992px) {
  .story-section {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
  }
}

.story-content {
  max-width: 520px;
}

.story-content h2 {
  margin-bottom: 1.5rem;
}

.story-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.story-content p:last-child {
  margin-bottom: 0;
}

/* Story Image */
.story-image {
  border-radius: 12px;
  overflow: hidden;
}

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

/* Story Reverse - Image left, content right */
@media (min-width: 992px) {
  .story-section.story-reverse {
    direction: rtl;
  }
  
  .story-section.story-reverse > * {
    direction: ltr;
  }
}

/* Lead Editorial - Larger intro text */
.lead-editorial {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* Program Highlights - Number display */
.program-highlights {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--fem-warm-border);
}

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

.highlight-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--fem-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.highlight-text {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Expert Showcase Grid */
.expert-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 576px) {
  .expert-showcase {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .expert-showcase {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.expert-showcase-item {
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.3s ease;
  width: 100%;
}

.expert-showcase-item:hover {
  transform: translateY(-4px);
  color: inherit;
  text-decoration: none;
}

.expert-showcase-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--fem-warm-border);
  transition: border-color 0.3s ease;
}

.expert-showcase-item:hover .expert-showcase-image {
  border-color: var(--fem-accent);
}

.expert-showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-showcase-item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--fem-primary);
  text-align: center !important;
  width: 100%;
}

.expert-showcase-item .expert-name,
.expert-showcase .expert-name,
span.expert-name {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  display: block;
  text-align: center !important;
  width: 100%;
  margin: 0 auto;
}

/* ============================================
   FOUNDER EDITORIAL SECTION
   ============================================ */
.founder-editorial {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .founder-editorial {
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
  }
}

.founder-image {
  position: relative;
}

.founder-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(87, 21, 18, 0.15);
}

@media (min-width: 992px) {
  .founder-image img {
    max-width: none;
  }
}

.founder-content {
  max-width: 540px;
}

.founder-content h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1.5rem;
}

.founder-intro {
  font-size: 1.1875rem;
  font-style: italic;
  color: var(--fem-primary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.founder-content p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.founder-signature {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--fem-warm-border);
}

.signature-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-style: italic;
  color: var(--fem-primary);
  margin-bottom: 0.25rem;
}

.signature-title {
  display: block;
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Feature List - Refined */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0 0;
}

.feature-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 1px;
  background: var(--fem-accent);
}

/* Stats / Numbers - Editorial */
.stats-editorial {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 3rem;
  text-align: center;
  padding: 3rem 0;
}

.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--fem-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item .stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--neutral-500);
}

/* CTA Section - Refined */
.cta-section {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-size: 1.125rem;
}

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

/* Scroll Animations - Only activate when JS is loaded */
/* By default, content is visible. JS adds 'js-animations' class to body to enable animations */

body.js-animations .fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

body.js-animations .fade-up.visible,
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

body.js-animations .fade-in {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

body.js-animations .fade-in.visible,
.fade-in.visible {
  opacity: 1;
}

body.js-animations .slide-in-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

body.js-animations .slide-in-left.visible,
.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

body.js-animations .slide-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

body.js-animations .slide-in-right.visible,
.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* Divider Lines */
.divider {
  width: 60px;
  height: 1px;
  background: var(--neutral-300);
  margin: 2rem 0;
}

.divider-accent {
  background: var(--fem-accent);
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

/* Lead Text */
.lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.lead-lg {
  font-size: 1.375rem;
}

/* Image with caption */
.image-captioned {
  position: relative;
}

.image-captioned figcaption {
  font-size: 0.8rem;
  color: var(--neutral-500);
  margin-top: 1rem;
  font-style: italic;
}

/* Elegant card for values/features */
.value-card {
  padding: 2.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.value-card:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.value-card .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--fem-primary);
  margin-bottom: 1.5rem;
}

.value-card h4 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--fem-primary);
  transition: gap 0.3s ease;
}

.link-arrow:hover {
  gap: 0.75rem;
  color: var(--fem-accent);
}

.link-arrow::after {
  content: '\2192';
  transition: transform 0.3s ease;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* Founder/About Section */
.founder-section {
  display: grid;
  gap: 3rem;
}

@media (min-width: 992px) {
  .founder-section {
    grid-template-columns: 400px 1fr;
    gap: 5rem;
    align-items: start;
  }
}

.founder-image {
  position: relative;
}

.founder-image img {
  width: 100%;
  border-radius: 8px;
}

.founder-image::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid var(--fem-accent);
  border-radius: 8px;
  z-index: -1;
  opacity: 0.3;
}

.founder-content {
  padding-top: 1rem;
}

.founder-content .signature {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-style: italic;
  color: var(--fem-primary);
  margin-top: 2rem;
}

/* Logo strip / Partners */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 2rem 0;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.logo-strip:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.logo-strip img {
  height: 40px;
  width: auto;
}

/* Newsletter Section */
.newsletter-section {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-section h3 {
  margin-bottom: 0.75rem;
}

.newsletter-section p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--neutral-300);
  border-radius: 6px;
  font-size: 0.95rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--fem-primary);
}

@media (max-width: 576px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* ============================================
   FAQ SECTION STYLES
   ============================================ */

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--neutral-200);
}

.faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.faq-item h4 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.7;
}

/* Legacy rowbox styling (for backwards compatibility) */
.rowbox {
  padding: 0 1rem;
}

.rowboxcontent {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--neutral-200);
}

.rowboxcontent:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.rowboxcontent h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.rowboxcontent p {
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   CONTACT FORM STYLES
   ============================================ */

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.contact-form .form-label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--neutral-700);
  margin-bottom: 0.5rem;
}

.contact-form .form-control {
  padding: 0.875rem 1rem;
  border: 1px solid var(--neutral-300);
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--fem-primary);
  box-shadow: 0 0 0 3px rgba(87, 21, 18, 0.1);
  outline: none;
}

.contact-form .btn {
  padding: 1rem 2rem;
  font-size: 0.9rem;
}

/* ============================================
   MEMBERSHIP FEATURES (Homepage)
   ============================================ */

.membership-features .feature-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.membership-features .feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ============================================
   IMAGE OVERLAP LEGACY STYLES
   ============================================ */

.images-overlap {
  position: relative;
}

.images-overlap img {
  border-radius: 8px;
  width: 100%;
}

.images-overlap .img-1 {
  position: relative;
  z-index: 1;
}

.images-overlap .img-2 {
  position: absolute;
  width: 60%;
  right: -30px;
  bottom: -30px;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.small_subtext {
  font-size: 0.8rem;
  color: var(--neutral-500);
  font-style: italic;
  margin-top: 0.75rem;
}

/* ============================================
   SLIDER NAV ARROWS
   ============================================ */

.slider-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: white;
  border: 1px solid var(--neutral-200);
  border-radius: 50%;
  color: var(--fem-primary);
  font-size: 1.5rem;
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.slider-nav a:hover {
  background: var(--fem-primary);
  border-color: var(--fem-primary);
  color: white;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-warning {
  color: #f0b429 !important;
}

.text-primary {
  color: var(--fem-primary) !important;
}

/* Responsive adjustments for hero */
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    padding-top: 100px;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  .story-section {
    gap: 2rem;
  }
  
  .founder-section {
    gap: 2rem;
  }
  
  .stats-editorial {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .stat-item .stat-number {
    font-size: 2.5rem;
  }
}


/* ============================================
   SUBPAGE STYLES - Editorial Design
   Version: 3.0.0
   ============================================ */

/* Hero Compact (for subpages) */
.hero.hero-compact {
  min-height: 40vh;
  padding: 120px 0 80px;
}

@media (max-width: 768px) {
  .hero.hero-compact {
    min-height: auto;
    padding: 100px 0 60px;
  }
}

/* Alert Boxes */
.alert-box {
  background: #fff9e6;
  border-left: 4px solid #ffd966;
  color: #856404;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
}

.alert-box-success {
  background: #f0f7f1;
  border-left: 4px solid #6ba56e;
  color: #155724;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
}

/* Sidebar Styles (extended) */
.sticky-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: white;
  border: 1px solid var(--fem-warm-border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sidebar-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.sidebar-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Contact Items */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--fem-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.25rem;
  color: var(--fem-accent);
}

.contact-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

.contact-item a {
  color: var(--fem-primary);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Social Buttons */
.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: var(--fem-accent-light);
  color: var(--fem-primary);
  border: 1px solid var(--fem-warm-border);
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: var(--fem-primary);
  color: white;
  border-color: var(--fem-primary);
}

/* Action Cards (for done pages) */
.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--fem-accent-light);
  border: 2px solid var(--fem-warm-border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.action-card:hover {
  border-color: var(--fem-accent);
  background: white;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(87, 21, 18, 0.1);
  color: inherit;
  text-decoration: none;
}

.action-icon {
  width: 64px;
  height: 64px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.action-icon i {
  font-size: 1.75rem;
  color: var(--fem-accent);
}

.action-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--fem-primary);
  margin-bottom: 0.5rem;
}

.action-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Step Cards (for process steps) */
.step-card {
  text-align: center;
  padding: 1.5rem;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--fem-accent) 0%, var(--fem-accent-soft) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 15px rgba(232, 125, 94, 0.3);
}

.step-card h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Focus Cards (for incompany) */
.focus-card {
  background: white;
  border: 1px solid var(--fem-warm-border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.focus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.focus-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  background: var(--fem-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.focus-icon i {
  font-size: 2.25rem;
  color: var(--fem-accent);
}

.focus-card h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.focus-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Event Cards */
.event-card {
  background: white;
  border: 1px solid var(--fem-warm-border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
}

.event-card .event-date {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: var(--fem-primary);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  min-width: 70px;
}

.event-card .event-date .day {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.event-card .event-date .month {
  display: block;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.event-content h2 {
  padding-right: 100px;
}


/* Program Timeline */
.program-timeline {
  background: var(--fem-accent-light);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.program-item {
  display: flex;
  gap: 1.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--fem-warm-border);
}

.program-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.program-item:first-child {
  padding-top: 0;
}

.program-item .time {
  font-weight: 600;
  color: var(--fem-primary);
  min-width: 50px;
}

.program-item .activity {
  color: var(--text-primary);
}

/* Press Cards */
.press-card {
  background: white;
  border: 1px solid var(--fem-warm-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  height: 100%;
}

.press-icon {
  width: 64px;
  height: 64px;
  background: var(--fem-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.press-icon i {
  font-size: 1.75rem;
  color: var(--fem-accent);
}

.press-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.press-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.press-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.press-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--fem-warm-border);
}

.press-list li:last-child {
  border-bottom: none;
}

.press-list a {
  color: var(--fem-primary);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}

.press-list a:hover {
  color: var(--fem-accent);
}

/* Rounded Large Images */
.rounded-lg {
  border-radius: 12px;
}

/* CTA Box Extended */
/* CTA Box Dark Variant */
.cta-box-dark {
  background: linear-gradient(135deg, var(--fem-primary) 0%, #7a1e1a 100%);
  color: white;
  box-shadow: none;
}

.cta-box-dark h3 {
  color: white;
}

.cta-box-dark p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-box-dark .btn-outline {
  border-color: white;
  color: white;
}

.cta-box-dark .btn-outline:hover {
  background: white;
  color: var(--fem-primary);
}

/* Responsive adjustments for subpages */
@media (max-width: 991px) {
  .event-date {
    position: static;
    display: inline-block;
    margin-bottom: 1rem;
  }
  
  .event-content h2 {
    padding-right: 0;
  }
  
  .sticky-sidebar {
    position: static;
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .event-card {
    padding: 1.5rem;
  }
  
  .press-card {
    padding: 1.5rem;
  }
  
  .cta-box {
    padding: 2rem;
  }
  
  .step-number {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  
  .action-card {
    padding: 1.5rem 1rem;
  }
  
  .action-icon {
    width: 56px;
    height: 56px;
  }
  
  .action-icon i {
    font-size: 1.5rem;
  }
}


/* ============================================
   COURSE/MASTERCLASS PAGE - EDITORIAL STYLES
   Version: 2.3.0
   ============================================ */

/* Hero Compact - For subpages */
.hero.hero-compact {
  padding: 4rem 0;
  min-height: auto;
}

.hero.hero-compact .hero-title {
  margin-bottom: 1rem;
}

.hero .expert-link {
  color: var(--fem-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.hero .expert-link:hover {
  color: var(--fem-accent-soft);
}

/* Course Content Styling */
.course-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.course-content p {
  margin-bottom: 1.5rem;
}

.course-content h2,
.course-content h3,
.course-content h4 {
  color: var(--fem-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.course-content ul,
.course-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.course-content li {
  margin-bottom: 0.5rem;
}

.course-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Check List (What You'll Learn) */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--fem-warm-border);
}

.check-list li:last-child {
  border-bottom: none;
}

.check-list i {
  color: var(--fem-accent);
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.check-list span {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fem-primary);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-link:hover {
  color: var(--fem-accent);
  transform: translateX(-5px);
}

.back-link i {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.back-link:hover i {
  transform: translateX(-3px);
}

/* Expert Card - Editorial Style */
.expert-card-editorial {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(87, 21, 18, 0.08);
  border: 1px solid var(--fem-warm-border);
  text-align: center;
}

.expert-card-image {
  display: block;
  margin-bottom: 1.5rem;
}

.expert-card-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--fem-warm-border);
  box-shadow: 0 4px 16px rgba(87, 21, 18, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expert-card-image:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(87, 21, 18, 0.15);
}

.expert-card-content .section-label {
  display: block;
  margin-bottom: 0.5rem;
}

.expert-card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.expert-card-content h3 a {
  color: var(--fem-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.expert-card-content h3 a:hover {
  color: var(--fem-accent);
}

.expert-card-title {
  display: block;
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.expert-card-bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.expert-card-editorial .link-arrow {
  font-size: 0.9375rem;
}

/* CTA Card - Editorial Style (Dark) */
.cta-card-editorial {
  background: linear-gradient(135deg, var(--fem-primary) 0%, var(--fem-primary-dark) 100%);
  border-radius: 16px;
  padding: 2rem;
  color: white;
  box-shadow: 0 8px 30px rgba(87, 21, 18, 0.25);
}

.cta-card-editorial .section-label {
  color: rgba(255, 255, 255, 0.6);
}

.cta-card-editorial h3 {
  color: white;
  font-size: 1.5rem;
}

/* CTA Benefits List */
.cta-benefits-list {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.cta-benefits-list .benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.cta-benefits-list .benefit-item:last-child {
  margin-bottom: 0;
}

.cta-benefits-list .benefit-item i {
  color: var(--fem-accent);
  font-size: 1.125rem;
  flex-shrink: 0;
}

.cta-benefits-list .benefit-item span {
  color: white;
  font-size: 0.9375rem;
}

/* CTA Card Buttons */
.cta-card-editorial .btn-primary {
  background: var(--fem-accent);
  border-color: var(--fem-accent);
}

.cta-card-editorial .btn-primary:hover {
  background: #d96f52;
  border-color: #d96f52;
}

.cta-card-editorial .btn-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-card-editorial .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Sticky Sidebar */
.sticky-sidebar {
  position: sticky;
  top: 2rem;
}

/* Breadcrumbs Enhancement */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: var(--fem-primary);
}

.breadcrumbs .current {
  color: var(--fem-primary);
  font-weight: 500;
}

/* Course Page Responsive */
@media (max-width: 991px) {
  .hero.hero-compact {
    padding: 3rem 0;
  }
  
  .sticky-sidebar {
    position: static;
    margin-top: 3rem;
  }
  
  .expert-card-editorial {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .cta-card-editorial {
    max-width: 400px;
    margin: 2rem auto 0;
  }
}

@media (max-width: 768px) {
  .hero.hero-compact {
    padding: 2.5rem 0;
  }
  
  .hero.hero-compact .hero-title {
    font-size: 1.75rem;
  }
  
  .expert-card-editorial {
    padding: 1.5rem;
  }
  
  .expert-card-image img {
    width: 100px;
    height: 100px;
  }
  
  .cta-card-editorial {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .breadcrumbs {
    font-size: 0.8125rem;
  }
  
  .course-content {
    font-size: 1rem;
  }
}


/* ============================================
   BLOG & EXPERT PAGES - EDITORIAL STYLES
   Version: 2.3.0
   ============================================ */

/* ===========================================
   BLOG INDEX - Card Grid
   =========================================== */

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

@media (max-width: 991px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Blog Card - Editorial Style */
.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--fem-warm-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--fem-accent-soft);
}

.blog-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.blog-card-meta time {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.blog-card-meta i {
  font-size: 0.875rem;
  color: var(--fem-accent);
}

.blog-card h3 {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  flex: 1;
}

.blog-card h3 a {
  color: var(--fem-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card h3 a:hover {
  color: var(--fem-accent);
}

.blog-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card .link-arrow {
  margin-top: auto;
  align-self: flex-start;
}

/* ===========================================
   BLOG DETAIL PAGE
   =========================================== */

.blog-article {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--fem-warm-border);
}

.blog-article-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-article-content {
  padding: 2.5rem;
}

.blog-article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--fem-warm-border);
}

.blog-article-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--fem-primary);
  margin-bottom: 1rem;
}

.blog-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.blog-article-meta a {
  color: var(--fem-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-article-meta a:hover {
  color: var(--fem-primary);
}

.blog-article-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-article-meta i {
  color: var(--fem-accent);
}

/* Blog Body Content */
.blog-body {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.blog-body p {
  margin-bottom: 1.5rem;
}

.blog-body h2,
.blog-body h3,
.blog-body h4 {
  color: var(--fem-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.blog-body h2 {
  font-size: 1.75rem;
}

.blog-body h3 {
  font-size: 1.5rem;
}

.blog-body ul,
.blog-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-body li {
  margin-bottom: 0.5rem;
}

.blog-body blockquote {
  border-left: 4px solid var(--fem-accent);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: var(--fem-accent-light);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--fem-primary);
}

.blog-body img {
  border-radius: 8px;
  margin: 1.5rem 0;
}

.blog-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Blog CTA Box */
.blog-cta-box {
  background: linear-gradient(135deg, var(--fem-accent-light) 0%, white 100%);
  border: 2px solid var(--fem-accent-soft);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2.5rem;
}

.blog-cta-box h3 {
  color: var(--fem-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.blog-cta-box p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.blog-cta-box .btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===========================================
   BLOG SIDEBAR
   =========================================== */

.blog-sidebar {
  position: sticky;
  top: 2rem;
}

/* Author Widget */
.author-widget {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--fem-warm-border);
  margin-bottom: 2rem;
}

.author-widget-image {
  display: block;
  margin: 0 auto 1.25rem;
}

.author-widget-image img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--fem-warm-border);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.author-widget-image:hover img {
  transform: scale(1.05);
}

.author-widget h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--fem-primary);
}

.author-widget-bio {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Recent Posts Widget */
.recent-posts-widget {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--fem-warm-border);
}

.recent-posts-widget h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--fem-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--fem-warm-border);
}

.recent-post-item {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--fem-warm-border);
  text-decoration: none;
  transition: all 0.3s ease;
}

.recent-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-post-item:first-child {
  padding-top: 0;
}

.recent-post-item:hover {
  transform: translateX(5px);
}

.recent-post-item h4 {
  font-size: 1rem;
  font-weight: 400;
  color: var(--fem-primary);
  margin-bottom: 0.375rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.recent-post-item:hover h4 {
  color: var(--fem-accent);
}

.recent-post-item time {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ===========================================
   EXPERT BIO PAGE
   =========================================== */

/* Expert Header */
.expert-header {
  text-align: center;
  margin-bottom: 2rem;
}

.expert-header .section-subtitle {
  margin-bottom: 0.75rem;
}

.expert-header .expert-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--fem-primary);
  margin-bottom: 0.5rem;
}

.expert-header .expert-function {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Expert Portrait */
.expert-portrait-wrapper {
  position: relative;
}

.expert-portrait-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.expert-portrait-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(87, 21, 18, 0.1);
  border-radius: 16px;
  pointer-events: none;
  z-index: 1;
}

.expert-portrait-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.expert-image-credits {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.75rem;
  text-align: right;
}

/* Expert Social Links */
.expert-social-links {
  margin-top: 2rem;
}

.expert-social-links h5 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--fem-primary);
}

.expert-social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.expert-social-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: white;
  border: 1px solid var(--fem-warm-border);
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.expert-social-list a:hover {
  background: var(--fem-accent-light);
  border-color: var(--fem-accent-soft);
  color: var(--fem-primary);
  transform: translateX(5px);
}

.expert-social-list i {
  font-size: 1.25rem;
  color: var(--fem-accent);
  width: 24px;
  text-align: center;
}

/* Expert Expertise Tags */
.expert-expertise {
  margin-top: 2rem;
}

.expert-expertise h5 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--fem-primary);
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.expertise-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--fem-accent-light);
  color: var(--fem-primary);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--fem-accent-soft);
}

/* Expert Biography Content */
.expert-bio-content {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.expert-bio-content p {
  margin-bottom: 1.5rem;
}

.expert-bio-content h2,
.expert-bio-content h3,
.expert-bio-content h4 {
  color: var(--fem-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.expert-bio-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Expert Quote */
.expert-quote {
  position: relative;
  margin: 2.5rem 0;
  padding: 2rem 2.5rem;
  background: linear-gradient(135deg, var(--fem-accent-light) 0%, white 100%);
  border-left: 4px solid var(--fem-accent);
  border-radius: 0 12px 12px 0;
}

.expert-quote::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--fem-accent-soft);
  line-height: 1;
  opacity: 0.5;
}

.expert-quote p {
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--fem-primary);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.expert-quote cite {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-style: normal;
}

/* Expert Courses Section */
.expert-courses {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--fem-warm-border);
}

.expert-courses h4 {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--fem-primary);
  margin-bottom: 1.25rem;
}

.expert-course-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.expert-course-item {
  margin-bottom: 0.75rem;
}

.expert-course-item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-neutral-50);
  border-radius: 8px;
  color: var(--fem-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.expert-course-item a:hover {
  background: var(--fem-accent);
  color: white;
  transform: translateX(5px);
}

.expert-course-item a i {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.expert-course-item a:hover i {
  transform: translateX(3px);
}

/* Expert Back Link */
.expert-back-link {
  margin-top: 2.5rem;
}

/* ===========================================
   PAGE TITLE / BREADCRUMBS BAR
   =========================================== */

.page-title {
  padding: 1.5rem 0;
}

.page-title .breadcrumbs {
  margin: 0;
}

.page-title .breadcrumbs ol {
  margin: 0;
  padding: 0;
}

/* ===========================================
   BREADCRUMBS IN HERO (Dark Background)
   =========================================== */

.breadcrumbs-hero {
  margin-bottom: 1.5rem;
}

.breadcrumbs-hero ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
}

.breadcrumbs-hero li {
  display: flex;
  align-items: center;
}

.breadcrumbs-hero li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumbs-hero a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs-hero a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumbs-hero .current {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

/* ===========================================
   LOGIN PAGE - Editorial Style
   =========================================== */

/* Login Card */
.login-card {
  background: white;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--fem-warm-border);
}

/* Login Header */
.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.login-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--fem-accent-light) 0%, var(--fem-warm-bg) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--fem-warm-border);
}

.login-icon i {
  font-size: 2.5rem;
  color: var(--fem-accent);
}

.login-header h1,
.login-header h2 {
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--fem-primary);
  margin-bottom: 0.5rem;
}

.login-header p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

/* Login Form */
.login-form .form-label {
  font-weight: 500;
  color: var(--fem-primary);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.input-with-icon {
  position: relative;
}

.input-with-icon > i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.125rem;
  z-index: 2;
  pointer-events: none;
}

.input-with-icon .form-control {
  padding-left: 3rem;
  height: 52px;
  border: 2px solid var(--fem-warm-border);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.input-with-icon .form-control:focus {
  border-color: var(--fem-accent);
  box-shadow: 0 0 0 4px rgba(232, 125, 94, 0.1);
  outline: none;
}

.input-with-icon .form-control::placeholder {
  color: var(--neutral-400);
}

/* Checkbox Styling */
.login-form .form-check-input {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  border: 2px solid var(--neutral-300);
  border-radius: 4px;
  cursor: pointer;
}

.login-form .form-check-input:checked {
  background-color: var(--fem-accent);
  border-color: var(--fem-accent);
}

.login-form .form-check-input:focus {
  border-color: var(--fem-accent);
  box-shadow: 0 0 0 3px rgba(232, 125, 94, 0.15);
}

.login-form .form-check-label {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding-left: 0.25rem;
}

.login-form .form-check-label small {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}

/* Login Submit Button */
.btn-login {
  background: var(--fem-primary);
  border: none;
  color: white;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(87, 21, 18, 0.15);
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-login:hover {
  background: var(--fem-primary-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(87, 21, 18, 0.25);
}

.btn-login:active {
  transform: translateY(0);
}

.btn-login:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(87, 21, 18, 0.2);
}

/* Login Divider */
.login-divider {
  text-align: center;
  position: relative;
  margin: 2rem 0 1.5rem;
}

.login-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--fem-warm-border);
}

.login-divider span {
  background: white;
  padding: 0 1rem;
  position: relative;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Login Help Links */
.login-help-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.login-help-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.9375rem;
}

.login-help-link:hover {
  background: var(--fem-accent-light);
  color: var(--fem-accent);
}

.login-help-link i {
  font-size: 1.125rem;
}

/* Login Info Panel (sidebar) */
.login-info-panel {
  background: linear-gradient(135deg, var(--fem-accent-light) 0%, white 100%);
  border: 2px solid var(--fem-warm-border);
  border-radius: 16px;
  padding: 2.5rem;
  height: 100%;
}

.login-info-panel h3 {
  color: var(--fem-primary);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.login-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.login-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.login-benefits li:last-child {
  margin-bottom: 0;
}

.login-benefits i {
  color: var(--fem-accent);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.0625rem;
}

.login-info-cta {
  padding-top: 2rem;
  border-top: 1px solid var(--fem-warm-border);
  text-align: center;
}

.login-info-cta p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

/* Alert Messages */
.login-alert {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.login-alert i {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.login-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.login-alert-success i {
  color: #10b981;
}

.login-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.login-alert-error i {
  color: #ef4444;
}

/* Responsive Login */
@media (max-width: 991px) {
  .login-info-panel {
    margin-top: 2rem;
  }
}

@media (max-width: 767px) {
  .login-card {
    padding: 2rem 1.5rem;
  }
  
  .login-header h1,
  .login-header h2 {
    font-size: 1.5rem;
  }
  
  .login-icon {
    width: 64px;
    height: 64px;
  }
  
  .login-icon i {
    font-size: 2rem;
  }
  
  .login-help-links {
    flex-direction: column;
    align-items: center;
  }
  
  .login-help-link {
    width: 100%;
    justify-content: center;
  }
}

/* ===========================================
   RESPONSIVE ADJUSTMENTS
   =========================================== */

@media (max-width: 991px) {
  .blog-article-content {
    padding: 2rem;
  }
  
  .blog-sidebar {
    position: static;
    margin-top: 3rem;
  }
  
  .author-widget,
  .recent-posts-widget {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .expert-portrait-wrapper {
    max-width: 400px;
    margin: 0 auto 2rem;
  }
  
  .expert-social-links,
  .expert-expertise {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .blog-article-content {
    padding: 1.5rem;
  }
  
  .blog-article-title {
    font-size: 1.5rem;
  }
  
  .blog-article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .blog-cta-box {
    padding: 1.5rem;
  }
  
  .blog-cta-box .btn-group {
    flex-direction: column;
  }
  
  .blog-cta-box .btn {
    width: 100%;
  }
  
  .expert-quote {
    padding: 1.5rem;
  }
  
  .expert-quote p {
    font-size: 1.125rem;
  }
}

@media (max-width: 576px) {
  .blog-card-content {
    padding: 1.25rem;
  }
  
  .blog-card h3 {
    font-size: 1.125rem;
  }
  
  .author-widget {
    padding: 1.5rem;
  }
  
  .author-widget-image img {
    width: 80px;
    height: 80px;
  }
}