/* ===================================================================
   TheHoteliers.org - Storytelling Design System
   Warm, Emotionally Engaging Hotel Journey Documentation
   =================================================================== */

/* ===================================================================
   CSS CUSTOM PROPERTIES - DESIGN TOKENS
   =================================================================== */

   :root {
    /* FORCE LIGHT COLOR SCHEME - Override browser preferences */
    color-scheme: light only !important;
    
    /* PRIMARY COLOR PALETTE - Specified Color Theme */
    --birch: #352b22;
    --citrine-white: #fbf4e4;
    --equator: #e1a957;
    --sorrell-brown: #cdb586;
    --potters-clay: #895f36;
    --green-spring: #b0b3ae;
    --soft-amber: #d6cab5;
    --celeste: #cdcfc8;
    --bone: #e5d4c4;
    --nobel: #bcb4b2;
  
    /* RGB VARIANTS - For transparency and JavaScript use */
    --birch-rgb: 53, 43, 34;
    --citrine-white-rgb: 251, 244, 228;
    --equator-rgb: 225, 169, 87;
    --sorrell-brown-rgb: 205, 181, 134;
    --potters-clay-rgb: 137, 95, 54;
    --green-spring-rgb: 176, 179, 174;
    --soft-amber-rgb: 214, 202, 181;
    --celeste-rgb: 205, 207, 200;
    --bone-rgb: 229, 212, 196;
    --nobel-rgb: 188, 180, 178;
  
    /* PRIMARY COLOR PALETTE - Mapped to Design System */
    --color-primary: var(--birch);          /* Birch - Rich dark brown */
    --color-accent-dark: #4a3f34;         /* Lighter birch variant */
    --color-primary-dark: #241e17;          /* Darker birch variant */
    
    --color-background: var(--citrine-white);     /* Citrine white - Main primary background */
    --color-background-alt: var(--bone);          /* Bone - Alternative background */
    --color-background-overlay: rgba(53, 43, 34, 0.4); /* Warm overlay */
    
    --color-accent: var(--equator);           /* Equator - Warm gold */
    --color-accent-light: #e7b86f;           /* Light gold variant */
    --color-accent-dark: #d09840;            /* Dark gold variant */
    
    /* SECONDARY COLORS - Rich Earth Tones */
    --color-secondary: var(--sorrell-brown);     /* Sorrell brown */
    --color-secondary-dark: var(--potters-clay); /* Potters clay */
    
    /* NEUTRAL PALETTE - Using Specified Colors */
    --color-neutral-50: var(--citrine-white);    /* Lightest - citrine white */
    --color-neutral-100: var(--bone);            /* Bone */
    --color-neutral-200: var(--soft-amber);      /* Soft amber */
    --color-neutral-300: var(--celeste);         /* Celeste */
    --color-neutral-400: var(--nobel);           /* Nobel */
    --color-neutral-500: var(--green-spring);    /* Green spring */
    --color-neutral-600: #8c8b87;                /* Mid gray variant */
    --color-neutral-700: #6b6860;                /* Dark gray variant */
    --color-neutral-800: #4a453f;                /* Very dark gray variant */
    --color-neutral-900: var(--birch);           /* Darkest - birch */
    
    /* SEMANTIC COLORS - Status & Feedback */
    --color-success: var(--green-spring);     /* Green spring for success */
    --color-success-light: #c4c7c2;           /* Light green spring */
    --color-success-dark: #8e918c;            /* Dark green spring */
    
    --color-warning: var(--equator);          /* Equator - Warm gold */
    --color-warning-light: #e7b86f;           /* Light warning */
    --color-warning-dark: #d09840;            /* Dark warning */
    
    --color-error: #c97064;                   /* Warm red */
    --color-error-light: #d49188;             /* Light error */
    --color-error-dark: #a85a4f;              /* Dark error */
    
    --color-info: var(--celeste);             /* Celeste for info */
    --color-info-light: #dde0d9;              /* Light celeste */
    --color-info-dark: #a8aca5;               /* Dark celeste */
    
    /* TEXT COLORS - Using Specified Color Theme */
    --color-text-primary: var(--birch);           /* Main text color */
    --color-text-secondary: var(--potters-clay);  /* Secondary text */
    --color-text-muted: var(--green-spring);      /* Muted text */
    --color-text-inverse: var(--citrine-white);   /* Text on dark backgrounds */
    --color-text-accent: var(--equator);          /* Accent text color */
    
    /* TYPOGRAPHY - Storytelling Optimized */
    --font-primary: 'Playfair Display', 'Crimson Text', 'Times New Roman', serif;
    --font-secondary: 'Source Sans Pro', 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'Source Code Pro', 'Fira Code', 'Monaco', 'Consolas', monospace;
    
    /* FONT SIZES - Modular Scale (1.250 - Major Third) */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */
    --text-7xl: 4.5rem;      /* 72px */
    
    /* LINE HEIGHTS - Reading Optimized */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
    
    /* FONT WEIGHTS */
    --weight-light: 300;
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
    --weight-extrabold: 800;
    
    /* SPACING SYSTEM - 8px Grid */
    --space-px: 1px;
    --space-0: 0;
    --space-1: 0.25rem;      /* 4px */
    --space-2: 0.5rem;       /* 8px */
    --space-3: 0.75rem;      /* 12px */
    --space-4: 1rem;         /* 16px */
    --space-5: 1.25rem;      /* 20px */
    --space-6: 1.5rem;       /* 24px */
    --space-7: 1.75rem;      /* 28px */
    --space-8: 2rem;         /* 32px */
    --space-10: 2.5rem;      /* 40px */
    --space-12: 3rem;        /* 48px */
    --space-14: 3.5rem;      /* 56px */
    --space-16: 4rem;        /* 64px */
    --space-20: 5rem;        /* 80px */
    --space-24: 6rem;        /* 96px */
    --space-32: 8rem;        /* 128px */
    --space-40: 10rem;       /* 160px */
    --space-48: 12rem;       /* 192px */
    --space-56: 14rem;       /* 224px */
    --space-64: 16rem;       /* 256px */
    
    /* SHADOWS & ELEVATION - Enhanced Warm Shadow System */
    --shadow-sm: 0 1px 2px 0 rgba(53, 43, 34, 0.05);
    --shadow-base: 0 1px 3px 0 rgba(53, 43, 34, 0.1), 0 1px 2px 0 rgba(53, 43, 34, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(53, 43, 34, 0.1), 0 2px 4px -1px rgba(53, 43, 34, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(53, 43, 34, 0.1), 0 4px 6px -2px rgba(53, 43, 34, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(53, 43, 34, 0.1), 0 10px 10px -5px rgba(53, 43, 34, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(53, 43, 34, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(53, 43, 34, 0.06);
    
    /* ENHANCED SHADOW VARIANTS */
    --shadow-soft: 0 2px 8px rgba(53, 43, 34, 0.06), 0 1px 4px rgba(53, 43, 34, 0.04);
    --shadow-medium: 0 4px 12px rgba(53, 43, 34, 0.08), 0 2px 6px rgba(53, 43, 34, 0.06);
    --shadow-strong: 0 8px 24px rgba(53, 43, 34, 0.12), 0 4px 12px rgba(53, 43, 34, 0.08);
    --shadow-focus: 0 0 0 3px rgba(225, 169, 87, 0.15), 0 2px 8px rgba(53, 43, 34, 0.08);
    
    /* ENHANCED GLOW EFFECTS for Modern Storytelling */
    --glow-warm: 0 0 20px rgba(225, 169, 87, 0.3);
    --glow-warm-lg: 0 0 40px rgba(225, 169, 87, 0.2);
    --glow-accent: 0 0 15px rgba(225, 169, 87, 0.5);
    --glow-subtle: 0 0 12px rgba(225, 169, 87, 0.15);
    --glow-intense: 0 0 30px rgba(225, 169, 87, 0.4), 0 0 60px rgba(225, 169, 87, 0.2);
    --glow-success: 0 0 20px rgba(124, 152, 133, 0.3);
    --glow-error: 0 0 20px rgba(201, 112, 100, 0.3);
    
    /* BORDERS & RADII */
    --border-width: 1px;
    --border-width-2: 2px;
    --border-width-4: 4px;
    --border-width-8: 8px;
    
    --radius-none: 0;
    --radius-sm: 0.125rem;     /* 2px */
    --radius-base: 0.25rem;    /* 4px */
    --radius-md: 0.375rem;     /* 6px */
    --radius-lg: 0.5rem;       /* 8px */
    --radius-xl: 0.75rem;      /* 12px */
    --radius-2xl: 1rem;        /* 16px */
    --radius-3xl: 1.5rem;      /* 24px */
    --radius-full: 9999px;
    
    /* ENHANCED TRANSITIONS - Modern Smooth Interactions */
    --transition-fast: 150ms ease-out;
    --transition-base: 250ms ease-out;
    --transition-slow: 350ms ease-out;
    --transition-slower: 500ms ease-out;
    
    /* ADVANCED TRANSITION CURVES */
    --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-out-back: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.15, 0.86);
    
    /* COMPONENT-SPECIFIC TRANSITIONS */
    --transition-card: 300ms var(--ease-out-quart);
    --transition-button: 200ms var(--ease-out-expo);
    --transition-modal: 250ms var(--ease-out-back);
    --transition-drawer: 350ms var(--ease-in-out-circ);
    
    /* Z-INDEX SCALE */
    --z-0: 0;
    --z-10: 10;
    --z-20: 20;
    --z-30: 30;
    --z-40: 40;
    --z-50: 50;
    --z-auto: auto;
    
    /* RESPONSIVE BREAKPOINTS */
    --bp-sm: 640px;
    --bp-md: 768px;
    --bp-lg: 1024px;
    --bp-xl: 1280px;
    --bp-2xl: 1536px;
    
    /* CONTENT WIDTH CONSTRAINTS */
    --content-xs: 20rem;       /* 320px */
    --content-sm: 24rem;       /* 384px */
    --content-md: 28rem;       /* 448px */
    --content-lg: 32rem;       /* 512px */
    --content-xl: 36rem;       /* 576px */
    --content-2xl: 42rem;      /* 672px */
    --content-3xl: 48rem;      /* 768px */
    --content-4xl: 56rem;      /* 896px */
    --content-5xl: 64rem;      /* 1024px */
    --content-6xl: 72rem;      /* 1152px */
    --content-7xl: 80rem;      /* 1280px */
  }
  

/* ===================================================================
   BASE STYLES & RESET
   =================================================================== */

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

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background-color: var(--color-background) !important;
  min-height: 100vh;
}

/* Force Light Theme - Override any browser dark mode preferences */
html {
  background-color: #fbf4e4 !important;
}

body {
  background-color: #fbf4e4 !important;
  color: #352b22 !important;
}

/* Ensure all main content areas use light background */
main {
  background-color: #fbf4e4 !important;
}

.container, .container-lg {
  background-color: transparent !important;
}

/* Override any potential dark backgrounds on components */
.section {
  background-color: transparent !important;
}

.hero {
  background-color: #fbf4e4 !important;
}

/* Override any gradients that might cause dark appearance */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus {
  background: #e1a957 !important;
  color: #352b22 !important;
}

/* Ensure cards and components have light backgrounds */
.story-card,
.category-card,
.modern-story-card {
  background-color: #fbf4e4 !important;
  padding:var(--space-6);
  border: 1px solid #d6cab5 !important;
}

/* Override any hero gradients */
.hero-gradient {
  background: none !important;
}

/* Ensure hero text is readable over background images */
.hero .hero-title,
.hero .hero-subtitle,
.hero .hero-text {
  color: #fbf4e4 !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Hero actions buttons - maintain visibility */
.hero .btn-primary {
  background-color: #e1a957 !important;
  color: #352b22 !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero .btn-ghost {
  color: #fbf4e4 !important;
  border-color: #fbf4e4 !important;
  background-color: rgba(251, 244, 228, 0.1) !important;
  backdrop-filter: blur(10px);
}

/* ===================================================================
   TYPOGRAPHY SYSTEM - STORYTELLING OPTIMIZED
   =================================================================== */

/* HEADINGS - Emotional Serif Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
}

h1 {
  font-size: var(--text-5xl);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-8);
}

h2 {
  font-size: var(--text-4xl);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-6);
}

h3 {
  font-size: var(--text-3xl);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-5);
}

h4 {
  font-size: var(--text-2xl);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-4);
}

h5 {
  font-size: var(--text-xl);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-3);
}

h6 {
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-3);
}

/* RESPONSIVE HEADINGS */
@media (max-width: 768px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
  h3 { font-size: var(--text-2xl); }
  h4 { font-size: var(--text-xl); }
}

/* BODY TEXT - Reading Optimized */
p {
  margin-bottom: var(--space-6);
  line-height: var(--leading-relaxed);
  max-width: 65ch; /* Optimal reading width */
}

/* LONG-FORM CONTENT STYLING */
.story-content {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-primary);
}

.story-content p {
  margin-bottom: var(--space-8);
}

.story-content p:first-child {
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
}

/* QUOTE STYLING - Storytelling Focus */
blockquote {
  position: relative;
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-style: italic;
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin: var(--space-12) 0;
  padding: var(--space-8) var(--space-12);
  background: linear-gradient(135deg, var(--color-background-alt), var(--color-neutral-50));
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-lg);
}

blockquote::before {
  content: "";
  font-size: var(--text-5xl);
  color: var(--color-accent);
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  line-height: 1;
}

blockquote cite {
  display: block;
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  font-style: normal;
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-top: var(--space-4);
}

/* LISTS */
ul, ol {
  margin-bottom: var(--space-6);
  padding-left: var(--space-6);
}

li {
  margin-bottom: var(--space-2);
  line-height: var(--leading-relaxed);
}

/* LINKS - Warm Accent Colors */
a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: all var(--transition-base);
}

a:hover {
  color: var(--color-accent-dark);
  text-decoration-color: var(--color-accent-dark);
}

/* ===================================================================
   LAYOUT SYSTEM
   =================================================================== */

/* CONTAINER SYSTEM */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.container-sm { max-width: var(--content-2xl); }
/* .container-md { max-width: var(--content-4xl); } */
/* .container-lg { max-width: var(--content-6xl); } */
.container-xl { max-width: var(--content-7xl); }

@media (min-width: 640px) {
  .container { padding-left: var(--space-6); padding-right: var(--space-6); }
}

@media (min-width: 1024px) {
  .container { padding-left: var(--space-8); padding-right: var(--space-8); }
}

/* ENHANCED GRID SYSTEM */
.grid {
  display: grid;
  gap: var(--space-6);
}

/* COLUMN LAYOUTS */
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
.grid-cols-6 { grid-template-columns: repeat(6, 1fr); }
.grid-cols-12 { grid-template-columns: repeat(12, 1fr); }

/* AUTO-FIT RESPONSIVE GRIDS */
.grid-auto-fit { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-auto-fit-sm { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-auto-fit-md { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-auto-fit-lg { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }
.grid-auto-fit-xl { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }

/* GRID SPANS */
.col-span-1 { grid-column: span 1; }
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.col-span-4 { grid-column: span 4; }
.col-span-5 { grid-column: span 5; }
.col-span-6 { grid-column: span 6; }
.col-span-full { grid-column: 1 / -1; }

.row-span-1 { grid-row: span 1; }
.row-span-2 { grid-row: span 2; }
.row-span-3 { grid-row: span 3; }
.row-span-4 { grid-row: span 4; }
.row-span-full { grid-row: 1 / -1; }

/* GRID GAPS */
.gap-0 { gap: 0; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-12 { gap: var(--space-12); }
.gap-16 { gap: var(--space-16); }

.gap-x-0 { column-gap: 0; }
.gap-x-2 { column-gap: var(--space-2); }
.gap-x-4 { column-gap: var(--space-4); }
.gap-x-6 { column-gap: var(--space-6); }
.gap-x-8 { column-gap: var(--space-8); }

.gap-y-0 { row-gap: 0; }
.gap-y-2 { row-gap: var(--space-2); }
.gap-y-4 { row-gap: var(--space-4); }
.gap-y-6 { row-gap: var(--space-6); }
.gap-y-8 { row-gap: var(--space-8); }

/* ASYMMETRICAL GRIDS */
.grid-sidebar-left { grid-template-columns: 1fr 3fr; }
.grid-sidebar-right { grid-template-columns: 3fr 1fr; }
.grid-split { grid-template-columns: 1fr 1fr; }
.grid-thirds { grid-template-columns: 1fr 2fr; }
.grid-golden { grid-template-columns: 1fr 1.618fr; }

/* MASONRY-STYLE GRIDS */
.grid-masonry {
  columns: 3;
  column-gap: var(--space-6);
}

.grid-masonry-item {
  break-inside: avoid;
  margin-bottom: var(--space-6);
}

/* RESPONSIVE GRID SYSTEM */
@media (max-width: 480px) {
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4,
  .grid-cols-5,
  .grid-cols-6 {
    grid-template-columns: 1fr;
  }
  
  .grid-sidebar-left,
  .grid-sidebar-right,
  .grid-split,
  .grid-thirds,
  .grid-golden {
    grid-template-columns: 1fr;
  }
  
  .grid-masonry {
    columns: 1;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .grid-cols-3,
  .grid-cols-4,
  .grid-cols-5,
  .grid-cols-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-sidebar-left,
  .grid-sidebar-right {
    grid-template-columns: 1fr;
  }
  
  .grid-masonry {
    columns: 2;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-cols-4,
  .grid-cols-5,
  .grid-cols-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .grid-cols-6 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* FLEX UTILITIES */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1; }

/* ===================================================================
   COMPONENT STYLES - STORYTELLING FOCUSED
   =================================================================== */

/* ENHANCED NAVIGATION HEADER */
.header {
  background: rgba(251, 244, 228, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-neutral-200);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: var(--z-50);
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(251, 244, 228, 0.98);
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(25px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--content-7xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.logo {
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  transition: all var(--transition-base);
}

.logo:hover {
  color: var(--color-accent);
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-link {
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  text-decoration: none;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--color-accent);
  background-color: var(--color-background-alt);
  transform: translateY(-1px);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link.active {
  color: var(--color-accent);
  background-color: rgba(225, 169, 87, 0.1);
}

.nav-link.active::after {
  width: 80%;
}

/* HERO SECTION - Enhanced Modern Design */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-inverse);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary-dark));
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1564501049412-61c2a3083791?w=1920&h=1080&fit=crop&crop=center&auto=format&q=75') center/cover;
  opacity: 0.4;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(53, 43, 34, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-4xl);
  padding: var(--space-8);
  animation: heroFadeIn 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(225, 169, 87, 0.2);
  border: 1px solid rgba(225, 169, 87, 0.3);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  margin-bottom: var(--space-6);
  animation: heroSlideUp 1s ease-out 0.2s both;
}

.hero-badge-text {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-8);
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
  animation: heroSlideUp 1s ease-out 0.4s both;
}

.hero-title-primary {
  display: block;
  color: var(--color-text-inverse);
}

.hero-title-accent {
  display: block;
  color: var(--color-accent);
  position: relative;
}

.hero-title-accent::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  border-radius: var(--radius-full);
}

.hero-subtitle {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-12);
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: heroSlideUp 1s ease-out 0.6s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-16);
  animation: heroSlideUp 1s ease-out 0.8s both;
}

.btn-hero {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: all var(--transition-base);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), var(--glow-accent);
}

.hero-stats {
  display: flex;
  gap: var(--space-12);
  justify-content: center;
  margin-bottom: var(--space-12);
  animation: heroSlideUp 1s ease-out 1s both;
}

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

.hero-stat-number {
  display: block;
  font-family: var(--font-primary);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-accent);
  margin-bottom: var(--space-1);
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: rgba(251, 244, 228, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(251, 244, 228, 0.7);
  animation: heroSlideUp 1s ease-out 1.2s both, bounce 2s ease-in-out infinite;
  cursor: pointer;
}

.scroll-text {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.scroll-arrow {
  opacity: 0.6;
}

/* Hero Animations */
@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

@media (max-width: 768px) {
  .hero {
    height: 90vh;
    min-height: 600px;
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .hero-subtitle {
    font-size: var(--text-lg);
  }
  
  .hero-actions {
    flex-direction: column;
    gap: var(--space-3);
  }
  
  .hero-stats {
    gap: var(--space-8);
  }
  
  .hero-stat-number {
    font-size: var(--text-2xl);
  }
}

/* STORY CARDS - Emotional Engagement */
.story-card {
  background: var(--color-background);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-base);
  overflow: hidden;
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.story-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--glow-warm);
}

.story-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slower);
}

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

.story-card-content {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.story-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.story-card-category {
  background: var(--color-accent);
  color: var(--color-background);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.story-card-title {
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
}

.story-card-excerpt {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  flex: 1;
}

.story-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ENHANCED BUTTONS - Modern Interactive System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-button);
  min-height: 44px;
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
  z-index: 0;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: var(--color-background);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong), var(--glow-accent);
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--color-background);
  color: var(--color-text-primary);
  border: 2px solid var(--color-neutral-300);
  box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
  background: var(--color-background-alt);
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-ghost {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-ghost:hover {
  background: var(--color-accent);
  color: var(--color-background);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium), var(--glow-subtle);
}

/* BUTTON SIZES */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  min-height: 36px;
}

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

.btn-xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-xl);
  min-height: 60px;
}

/* BUTTON STATES */
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: var(--shadow-sm) !important;
}

.btn-loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* SPECIAL BUTTON VARIANTS */
.btn-success {
  background: linear-gradient(135deg, var(--color-success), var(--color-success-dark));
  color: var(--color-background);
  border: 2px solid transparent;
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium), var(--glow-success);
}

.btn-danger {
  background: linear-gradient(135deg, var(--color-error), var(--color-error-dark));
  color: var(--color-background);
  border: 2px solid transparent;
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium), var(--glow-error);
}

/* FEATURED STORY SECTION */
.featured-story {
  position: relative;
  background: var(--color-background-alt);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin: var(--space-16) 0;
  box-shadow: var(--shadow-xl);
}

.featured-story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.featured-story-text {
  padding: var(--space-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-story-image {
  background-size: cover;
  background-position: center;
  position: relative;
}

.featured-story-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(225, 169, 87, 0.1));
}

@media (max-width: 768px) {
  .featured-story-content {
    grid-template-columns: 1fr;
  }
  
  .featured-story-text {
    padding: var(--space-8);
  }
  
  .featured-story-image {
    height: 250px;
  }
}

/* OWNER PROFILE SECTION */
.owner-profile {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-12);
  padding: var(--space-12);
  background: var(--color-background);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  margin: var(--space-16) 0;
}

.owner-avatar {
  width: 300px;
  height: 300px;
  border-radius: var(--radius-2xl);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.owner-info h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-2);
}

.owner-title {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-1);
}

.owner-location {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.owner-quote {
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-text-secondary);
  margin: var(--space-8) 0;
  padding-left: var(--space-6);
  border-left: 3px solid var(--color-accent);
}

@media (max-width: 768px) {
  .owner-profile {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .owner-avatar {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }
}

/* TECHNOLOGY SHOWCASE */
.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
  margin: var(--space-12) 0;
}

.tech-category {
  background: var(--color-background);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-base);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.tech-category:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.tech-icon {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-4);
  display: block;
}

.tech-category h3 {
  margin-bottom: var(--space-4);
}

.tech-category p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
}

.story-count {
  background: var(--color-neutral-100);
  color: var(--color-text-secondary);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

/* RESPONSIVE UTILITIES */
.hidden-mobile { display: block; }
.hidden-desktop { display: none; }

@media (max-width: 768px) {
  .hidden-mobile { display: none; }
  .hidden-desktop { display: block; }
  
  .nav-links { display: none; }
  
}

/* COMPREHENSIVE ACCESSIBILITY ENHANCEMENTS */

/* Screen Reader Only Content */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sr-only-focusable:focus,
.sr-only-focusable:active {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: normal !important;
}

/* Enhanced Focus States - WCAG 2.1 AA Compliant */
*:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 1px var(--color-background);
}

/* High contrast focus for better visibility */
@media (prefers-contrast: high) {
  *:focus-visible {
    outline: 4px solid currentColor;
    outline-offset: 2px;
  }
}

/* Focus trap for modals and dropdowns */
.focus-trap {
  outline: none;
}

.focus-trap:focus-within {
  box-shadow: inset 0 0 0 2px var(--color-accent);
}

/* Skip Links */
.skip-links {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-50);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-6);
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: var(--weight-semibold);
  box-shadow: var(--shadow-xl);
  transition: top var(--transition-base);
}

.skip-link:focus {
  top: var(--space-4);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-content,
  .story-card,
  .category-card {
    animation: none !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .story-card,
  .category-card,
  .btn {
    border: 2px solid currentColor;
  }
  
  .hero-background,
  .newsletter-pattern {
    opacity: 0.1;
  }
}

/* Light Theme Only - Dark Mode Removed */

/* Font Size Scaling for Accessibility */
@media (min-resolution: 192dpi) {
  html {
    font-size: 18px;
  }
}

/* Keyboard Navigation Enhancements */
.keyboard-nav *:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.keyboard-nav .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-focus);
}

.keyboard-nav .nav-link:focus-visible {
  background-color: var(--color-background-alt);
  color: var(--color-accent);
}

/* ARIA Live Regions */
.sr-live-region {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Form Accessibility */
.form-error {
  color: var(--color-error);
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.form-error::before {
  content: '⚠';
  font-size: var(--text-base);
  flex-shrink: 0;
}

.form-required {
  color: var(--color-error);
  font-size: var(--text-sm);
}

/* Button Accessibility */
.btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.btn[aria-expanded="true"]::after {
  content: '';
  display: inline-block;
  margin-left: var(--space-2);
  border: 4px solid transparent;
  border-bottom: 4px solid currentColor;
  transform: rotate(0deg);
  transition: transform var(--transition-base);
}

.btn[aria-expanded="false"]::after {
  content: '';
  display: inline-block;
  margin-left: var(--space-2);;
  border: 4px solid transparent;
  border-left: 4px solid currentColor;
  transform: rotate(0deg);
  transition: transform var(--transition-base);
}

/* Color Contrast Helpers */
.text-high-contrast {
  color: var(--color-text-primary);
  font-weight: var(--weight-semibold);
}

.bg-high-contrast {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
}

/* Image Accessibility */
img[alt=""],
img:not([alt]) {
  opacity: 0.8;
  filter: grayscale(0.5);
}

/* Print Accessibility */
@media print {
  .skip-link,
  .btn,
  .nav-links {
    display: none !important;
  }
  
  * {
    color: #000 !important;
    background: #fff !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  a::after {
    content: " (" attr(href) ")";
    font-size: smaller;
  }
  
  .story-card,
  .category-card {
    border: 1px solid #000;
    margin-bottom: 1rem;
    page-break-inside: avoid;
  }
}

/* ===================================================================
   ENHANCED SECTIONS - MODERN DESIGN PATTERNS
   =================================================================== */

/* SECTION HEADERS - Consistent Styling */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  color: var(--color-background);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-md);
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-6);
  color: var(--color-text-primary);
}

.section-description {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* CATEGORIES SECTION */
.categories-section {
  padding: var(--space-24) var(--space-8);
  background: var(--color-background);
  position: relative;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.category-card {
  position: relative;
  background: var(--color-background);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-base);
  border: 2px solid transparent;
  transition: all var(--transition-base);
  cursor: pointer;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(225, 169, 87, 0.02));
  border-radius: var(--radius-2xl);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.category-card:hover::before {
  opacity: 1;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), var(--glow-warm);
  border-color: var(--color-accent);
}

.category-card-primary {
  background: linear-gradient(135deg, var(--color-background), var(--color-background-alt));
  border-color: var(--color-accent);
}

.category-card-primary .category-icon {
  color: var(--color-accent);
}

.category-card-background {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(225, 169, 87, 0.1), transparent);
  border-radius: 50%;
}

.category-card-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.category-icon {
  margin-bottom: var(--space-6);
  color: var(--color-text-secondary);
  transition: all var(--transition-base);
}

.category-card:hover .category-icon {
  color: var(--color-accent);
  transform: scale(1.1);
}

.category-title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
}

.category-description {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.category-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.story-count {
  background: var(--color-neutral-100);
  color: var(--color-text-secondary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}

.trend-indicator {
  background: var(--color-success);
  color: var(--color-background);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-accent);
  text-decoration: none;
  font-weight: var(--weight-semibold);
  transition: all var(--transition-base);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
}

.category-link:hover {
  background: var(--color-background-alt);
  transform: translateX(4px);
}

/* FEATURED STORY SECTION */
.featured-story-section {
  padding: var(--space-24) var(--space-8);
  background: var(--color-background-alt);
  position: relative;
}

.featured-story-card {
  position: relative;
  background: var(--color-background);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.featured-story-badge {
  position: absolute;
  top: var(--space-6);
  left: var(--space-6);
  z-index: 3;
  background: var(--color-accent);
  color: var(--color-background);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.featured-story-text {
  padding: var(--space-12);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.story-reading-time {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.featured-story-title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
  color: var(--color-text-primary);
}

.featured-story-description {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.featured-story-highlights {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.highlight {
  text-align: center;
}

.highlight-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-1);
}

.highlight-value {
  display: block;
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-accent);
}

.featured-story-actions {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.btn-featured {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

.btn-bookmark {
  min-width: 56px;
  min-height: 56px;
  padding: var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-story-visual {
  position: relative;
  overflow: hidden;
}

.featured-story-image {
  position: relative;
  height: 100%;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
}

.image-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, var(--color-secondary), var(--color-accent));
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(53, 43, 34, 0.3));
}

.story-author {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(251, 244, 228, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.author-name {
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  font-size: var(--text-sm);
}

.author-title {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ENHANCED MODERN STORY CARDS */
.stories-section {
  padding: var(--space-24) var(--space-8);
  background: var(--color-background);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.related-stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-8);
}

/* Related Stories Section */
.related-stories {
  margin-top: var(--space-16);
  padding: var(--space-8) 0;
  background: var(--color-background-alt);
  border-radius: var(--radius-xl);
}

.related-stories h3 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-8);
  text-align: center;
  color: var(--color-text-primary);
  font-family: var(--font-primary);
}

/* Related Story Cards */
.related-story-card {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.related-story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-light);
}

.related-story-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.related-story-card:hover::before {
  opacity: 1;
}

.related-story-card h4 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
  line-height: var(--leading-tight);
}

.related-story-card h4 a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

.related-story-card h4 a:hover {
  color: var(--color-accent);
}

.related-story-card p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  flex: 1;
}

.related-story-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  margin-top: auto;
  padding-top: var(--space-2);
  border-top: 1px solid var(--color-border);
}

/* Breadcrumb Navigation */
.breadcrumb {
  margin-bottom: var(--space-8);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  gap: var(--space-2);
}

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

.breadcrumb a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-base);
}

.breadcrumb a:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

.breadcrumb .separator {
  margin: 0 var(--space-2);
  color: var(--color-text-tertiary);
  user-select: none;
}

.breadcrumb .current {
  color: var(--color-text-secondary);
  font-weight: var(--weight-medium);
}

/* Category Tags */
.category-tag {
  background: var(--color-accent);
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-story-card {
  background: var(--color-background);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-card);
  position: relative;
  border: 1px solid transparent;
  cursor: pointer;
}

.modern-story-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.modern-story-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-strong), var(--glow-subtle);
  border-color: rgba(225, 169, 87, 0.1);
}

.modern-story-card:hover::before {
  opacity: 1;
}

.modern-story-card:focus-within {
  box-shadow: var(--shadow-focus);
  transform: translateY(-8px);
}

.story-card-image-container {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.story-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slower);
  filter: brightness(1) contrast(1);
}

.modern-story-card:hover .story-card-image {
  transform: scale(1.1);
  filter: brightness(1.05) contrast(1.1);
}

.story-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(53, 43, 34, 0.05) 40%,
    rgba(53, 43, 34, 0.15) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.modern-story-card:hover .story-card-overlay {
  opacity: 1;
}

.modern-story-card:focus-within .story-card-overlay {
  opacity: 0.5;
}

.story-card-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 2;
}

.story-badge {
  background: var(--color-background);
  color: var(--color-text-primary);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.story-badge.owner-story {
  background: var(--color-accent);
  color: var(--color-background);
}

.story-badge.technology {
  background: var(--color-info);
  color: var(--color-background);
}

.story-badge.success-story {
  background: var(--color-success);
  color: var(--color-background);
}

.story-card-content {
  padding: var(--space-6);
}

.story-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.reading-time {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.story-card-title {
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
}

.story-card-excerpt {
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.story-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.story-author-mini {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.author-mini-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.author-mini-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
}

.story-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-accent);
  text-decoration: none;
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  transition: all var(--transition-base);
}

.story-card-link:hover {
  transform: translateX(4px);
}

.stories-cta {
  text-align: center;
  margin-top: var(--space-16);
}

.btn-large {
  padding: var(--space-4) var(--space-10);
  font-size: var(--text-lg);
  min-height: 56px;
}

/* NEWSLETTER SECTION */
.newsletter-section {
  position: relative;
  padding: var(--space-32) var(--space-8);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary-dark));
  color: var(--color-text-inverse);
  overflow: hidden;
}

.newsletter-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.newsletter-pattern {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100"><defs><pattern id="newsletter-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(251,244,228,0.1)"/><circle cx="80" cy="40" r="0.8" fill="rgba(251,244,228,0.08)"/><circle cx="40" cy="70" r="1.2" fill="rgba(251,244,228,0.06)"/><circle cx="70" cy="80" r="0.6" fill="rgba(251,244,228,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23newsletter-pattern)"/></svg>');
  opacity: 0.4;
}

.newsletter-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-header {
  margin-bottom: var(--space-12);
}

.newsletter-icon {
  margin-bottom: var(--space-6);
  color: var(--color-accent);
}

.newsletter-title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-6);
  color: var(--color-text-inverse);
}

.newsletter-description {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  opacity: 0.9;
}

.newsletter-form {
  background: rgba(251, 244, 228, 0.1);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 1px solid rgba(251, 244, 228, 0.2);
}

.newsletter-input-group {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.newsletter-input {
  flex: 1;
  padding: var(--space-4) var(--space-6);
  border: 2px solid rgba(251, 244, 228, 0.2);
  border-radius: var(--radius-xl);
  font-size: var(--text-base);
  background: rgba(251, 244, 228, 0.1);
  color: var(--color-text-inverse);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.newsletter-input::placeholder {
  color: rgba(251, 244, 228, 0.6);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(225, 169, 87, 0.2);
}

.newsletter-submit {
  padding: var(--space-4) var(--space-6);
  min-height: 56px;
  flex-shrink: 0;
}

.newsletter-benefits {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(251, 244, 228, 0.8);
}

.benefit-item svg {
  color: var(--color-success-light);
  flex-shrink: 0;
}

.newsletter-privacy {
  font-size: var(--text-sm);
  color: rgba(251, 244, 228, 0.7);
  line-height: var(--leading-relaxed);
}

.newsletter-privacy a {
  color: var(--color-accent-light);
  text-decoration: underline;
}

/* BUTTON ICON ENHANCEMENTS */
.btn-icon {
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

.btn-icon-left {
  margin-right: var(--space-2);
}

.btn-icon-right {
  margin-left: var(--space-2);
}

.btn-icon-only {
  padding: var(--space-3);
  min-width: 44px;
}

.btn-icon-only.btn-sm {
  padding: var(--space-2);
  min-width: 36px;
}

.btn-icon-only.btn-lg {
  padding: var(--space-4);
  min-width: 52px;
}

/* RESPONSIVE ENHANCEMENTS */
@media (max-width: 768px) {
  .featured-story-content {
    grid-template-columns: 1fr;
  }
  
  .featured-story-text {
    padding: var(--space-8);
  }
  
  .featured-story-visual {
    height: 300px;
  }
  
  .featured-story-highlights {
    gap: var(--space-4);
  }
  
  .stories-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .related-stories-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .related-stories {
    margin-top: var(--space-12);
    padding: var(--space-6) var(--space-4);
  }
  
  .related-story-card {
    padding: var(--space-4);
  }
  
  .breadcrumb {
    margin-bottom: var(--space-6);
    font-size: var(--text-xs);
  }
  
  .breadcrumb ol {
    gap: var(--space-1);
  }
  
  .breadcrumb .separator {
    margin: 0 var(--space-1);
  }
  
  .newsletter-input-group {
    flex-direction: column;
  }
  
  .newsletter-benefits {
    flex-direction: column;
    gap: var(--space-3);
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
}

/* PRINT STYLES */
@media print {
  .header,
  .nav-links,
  .btn,
 
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  .story-card,
  .modern-story-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* ===================================================================
   ENHANCED FORM COMPONENTS - Modern Input System
   =================================================================== */

/* FORM CONTAINER - COMPACT */
.form-group {
  margin-bottom: var(--space-4);
  position: relative;
}

.form-row {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-4);
  margin-bottom: 0;
}

.form-col {
  flex: 1;
}

/* FORM LABELS */
.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
  line-height: var(--leading-tight);
}

.form-label-required::after {
  content: ' *';
  color: var(--color-error);
}

.form-label-optional::after {
  content: ' (optional)';
  color: var(--color-text-muted);
  font-weight: var(--weight-normal);
  font-size: var(--text-xs);
}

/* FORM INPUTS */
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background: var(--color-background);
  border: 2px solid var(--color-neutral-300);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: var(--shadow-focus);
  background: var(--color-background);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 1;
}

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

.form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23895f36' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right var(--space-3) center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: var(--space-10);
  appearance: none;
}

/* FORM INPUT STATES */
.form-input.is-valid,
.form-textarea.is-valid,
.form-select.is-valid {
  border-color: var(--color-success);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%237c9885'%3e%3cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3e%3c/svg%3e");
  background-position: right var(--space-3) center;
  background-repeat: no-repeat;
  background-size: 1.25rem;
  padding-right: var(--space-10);
}

.form-input.is-invalid,
.form-textarea.is-invalid,
.form-select.is-invalid {
  border-color: var(--color-error);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23c97064'%3e%3cpath fill-rule='evenodd' d='M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z' clip-rule='evenodd'/%3e%3c/svg%3e");
  background-position: right var(--space-3) center;
  background-repeat: no-repeat;
  background-size: 1.25rem;
  padding-right: var(--space-10);
}

.form-select.is-valid,
.form-select.is-invalid {
  background-position: right var(--space-10) center, right var(--space-3) center;
}

/* FORM FEEDBACK */
.form-feedback {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
  line-height: var(--leading-tight);
}

.form-feedback.is-valid {
  color: var(--color-success-dark);
}

.form-feedback.is-invalid {
  color: var(--color-error-dark);
}

.form-help {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
  line-height: var(--leading-normal);
}

/* FORM INPUT GROUPS */
.form-input-group {
  display: flex;
  align-items: stretch;
}

.form-input-group .form-input {
  border-radius: 0;
  border-right: 0;
}

.form-input-group .form-input:first-child {
  border-top-left-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
}

.form-input-group .btn:last-child {
  border-top-right-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

.form-input-group-prepend,
.form-input-group-append {
  display: flex;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  background: var(--color-neutral-100);
  border: 2px solid var(--color-neutral-300);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.form-input-group-prepend {
  border-right: 0;
  border-top-left-radius: var(--radius-lg);
  border-bottom-left-radius: var(--radius-lg);
}

.form-input-group-append {
  border-left: 0;
  border-top-right-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

/* CHECKBOX AND RADIO INPUTS */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.form-check-input {
  width: 20px;
  height: 20px;
  margin: 0;
  appearance: none;
  border: 2px solid var(--color-neutral-400);
  border-radius: var(--radius-sm);
  background: var(--color-background);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  flex-shrink: 0;
}

.form-check-input[type="radio"] {
  border-radius: var(--radius-full);
}

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

.form-check-input:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.form-check-input[type="checkbox"]:checked::after {
  width: 12px;
  height: 8px;
  border: 2px solid var(--color-background);
  border-top: none;
  border-right: none;
  transform: translate(-50%, -60%) rotate(-45deg);
}

.form-check-input[type="radio"]:checked::after {
  width: 8px;
  height: 8px;
  background: var(--color-background);
  border-radius: var(--radius-full);
}

.form-check-label {
  font-size: var(--text-base);
  color: var(--color-text-primary);
  cursor: pointer;
  line-height: var(--leading-relaxed);
}

/* FORM SECTIONS - COMPACT */
.form-section {
  padding: var(--space-5);
  background: var(--color-background);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-neutral-200);
  margin-bottom: var(--space-5);
}

.form-section-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-neutral-200);
}

.form-section-description {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

/* FORM ACTIONS - COMPACT */
.form-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  justify-content: center;
  align-items: center;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-neutral-200);
  margin-top: var(--space-5);
  text-align: center;
}

.form-actions-left {
  justify-content: flex-start;
}

.form-actions-center {
  justify-content: center;
}

.form-actions-between {
  justify-content: space-between;
}

/* RESPONSIVE FORMS */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .form-actions .btn {
    width: 100%;
  }
}

/* ===================================================================
   IMAGE STYLING - REAL PHOTOS INTEGRATION
   =================================================================== */

.category-image-icon {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.category-card:hover .category-image-icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.featured-story-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slower);
}

.featured-story-card:hover .featured-story-main-image {
  transform: scale(1.05);
}

.story-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slower);
}

.story-card:hover .story-card-image {
  transform: scale(1.1);
}

.author-avatar {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-background);
  box-shadow: var(--shadow-md);
}

/* RESPONSIVE IMAGE OPTIMIZATIONS */
@media (max-width: 768px) {
  .category-image-icon {
    width: 40px;
    height: 40px;
  }
  
  .author-avatar {
    width: 40px;
    height: 40px;
  }
}

/* ===================================================================
   MODERN UTILITY CLASSES - ENHANCED DESIGN SYSTEM
   =================================================================== */

/* TEXT UTILITIES */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }

.font-light { font-weight: var(--weight-light); }
.font-normal { font-weight: var(--weight-normal); }
.font-medium { font-weight: var(--weight-medium); }
.font-semibold { font-weight: var(--weight-semibold); }
.font-bold { font-weight: var(--weight-bold); }

.text-primary { color: var(--color-text-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-accent); }
.text-success { color: var(--color-success); }
.text-error { color: var(--color-error); }

.leading-tight { line-height: var(--leading-tight); }
.leading-normal { line-height: var(--leading-normal); }
.leading-relaxed { line-height: var(--leading-relaxed); }

/* SPACING UTILITIES */
.m-0 { margin: 0; }
.m-2 { margin: var(--space-2); }
.m-4 { margin: var(--space-4); }
.m-6 { margin: var(--space-6); }
.m-8 { margin: var(--space-8); }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mx-auto { margin-left: auto; margin-right: auto; }
.my-8 { margin-top: var(--space-8); margin-bottom: var(--space-8); }

.p-0 { padding: 0; }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }
.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }

/* BORDER UTILITIES */
.rounded { border-radius: var(--radius-base); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

/* SHADOW UTILITIES */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow-base); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* BACKGROUND UTILITIES */
.bg-white { background-color: var(--color-background); }
.bg-alt { background-color: var(--color-background-alt); }
.bg-primary { background-color: var(--color-primary); }
.bg-accent { background-color: var(--color-accent); }

/* WIDTH & HEIGHT UTILITIES */
.w-full { width: 100%; }
.w-auto { width: auto; }
.h-full { height: 100%; }
.h-auto { height: auto; }

.max-w-xs { max-width: var(--content-xs); }
.max-w-sm { max-width: var(--content-sm); }
.max-w-md { max-width: var(--content-md); }
.max-w-lg { max-width: var(--content-lg); }
.max-w-xl { max-width: var(--content-xl); }
.max-w-2xl { max-width: var(--content-2xl); }
.max-w-3xl { max-width: var(--content-3xl); }
.max-w-4xl { max-width: var(--content-4xl); }

/* DISPLAY & POSITION UTILITIES */
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }

.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }

/* OPACITY & CURSOR UTILITIES */
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }

.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

/* TRANSITION UTILITIES */
.transition-all { transition: all var(--transition-base); }
.transition-colors { transition: color var(--transition-base), background-color var(--transition-base); }
.transition-transform { transition: transform var(--transition-base); }

/* RESPONSIVE UTILITIES */
@media (max-width: 640px) {
  .sm\\:hidden { display: none; }
  .sm\\:block { display: block; }
  .sm\\:text-center { text-align: center; }
}

@media (max-width: 768px) {
  .md\\:hidden { display: none; }
  .md\\:block { display: block; }
  .md\\:grid-cols-1 { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .lg\\:hidden { display: none; }
  .lg\\:block { display: block; }
  .lg\\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================================================
   MISSING COMPONENTS - SUBMIT STORY PAGE
   =================================================================== */

/* GUIDELINES SECTION - COMPACT */
.guidelines-section {
  padding: var(--space-12) 0;
  background-color: var(--color-background-alt);
}

.guidelines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.guideline-card {
  background: var(--color-background);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-base);
  transition: all var(--transition-base);
  text-align: center;
}

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

.guideline-icon {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-accent);
}

.guideline-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.guideline-description {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* BENEFITS SECTION - COMPACT */
.benefits-section {
  padding: var(--space-12) 0;
  background-color: var(--color-background);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-6);
  background: var(--color-background);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-base);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.benefit-icon {
  flex-shrink: 0;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  display: flex;
  justify-content: center;
}

.benefit-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.benefit-description {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* SUBMISSION FORM COMPONENTS - COMPACT */
.submission-section {
  padding: var(--space-10) 0;
  background-color: var(--color-background);
}

.submission-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.story-submission-form {
  max-width: var(--content-6xl);
  margin: 0 auto;
  background: var(--color-background);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-base);
  overflow: hidden;
}

/* RESPONSIVE ADJUSTMENTS - COMPACT */
@media (max-width: 768px) {
  .guidelines-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
  
  .guideline-card,
  .benefit-card {
    padding: var(--space-4);
  }
  
  .form-section {
    padding: var(--space-4);
    margin-bottom: var(--space-4);
  }
}

@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

/* PRIVACY PAGE COMPONENTS */
.privacy-banner {
  padding: var(--space-16) 0;
  background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent-light));
  border-bottom: 1px solid var(--color-border);
}

.privacy-banner-content {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  max-width: var(--content-xl);
  margin: 0 auto;
}

.privacy-banner-icon {
  flex-shrink: 0;
}

.privacy-banner-text {
  flex: 1;
}

.privacy-banner-title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.privacy-banner-subtitle {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
}

.privacy-banner-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-4);
}

.privacy-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-warning-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.privacy-feature-icon {
  font-size: var(--text-lg);
}

.privacy-feature-text {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
}

.privacy-content {
  padding: var(--space-16) 0;
  background-color: var(--color-background);
}

.privacy-navigation {
  background: var(--color-neutral-50);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-12);
  border: 1px solid var(--color-border);
}

.privacy-nav-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
}

.privacy-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-3);
}

.privacy-nav-link {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: var(--color-text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

.privacy-nav-link:hover,
.privacy-nav-link.active {
  background: var(--color-accent);
  color: white;
  transform: translateY(-1px);
}

.privacy-sections {
  max-width: var(--content-lg);
  margin: 0 auto;
}

.privacy-section {
  margin-bottom: var(--space-16);
  padding: var(--space-8);
  background: var(--color-background);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-base);
  border: 1px solid var(--color-border);
}

.privacy-section-title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-accent);
}

.privacy-section-content h3 {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin: var(--space-6) 0 var(--space-4) 0;
}

.privacy-section-content h4 {
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
  margin: var(--space-4) 0 var(--space-3) 0;
}

.privacy-section-content p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}

.privacy-section-content ul {
  margin: var(--space-3) 0 var(--space-4) 0;
  padding-left: var(--space-6);
  color: var(--color-text-secondary);
}

.privacy-section-content li {
  margin-bottom: var(--space-2);
  line-height: var(--leading-relaxed);
}

.privacy-highlight {
  background: linear-gradient(135deg, var(--color-dark-light), var(--color-secondary-light));
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
  border-left: 4px solid var(--color-accent);
}

.privacy-highlight h3 {
  color: var(--color-primary);
  margin-top: 0;
}

.privacy-contact-info {
  background: var(--color-neutral-50);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  margin: var(--space-4) 0;
  border: 1px solid var(--color-border);
}

.privacy-contact-info h3 {
  margin-top: 0;
  color: var(--color-primary);
}

.privacy-meta {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.privacy-meta span {
  padding: var(--space-2) var(--space-4);
  background: var(--color-neutral-100);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.privacy-actions {
  padding: var(--space-16) 0;
  background: linear-gradient(135deg, var(--color-dark-light), var(--color-accent-light));
}

.privacy-actions-card {
  background: white;
  padding: var(--space-12);
  border-radius: var(--radius-2xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.privacy-actions-card h2 {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.privacy-actions-card p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
}

.privacy-actions-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* PRIVACY PAGE RESPONSIVE */
@media (max-width: 768px) {
  .privacy-banner-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-8);
  }
  
  .privacy-banner-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .privacy-nav-list {
    grid-template-columns: 1fr;
  }
  
  .privacy-meta {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .privacy-actions-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .privacy-actions-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .privacy-banner-features {
    grid-template-columns: 1fr;
  }
}

/* SUBMISSION HERO BANNER */
.submission-hero {
  position: relative;
  padding: var(--space-20) 0 var(--space-16);
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.submission-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 2;
}

.submission-hero-visual {
  position: relative;
}

.hero-image-container {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  transform: rotate(-2deg);
  transition: transform var(--transition-base);
}

.hero-image-container:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0,0,0,0.4), rgba(0,0,0,0.1));
  display: flex;
  align-items: flex-end;
  padding: var(--space-6);
}

.hero-story-icons {
  display: flex;
  gap: var(--space-4);
}

.story-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  padding: var(--space-3);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.story-icon {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2);
}

.story-icon-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-text-primary);
}

.submission-hero-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: white;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  width: fit-content;
}

.hero-badge-icon {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.hero-badge-text {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-primary);
}

.submission-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin: 0;
}

.hero-title-primary {
  display: block;
  color: var(--bone);
}

.hero-title-accent {
  display: block;
  color: var(--color-accent);
}

.submission-hero-subtitle {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  max-width: 90%;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: rgba(255, 255, 255, 0.8);
  padding: var(--space-4);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.hero-feature-icon {
  flex-shrink: 0;
}

.hero-feature-icon img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.hero-feature-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.hero-feature-title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
}

.hero-feature-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.hero-cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  width: fit-content;
  font-size: var(--text-lg);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  text-decoration: none;
}

.hero-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2xl);
}

.hero-cta-note {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

.cta-note-icon {
  width: 16px;
  height: 16px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.hero-floating-stats {
  position: absolute;
  top: var(--space-8);
  right: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  z-index: 3;
}

.floating-stat {
  background: rgba(255, 255, 255, 0.95);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: float 6s ease-in-out infinite;
}

.floating-stat:nth-child(2) {
  animation-delay: -2s;
}

.floating-stat:nth-child(3) {
  animation-delay: -4s;
}

.floating-stat-number {
  display: block;
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  line-height: 1;
}

.floating-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  font-weight: var(--weight-medium);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* SUBMISSION HERO RESPONSIVE */
@media (max-width: 1024px) {
  .submission-hero-content {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }
  
  .hero-floating-stats {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: var(--space-8);
  }
  
  .floating-stat {
    animation: none;
  }
}

@media (max-width: 768px) {
  .submission-hero {
    padding: var(--space-16) 0 var(--space-12);
    min-height: auto;
  }
  
  .submission-hero-title {
    font-size: var(--text-4xl);
  }
  
  .submission-hero-subtitle {
    font-size: var(--text-lg);
    max-width: 100%;
  }
  
  .hero-main-image {
    height: 300px;
  }
  
  .hero-features {
    gap: var(--space-3);
  }
  
  .hero-story-icons {
    gap: var(--space-2);
  }
  
  .story-icon {
    width: 24px;
    height: 24px;
  }
  
  .hero-floating-stats {
    gap: var(--space-2);
  }
  
  .floating-stat {
    padding: var(--space-3) var(--space-4);
  }
  
  .floating-stat-number {
    font-size: var(--text-lg);
  }
}

@media (max-width: 480px) {
  .hero-features {
    gap: var(--space-2);
  }
  
  .hero-feature {
    padding: var(--space-3);
  }
  
  .hero-floating-stats {
    flex-direction: column;
    align-items: center;
  }
}

/* ===================================================================
   INSIGHTS GRID COMPONENT STYLES
   =================================================================== */

/* Insights Grid Container */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

/* Individual Insight Card */
.insight-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    border: 1px solid var(--color-neutral-200);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Top accent line that appears on hover */
.insight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

/* Card hover effects */
.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.insight-card:hover::before {
    opacity: 1;
}

/* Icon styling */
.insight-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-4);
    display: inline-block;
    padding: var(--space-3);
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-primary-light));
    line-height: 1;
}

/* Card title */
.insight-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-3);
    font-family: var(--font-serif);
}

/* Card description text */
.insight-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
    line-height: var(--line-height-relaxed);
}

/* Statistics badge */
.insight-stat {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--color-background);
    background: var(--color-accent);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    display: inline-block;
    border: 1px solid var(--color-accent);
}

/* Mobile responsive design */
@media (max-width: 768px) {
    .insights-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .insight-card {
        padding: var(--space-4);
    }
    
    .insight-icon {
        font-size: 2rem;
        padding: var(--space-2);
    }
    
    .insight-title {
        font-size: var(--text-lg);
    }
}

/* Large screen optimization */
@media (min-width: 1200px) {
    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }
}

/* ===================================================================
   CONTACT METHODS GRID COMPONENT STYLES
   =================================================================== */

/* Contact Methods Grid Container */
.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

/* Individual Contact Method Card */
.contact-method {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    border: 1px solid var(--color-neutral-200);
    transition: all var(--transition-smooth);
    position: relative;
}

.contact-method:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

/* Contact Method Icon */
.contact-icon {
    margin-bottom: var(--space-4);
    display: flex;
    justify-content: center;
}

.contact-icon img {
    transition: transform var(--transition-smooth);
}

.contact-method:hover .contact-icon img {
    transform: scale(1.1);
}

/* Contact Method Title */
.contact-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-3);
    font-family: var(--font-serif);
}

/* Contact Method Description */
.contact-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
    line-height: var(--line-height-relaxed);
}

/* Contact Link Styling */
.contact-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: var(--font-medium);
    transition: color var(--transition-smooth);
}

.contact-link:hover {
    color: var(--color-accent-dark);
    text-decoration: underline;
}

/* Mobile responsive design for contact methods */
@media (max-width: 768px) {
    .contact-methods-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .contact-method {
        padding: var(--space-4);
    }
}

/* Large screen optimization for contact methods */
@media (min-width: 1200px) {
    .contact-methods-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-6);
    }
}

/* ===================================================================
   OWNERS GRID COMPONENT STYLES
   =================================================================== */

/* Owners Grid Container */
.owners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

/* Owner Card Styles */
.owner-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-neutral-200);
    transition: all var(--transition-smooth);
    position: relative;
}

.owner-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
}

/* Owner Image Container */
.owner-image {
    position: relative;
    overflow: hidden;
}

/* Owner image styles now use .story-card-image-container and .story-card-image for consistency */

/* Owner Badge */
.owner-badge {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    background: var(--color-accent);
    color: var(--color-background);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Owner Content */
.owner-content {
    padding: var(--space-5);
}

.owner-name {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-1);
    font-family: var(--font-serif);
}

.owner-title {
    color: var(--color-accent);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}

.owner-location {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-3);
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
}

.owner-story {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-4);
}

/* Owner Achievements */
.owner-achievements {
    margin-bottom: var(--space-4);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.achievement {
    background: var(--color-accent-light);
    color: var(--color-accent-dark);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
}

/* Owner Actions */
.owner-actions {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

/* Large owner card variant */
.owner-card.story-card-large {
    grid-column: span 2;
}

.owner-card.story-card-large .owner-image img {
    height: 280px;
}

.owner-card.story-card-large .owner-content {
    padding: var(--space-6);
}

.owner-card.story-card-large .owner-name {
    font-size: var(--text-2xl);
}

/* Mobile responsive design for owners */
@media (max-width: 768px) {
    .owners-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    
    .owner-card.story-card-large {
        grid-column: span 1;
    }
    
    .owner-content {
        padding: var(--space-4);
    }
    
    .owner-actions {
        flex-direction: column;
    }
}

/* Large screen optimization for owners */
@media (min-width: 1200px) {
    .owners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-8);
    }
    
    .owner-card.story-card-large {
        grid-column: span 2;
    }
}

/* ===================================================================
   METRICS GRID COMPONENT STYLES
   =================================================================== */

/* Metrics Grid Container */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

/* Individual Metric Card */
.metric-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    border: 1px solid var(--color-neutral-200);
    transition: all var(--transition-smooth);
    position: relative;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: var(--font-bold);
    color: var(--color-accent);
    margin-bottom: var(--space-2);
    font-family: var(--font-serif);
    line-height: 1;
}

.metric-label {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

.metric-description {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    line-height: var(--line-height-relaxed);
}

/* Mobile responsive design for metrics */
@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
    
    .metric-number {
        font-size: 2rem;
    }
}

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

/* ===================================================================
   TEAM GRID COMPONENT STYLES
   =================================================================== */

/* Team Grid Container */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

/* Individual Team Member Card */
.team-member {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    border: 1px solid var(--color-neutral-200);
    transition: all var(--transition-smooth);
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto var(--space-4);
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-1);
    font-family: var(--font-serif);
}

.team-role {
    color: var(--color-accent);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-3);
}

.team-bio {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-4);
}

.team-contact {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
}

/* Mobile responsive design for team */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

/* ===================================================================
   FAQ GRID COMPONENT STYLES
   =================================================================== */

/* FAQ Grid Container */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

/* Individual FAQ Item */
.faq-item {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-neutral-200);
    transition: all var(--transition-smooth);
}

.faq-question {
    padding: var(--space-5);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
}

.faq-question:hover {
    background: var(--color-neutral-50);
}

.faq-answer {
    padding: 0 var(--space-5) var(--space-5);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

.faq-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all var(--transition-smooth);
}

.faq-item.active .faq-toggle {
    background: var(--color-accent);
    color: var(--color-background);
    transform: rotate(45deg);
}

/* ===================================================================
   STATS GRID COMPONENT STYLES
   =================================================================== */

/* Stats Grid Container */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-6);
}

/* Individual Stat Card */
.stat-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    text-align: center;
    border: 1px solid var(--color-neutral-200);
    transition: all var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.stat-number {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-accent);
    margin-bottom: var(--space-1);
    font-family: var(--font-serif);
}

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

/* Mobile responsive design for stats */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }
}

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

/* ===================================================================
   SUBMISSION INFO GRID COMPONENT STYLES
   =================================================================== */

/* Submission Info Grid Container */
.submission-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-6);
}

/* Individual Submission Info Item */
.submission-info {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    border: 1px solid var(--color-neutral-200);
}

.submission-info-label {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-1);
    font-weight: var(--font-medium);
}

.submission-info-value {
    color: var(--color-text-primary);
    font-weight: var(--font-semibold);
}

/* Mobile responsive design for submission info */
@media (max-width: 768px) {
    .submission-info-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
}

/* ===================================================================
   COMMUNITY CONTENT COMPONENT STYLES
   =================================================================== */

/* Community Content Container */
.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
    margin-top: var(--space-8);
}

/* Community Text Section */
.community-text {
    padding: var(--space-6);
}

.community-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
    font-family: var(--font-serif);
    line-height: var(--line-height-tight);
}

.community-description {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
    line-height: var(--line-height-relaxed);
}

/* Community Benefits */
.community-benefits {
    margin-bottom: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-neutral-200);
    transition: all var(--transition-smooth);
}

.benefit-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-light);
}

.benefit-icon {
    flex-shrink: 0;
    padding: var(--space-2);
    background: var(--color-accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon img {
    transition: transform var(--transition-smooth);
}

.benefit-item:hover .benefit-icon img {
    transform: scale(1.1);
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-1);
    font-family: var(--font-serif);
}

.benefit-description {
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    font-size: var(--text-sm);
}

/* Community Actions */
.community-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* Community Image Section */
.community-image {
    position: relative;
}

.community-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-smooth);
}

.community-image:hover img {
    transform: scale(1.02);
}

/* Add decorative element */
.community-image::before {
    content: '';
    position: absolute;
    top: -var(--space-4);
    left: -var(--space-4);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    border-radius: var(--radius-full);
    opacity: 0.8;
    z-index: -1;
}

/* Mobile responsive design for community content */
@media (max-width: 968px) {
    .community-content {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .community-text {
        order: 2;
        padding: var(--space-4);
    }
    
    .community-image {
        order: 1;
    }
    
    .community-image img {
        height: 300px;
    }
    
    .community-title {
        font-size: var(--text-2xl);
    }
    
    .community-actions {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .community-benefits {
        gap: var(--space-3);
    }
    
    .benefit-item {
        padding: var(--space-3);
        gap: var(--space-3);
    }
    
    .benefit-icon {
        padding: var(--space-1);
    }
    
    .community-image img {
        height: 250px;
    }
}

/* Large screen optimization */
@media (min-width: 1200px) {
    .community-content {
        gap: var(--space-12);
    }
    
    .community-text {
        padding: var(--space-8);
    }
    
    .community-image img {
        height: 450px;
    }
}

/* FEATURED STORIES SECTION */
.featured-stories-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: var(--space-20) 0;
}

.featured-stories-section .section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.featured-stories-section .section-badge {
    background: linear-gradient(135deg, #e1a957 0%, #d4983c 100%);
    color: white;
}

.featured-stories-section .section-title {
    color: var(--color-primary);
    margin-bottom: var(--space-4);
}

.featured-stories-section .stories-cta {
    text-align: center;
    margin-top: var(--space-16);
}