/* Hero Section */
.hero-section {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
  padding: var(--space-6) var(--space-4) var(--space-8);
}

.hero-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: var(--space-6);
  align-items: center;
}

/* Hero Visual */
.hero-visual {
  width: 100%;
  max-width: 400px;
}

.hero-image {
  width: 150%;
  height: 150%;
  display: block;
}

/* Mobile */
@media (max-width: 1100px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--mobile-space-4);
  }
  
  .hero-visual {
    order: -1;
    margin: 0 auto var(--mobile-space-3);
  }
}
/* ====================== WORKING MOBILE NAVIGATION - 2808251705 ====================== */

.mobile-menu-toggle {
  display: none;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 2px solid rgba(254,192,28,0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all var(--transition-medium);
  position: fixed;
  top: var(--space-2);
  right: var(--space-2);
  z-index: 1001;
  pointer-events: auto;
}

.mobile-menu-toggle:hover {
  background: rgba(254,192,28,0.1);
  border-color: rgba(254,192,28,0.4);
}

.hamburger-icon {
  position: relative;
  width: 24px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-medium);
  pointer-events: none;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-medium);
  pointer-events: none;
}

.hamburger-icon::before { 
  transform: translateY(-8px); 
}

.hamburger-icon::after { 
  transform: translateY(8px); 
}

.mobile-menu-toggle.active .hamburger-icon { 
  background-color: transparent; 
}

.mobile-menu-toggle.active .hamburger-icon::before { 
  transform: rotate(45deg); 
}

.mobile-menu-toggle.active .hamburger-icon::after { 
  transform: rotate(-45deg); 
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-v19-latin-regular.woff2') format('woff2');
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-v19-latin-700.woff2') format('woff2');
  font-display: swap;
  font-weight: 700;
}

:root {
  --hc-yellow: #fec01c;
  --strategic-accent: #c89600;
  --technical-accent: #059669;
  --advanced-accent: #7c3aed;
  --premium-dark: #18181b;
  --cloud-gray: #f7f7f9;
  --text-primary: #18181b;
  --text-secondary: #52525b;
    --background-light: #f7f7f9;
    --border-light: #e5e7eb;
    --background-white: #ffffff;
    --card-shadow: 0 2px 24px rgba(40,46,60,0.07);
    --transition-medium: 0.25s ease-out;
  
  /* Tighter spacing system for more content */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --space-6: 3rem;
  --space-8: 3.5rem;
  --space-12: 5rem;
  --space-16: 7rem;
  
  /* Mobile spacing - Tighter for more content */
  --mobile-space-1: 0.5rem;
  --mobile-space-2: 1rem;
  --mobile-space-3: 1.5rem;
  --mobile-space-4: 2rem;
  --mobile-space-5: 2.5rem;
  --mobile-space-6: 3rem;
  --mobile-space-8: 3.5rem;
  --mobile-space-12: 4rem;
  
  /* Typography hierarchy */
  --text-xs: 0.875rem;
  --text-sm: 0.95rem;
  --text-base: 1.07rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;
  --text-4xl: 3rem;
  --text-5xl: 4rem;
  --text-6xl: 5rem;
  
  /* Mobile Typography */
  --mobile-text-xs: 0.9rem;
  --mobile-text-sm: 1rem;
  --mobile-text-base: 1.125rem;
  --mobile-text-lg: 1.375rem;
  --mobile-text-xl: 1.625rem;
  --mobile-text-2xl: 2.25rem;
  --mobile-text-3xl: 2.75rem;
  --mobile-text-4xl: 3.25rem;
  
  /* Premium shadows */
  --card-shadow: 0 2px 24px rgba(40,46,60,0.07);
  --card-shadow-hover: 0 8px 40px rgba(254,192,28,0.15);
  --card-shadow-hero: 0 16px 70px rgba(254,192,28,0.25);
  --card-shadow-premium: 0 12px 50px rgba(40,46,60,0.12);
  
  /* Animation timings */
  --transition-fast: 0.15s ease-out;
  --transition-medium: 0.25s ease-out;
  --transition-slow: 0.4s ease-out;
}

/* Reset and base styles */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  background: #fff;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

@keyframes premiumReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes slideInFromLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ====================== HEADER & NAVIGATION - CENTERED & COMPACT ====================== */
.header-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1000;
  width: 100%;
  padding-top: var(--space-3);
  padding-bottom: var(--space-2);
}

.site-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeInUp 0.6s ease-out;
  margin-bottom: var(--space-3);
}

.header-logo {
  width: auto;
  height: 50px;
  margin-bottom: 0.5rem;
  display: block;
  transition: transform var(--transition-fast);
}

.header-logo:hover {
  transform: scale(1.05);
}

.site-title-text {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #222;
  margin: 0;
  letter-spacing: -0.01em;
  text-align: center;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.nav-shell {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  z-index: 999;
  width: 100%;
  margin-bottom: 0;
}

.nav-link-paint {
  color: #18181b;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 0.4em 1.1em;
  border-radius: 1.2em;
  position: relative;
  background: none;
  transition: all var(--transition-medium);
  border: none;
  background: linear-gradient(135deg, transparent 0%, rgba(254,192,28,0.02) 100%);
}

.nav-link-paint:hover,
.nav-link-paint:focus {
  color: #fec01c;
  background: linear-gradient(135deg, #fffde5 0%, #fffbe6 100%);
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(254,192,28,0.15);
}

.nav-link-paint.active,
.nav-link-paint[aria-current="page"] {
  color: #fec01c;
  background: linear-gradient(135deg, #fffbe6 0%, #fff8d6 100%);
  font-weight: 700;
  box-shadow: 0 2px 18px rgba(254,192,28,0.08);
}

/* ====================== HERO SECTION - COMPACT & FULL WIDTH ====================== */
.hero-section {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
  position: relative;
  overflow: hidden;
  padding: var(--space-6) var(--space-4) var(--space-8);
  margin-top: 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(254,192,28,0.03) 0%, transparent 70%);
  animation: subtleFloat 20s ease-in-out infinite;
}

.hero-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-6);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  animation: premiumReveal 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--hc-yellow) 0%, #f59e0b 100%);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 0.5em 1.2em;
  border-radius: 50px;
  margin-bottom: var(--space-3);
  box-shadow: 0 4px 20px rgba(254,192,28,0.3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, var(--text-5xl));
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 var(--space-3) 0;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.hero-subheadline {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin: 0 0 var(--space-4) 0;
  line-height: 1.4;
  font-weight: 400;
  max-width: 600px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--hc-yellow) 0%, #f59e0b 100%);
  color: #fff;
  text-decoration: none;
  font-size: var(--text-lg);
  font-weight: 700;
  padding: 0.9em 2.2em;
  border-radius: 50px;
  box-shadow: var(--card-shadow-hero);
  transition: all var(--transition-medium);
  border: none;
  cursor: pointer;
}

.hero-cta:hover,
.hero-cta:focus {
  transform: translateY(-3px);
  box-shadow: 0 20px 80px rgba(254,192,28,0.4);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: premiumReveal 1s ease-out 0.3s both;
}

.hero-visual svg {
  width: 100%;
  height: 350px;
  filter: drop-shadow(0 10px 40px rgba(254,192,28,0.2));
}

/* ====================== VALUE PROPOSITIONS - COMPACT ====================== */
.value-props-section {
  padding: var(--space-8) var(--space-4);
  background: #fff;
}

.value-props-container {
  max-width: 1400px;
  margin: 0 auto;
}

.value-props-intro {
  text-align: center;
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease-out;
}

.value-props-intro h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-2) 0;
  letter-spacing: -0.01em;
}

.value-props-intro p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin: 0 auto;
  max-width: 600px;
}

.value-props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.value-prop-card {
  background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
  border-radius: 20px;
  padding: var(--space-4);
  box-shadow: var(--card-shadow-premium);
  border: 1px solid rgba(254,192,28,0.1);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease-out;
}

.value-prop-card:nth-child(2) {
  animation-delay: 0.2s;
}

.value-prop-card:nth-child(3) {
  animation-delay: 0.4s;
}

.value-prop-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hc-yellow) 0%, #f59e0b 100%);
}

.value-prop-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hero);
  border-color: rgba(254,192,28,0.3);
}

.value-prop-icon {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-3);
  background: linear-gradient(135deg, var(--hc-yellow) 0%, #f59e0b 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(254,192,28,0.3);
}

.value-prop-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-2) 0;
  letter-spacing: -0.01em;
}

.value-prop-description {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 var(--space-3) 0;
}

.value-prop-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.value-prop-features li {
  display: flex;
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.value-prop-features li::before {
  content: '✓';
  color: var(--hc-yellow);
  font-weight: 700;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* ====================== CREDIBILITY SECTION - COMPACT ====================== */
.credibility-section {
  padding: var(--space-8) var(--space-4);
  background: linear-gradient(135deg, var(--cloud-gray) 0%, #f1f3f4 100%);
}

.credibility-container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.credibility-headline {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-5) 0;
  animation: fadeInUp 0.8s ease-out;
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.credibility-card {
  background: #fff;
  border-radius: 18px;
  padding: var(--space-4);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(254,192,28,0.1);
  animation: fadeInUp 0.8s ease-out;
  transition: all var(--transition-medium);
}

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

.credibility-card:nth-child(2) {
  animation-delay: 0.2s;
}

.credibility-card h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-2) 0;
}

.credibility-card p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.credibility-highlights {
  background: #fff;
  border-radius: 18px;
  padding: var(--space-4);
  box-shadow: var(--card-shadow);
  border: 2px solid var(--hc-yellow);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.credibility-highlights h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-3) 0;
  text-align: center;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  text-align: center;
}

.highlight-item {
  padding: var(--space-2);
}

.highlight-item strong {
  display: block;
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--hc-yellow);
  margin-bottom: 0.5rem;
}

.highlight-item span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ====================== CONTENT SHOWCASE - COMPACT ====================== */
.showcase-section {
  padding: var(--space-8) var(--space-4);
  background: #fff;
}

.showcase-container {
  max-width: 1400px;
  margin: 0 auto;
}

.showcase-header {
  text-align: center;
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease-out;
}

.showcase-header h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-2) 0;
}

.showcase-header p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin: 0;
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.showcase-tab {
  background: transparent;
  border: 2px solid #e5e7eb;
  color: var(--text-secondary);
  font-size: var(--text-base);
  font-weight: 600;
  padding: 0.7em 1.5em;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-medium);
}

.showcase-tab.active,
.showcase-tab:hover {
  background: var(--hc-yellow);
  border-color: var(--hc-yellow);
  color: #fff;
  transform: translateY(-2px);
}

.showcase-content {
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.content-card {
  background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
  border-radius: 14px;
  padding: var(--space-3);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(254,192,28,0.1);
  transition: all var(--transition-medium);
  text-decoration: none;
  color: inherit;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(254,192,28,0.3);
}

.content-card h3 {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 var(--space-1) 0;
  line-height: 1.3;
}

.content-meta {
  display: flex;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-bottom: var(--space-1);
}

.content-excerpt {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

/* ====================== FINAL CTA SECTION - COMPACT ====================== */
.final-cta-section {
  padding: var(--space-8) var(--space-4);
  background: linear-gradient(135deg, var(--text-primary) 0%, #374151 100%);
  color: #fff;
  text-align: center;
}

.final-cta-container {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
}

.final-cta-headline {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin: 0 0 var(--space-3) 0;
  letter-spacing: -0.02em;
}

.final-cta-subheadline {
  font-size: var(--text-lg);
  margin: 0 0 var(--space-4) 0;
  opacity: 0.9;
  line-height: 1.4;
}

.final-cta-button {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--hc-yellow) 0%, #f59e0b 100%);
  color: #fff;
  text-decoration: none;
  font-size: var(--text-base);
  font-weight: 700;
  padding: 0.9em 2em;
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(254,192,28,0.3);
  transition: all var(--transition-medium);
}

.final-cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 60px rgba(254,192,28,0.4);
}

/* ====================== FOOTER - COMPACT ====================== */
.footer-shell {
  background: var(--text-primary);
  color: #fff;
  padding: var(--space-4) var(--space-4) var(--space-3);
  text-align: center;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-text {
  font-size: var(--text-sm);
  opacity: 0.8;
  margin: 0;
}

/* ====================== MOBILE OPTIMIZATIONS - CENTERED & COMPACT ====================== */
@media (max-width: 800px) {
  .header-shell {
    padding-top: var(--mobile-space-2);
    padding-bottom: var(--mobile-space-1);
  }
  
  .site-branding {
    margin-bottom: var(--mobile-space-2);
  }
  
  .header-logo {
    height: 45px;
    margin-bottom: 0.4rem;
  }
  
  .site-title-text {
    font-size: var(--mobile-text-xl);
  }

  .mobile-menu-toggle {
    display: flex;
    top: var(--mobile-space-2);
    right: var(--mobile-space-2);
  }

  .nav-shell {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--mobile-space-6) var(--mobile-space-2);
    flex-direction: column;
    align-items: stretch;
    gap: var(--mobile-space-2);
    justify-content: center;
    margin: 0;
  }

  .nav-shell.open {
    display: flex;
    animation: slideInFromLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  .nav-shell .nav-link-paint {
    width: 100%;
    padding: var(--mobile-space-2) var(--mobile-space-3);
    font-size: var(--mobile-text-base);
    font-weight: 600;
    text-align: center;
    background: var(--cloud-gray);
    border: 2px solid rgba(254,192,28,0.15);
    border-radius: 12px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-30px);
    opacity: 0;
    transition: all var(--transition-medium);
  }

  .nav-shell.open .nav-link-paint {
    transform: translateX(0);
    opacity: 1;
  }

  /* Staggered animation */
  .nav-shell .nav-link-paint:nth-child(1) { transition-delay: 0.1s; }
  .nav-shell .nav-link-paint:nth-child(2) { transition-delay: 0.15s; }
  .nav-shell .nav-link-paint:nth-child(3) { transition-delay: 0.2s; }
  .nav-shell .nav-link-paint:nth-child(4) { transition-delay: 0.25s; }
  .nav-shell .nav-link-paint:nth-child(5) { transition-delay: 0.3s; }
  .nav-shell .nav-link-paint:nth-child(6) { transition-delay: 0.35s; }
  .nav-shell .nav-link-paint:nth-child(7) { transition-delay: 0.4s; }
}

/* Mobile hero optimizations */
@media (max-width: 1100px) {
  .hero-section {
    padding: var(--mobile-space-5) var(--mobile-space-2) var(--mobile-space-6);
    min-height: calc(100vh - 150px);
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--mobile-space-4);
  }
  
  .hero-visual {
    order: -1;
  }
  
  .hero-visual svg {
    height: 220px;
    max-width: 100%;
  }

  .hero-badge {
    font-size: var(--mobile-text-sm);
    padding: 0.6em 1.3em;
    margin-bottom: var(--mobile-space-2);
  }

  .hero-headline {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: var(--mobile-space-2);
  }

  .hero-subheadline {
    font-size: var(--mobile-text-base);
    margin-bottom: var(--mobile-space-4);
    max-width: 100%;
  }

  .hero-cta {
    font-size: var(--mobile-text-base);
    padding: 0.9em 2em;
  }
}

/* Mobile value props optimizations */
@media (max-width: 1000px) {
  .value-props-section {
    padding: var(--mobile-space-6) var(--mobile-space-2);
  }

  .value-props-intro {
    margin-bottom: var(--mobile-space-4);
  }

  .value-props-intro h2 {
    font-size: var(--mobile-text-2xl);
    margin-bottom: var(--mobile-space-1);
  }

  .value-props-intro p {
    font-size: var(--mobile-text-base);
  }

  .value-props-grid {
    grid-template-columns: 1fr;
    gap: var(--mobile-space-3);
    margin-top: var(--mobile-space-4);
  }

  .value-prop-card {
    padding: var(--mobile-space-3);
    border-radius: 16px;
  }

  .value-prop-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--mobile-space-2);
  }

  .value-prop-title {
    font-size: var(--mobile-text-lg);
    margin-bottom: var(--mobile-space-1);
  }

  .value-prop-description {
    font-size: var(--mobile-text-base);
    margin-bottom: var(--mobile-space-2);
  }

  .value-prop-features li {
    font-size: var(--mobile-text-sm);
    margin-bottom: 0.4rem;
  }
}

/* Mobile credibility optimizations */
@media (max-width: 800px) {
  .credibility-section {
    padding: var(--mobile-space-6) var(--mobile-space-2);
  }

  .credibility-headline {
    font-size: var(--mobile-text-2xl);
    margin-bottom: var(--mobile-space-4);
  }

  .credibility-grid {
    grid-template-columns: 1fr;
    gap: var(--mobile-space-3);
    margin-bottom: var(--mobile-space-4);
  }

  .credibility-card {
    padding: var(--mobile-space-3);
    border-radius: 14px;
  }

  .credibility-card h3 {
    font-size: var(--mobile-text-base);
    margin-bottom: var(--mobile-space-1);
  }

  .credibility-card p {
    font-size: var(--mobile-text-sm);
  }

  .credibility-highlights {
    padding: var(--mobile-space-3);
    border-radius: 14px;
  }

  .credibility-highlights h3 {
    font-size: var(--mobile-text-lg);
    margin-bottom: var(--mobile-space-2);
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    gap: var(--mobile-space-2);
  }

  .highlight-item {
    padding: var(--mobile-space-1);
  }

  .highlight-item strong {
    font-size: var(--mobile-text-base);
    margin-bottom: 0.3rem;
  }

  .highlight-item span {
    font-size: var(--mobile-text-xs);
  }
}

/* Mobile showcase optimizations */
@media (max-width: 1000px) {
  .showcase-section {
    padding: var(--mobile-space-6) var(--mobile-space-2);
  }

  .showcase-header {
    margin-bottom: var(--mobile-space-4);
  }

  .showcase-header h2 {
    font-size: var(--mobile-text-2xl);
    margin-bottom: var(--mobile-space-1);
  }

  .showcase-header p {
    font-size: var(--mobile-text-base);
  }

  .showcase-tabs {
    flex-direction: column;
    align-items: center;
    gap: var(--mobile-space-1);
    margin-bottom: var(--mobile-space-4);
  }

  .showcase-tab {
    width: 100%;
    max-width: 280px;
    text-align: center;
    font-size: var(--mobile-text-sm);
    padding: 0.8em 1.4em;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: var(--mobile-space-3);
  }

  .content-card {
    padding: var(--mobile-space-3);
    border-radius: 12px;
  }

  .content-card h3 {
    font-size: var(--mobile-text-base);
    margin-bottom: var(--mobile-space-1);
  }

  .content-meta {
    font-size: var(--mobile-text-xs);
    margin-bottom: var(--mobile-space-1);
  }

  .content-excerpt {
    font-size: var(--mobile-text-sm);
  }
}

/* Mobile final CTA optimizations */
@media (max-width: 768px) {
  .final-cta-section {
    padding: var(--mobile-space-6) var(--mobile-space-2);
  }

  .final-cta-headline {
    font-size: var(--mobile-text-2xl);
    margin-bottom: var(--mobile-space-2);
    line-height: 1.2;
  }

  .final-cta-subheadline {
    font-size: var(--mobile-text-base);
    margin-bottom: var(--mobile-space-4);
    line-height: 1.4;
  }

  .final-cta-button {
    font-size: var(--mobile-text-base);
    padding: 0.9em 2em;
    width: 100%;
    max-width: 280px;
  }
}

/* Mobile footer optimizations */
@media (max-width: 768px) {
  .footer-shell {
    padding: var(--mobile-space-3) var(--mobile-space-2);
  }

  .footer-text {
    font-size: var(--mobile-text-xs);
  }
}

/* ====================== MOBILE EDGE-TO-EDGE OPTIMIZATIONS ====================== */
@media (max-width: 768px) {
  /* Remove any container margins that create gaps */
  .hero-section,
  .value-props-section,
  .credibility-section,
  .showcase-section,
  .final-cta-section {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  /* Ensure sections connect seamlessly */
  .hero-section {
    margin-bottom: 0;
  }

  .value-props-section,
  .credibility-section,
  .showcase-section,
  .final-cta-section {
    margin-bottom: 0;
  }

  /* Specific section background fills */
  .credibility-section {
    padding-left: var(--mobile-space-2);
    padding-right: var(--mobile-space-2);
    margin-left: 0;
    margin-right: 0;
  }

  /* Override any max-width constraints on mobile */
  .hero-container,
  .value-props-container,
  .credibility-container,
  .showcase-container,
  .final-cta-container {
    max-width: 100%;
    width: 100%;
  }

  /* Remove any horizontal overflow issues */
  body, html {
    overflow-x: hidden;
    width: 100%;
  }
}

/* ====================== ULTRA-WIDE SCREEN OPTIMIZATIONS ====================== */
@media (min-width: 1600px) {
  .hero-container,
  .value-props-container,
  .credibility-container,
  .showcase-container {
    max-width: 1600px;
  }

  .hero-container {
    grid-template-columns: 1.3fr 450px;
  }

  .hero-visual svg {
    height: 400px;
  }

  .value-props-grid {
    gap: var(--space-5);
  }

  .content-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ====================== IMPROVED MOBILE TYPOGRAPHY ====================== */
@media (max-width: 768px) {
  h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
  }

  p, li {
    line-height: 1.5;
  }

  /* Ensure touch targets are adequate */
  .hero-cta,
  .final-cta-button,
  .showcase-tab,
  .nav-link-paint {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ====================== PERFORMANCE OPTIMIZATIONS ====================== */
.font-loading * {
  visibility: hidden;
}

.font-loading .critical-text {
  visibility: visible;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-section::before {
    animation: none;
  }
}

/* ====================== START - ABOUT PAGE CSS STYLES ====================== */

/* ---------- ABOUT: HERO ---------- */
.about-hero-section {
  padding: var(--space-8) var(--space-4);
  background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
  position: relative;
  overflow: hidden;
}
.about-hero-section::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 60%; height: 160%;
  background: radial-gradient(circle, rgba(254,192,28,0.04) 0%, transparent 70%);
}
.about-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: var(--space-8);
  align-items: center;
  position: relative;
  z-index: 2;
}
.about-image-area {
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image-area svg {
  width: 100%;
  height: 400px;
  border-radius: 24px;
  box-shadow: var(--card-shadow-premium);
  filter: drop-shadow(0 8px 30px rgba(254,192,28,0.15));
}
.about-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--hc-yellow) 0%, #f59e0b 100%);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 0.6em 1.4em;
  border-radius: 50px;
  margin-bottom: var(--space-4);
  box-shadow: 0 4px 20px rgba(254,192,28,0.3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.about-headline {
  font-size: clamp(2rem, 5vw, var(--text-5xl));
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 var(--space-4) 0;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.about-subheadline {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  margin: 0 0 var(--space-6) 0;
  line-height: 1.4;
  font-weight: 400;
}
@media (max-width: 1100px) {
  .about-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-6);
  }
  .about-image-area { order: -1; }
  .about-image-area svg { height: 300px; max-width: 300px; }
}

/* ---------- ABOUT: STORY ---------- */
.story-section {
  padding: var(--space-12) var(--space-4);
  background: #fff;
}
.story-container { max-width: 1000px; margin: 0 auto; }
.story-intro {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  line-height: 1.5;
  text-align: center;
  background: linear-gradient(135deg, rgba(254,192,28,0.05) 0%, transparent 100%);
  border-left: 4px solid var(--hc-yellow);
  border-radius: 0 12px 12px 0;
  padding: var(--space-4);
  margin: 0 0 var(--space-6) 0;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.story-card {
  background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
  border-radius: 20px;
  padding: var(--space-6);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(254,192,28,0.1);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-medium);
}
.story-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--hc-yellow) 0%, #f59e0b 100%);
}
.story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(254,192,28,0.3);
}
.story-number {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--hc-yellow) 0%, #f59e0b 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-3);
  box-shadow: 0 4px 15px rgba(254,192,28,0.3);
}
.story-title { font-size: var(--text-lg); font-weight: 700; color: var(--text-primary); margin: 0 0 var(--space-2) 0; }
.story-text { font-size: var(--text-base); color: var(--text-secondary); line-height: 1.6; margin: 0; }
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* ---------- ABOUT: PHILOSOPHY ---------- */
.philosophy-section {
  padding: var(--space-12) var(--space-4);
  background: linear-gradient(135deg, var(--background-light) 0%, #f1f3f4 100%);
}
.philosophy-container { max-width: 1200px; margin: 0 auto; }
.philosophy-header { text-align: center; margin-bottom: var(--space-8); }
.philosophy-header h2 { font-size: var(--text-3xl); font-weight: 700; color: var(--text-primary); margin: 0 0 var(--space-3) 0; }
.philosophy-header p { font-size: var(--text-lg); color: var(--text-secondary); margin: 0 auto; max-width: 600px; }
.philosophy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.philosophy-card {
  background: #fff;
  border-radius: 20px;
  padding: var(--space-6);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(254,192,28,0.1);
  transition: all var(--transition-medium);
}
.philosophy-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.philosophy-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--hc-yellow) 0%, #f59e0b 100%);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-3);
  box-shadow: 0 6px 20px rgba(254,192,28,0.3);
}
.philosophy-title { font-size: var(--text-lg); font-weight: 700; color: var(--text-primary); margin: 0 0 var(--space-2) 0; }
.philosophy-text { font-size: var(--text-base); color: var(--text-secondary); line-height: 1.6; margin: 0; }
@media (max-width: 800px) { .philosophy-grid { grid-template-columns: 1fr; } }

/* ---------- ABOUT: MANIFESTO ---------- */
.manifesto-section {
  padding: var(--space-12) var(--space-4);
  background: linear-gradient(135deg, var(--premium-dark) 0%, #374151 100%);
  color: #fff;
}
.manifesto-container { max-width: 1000px; margin: 0 auto; text-align: center; }
.manifesto-headline { font-size: var(--text-4xl); font-weight: 700; margin: 0 0 var(--space-6) 0; letter-spacing: -0.02em; }
.manifesto-content { font-size: var(--text-xl); line-height: 1.5; margin: 0 0 var(--space-8) 0; opacity: 0.95; }
.manifesto-highlight {
  background: linear-gradient(135deg, var(--hc-yellow) 0%, #f59e0b 100%);
  color: var(--premium-dark);
  padding: 0.3em 0.6em;
  border-radius: 8px;
  font-weight: 700;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.manifesto-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: var(--space-5);
  border: 1px solid rgba(254,192,28,0.2);
  backdrop-filter: blur(10px);
  transition: all var(--transition-medium);
}
.manifesto-card:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(254,192,28,0.4); transform: translateY(-4px); }
.manifesto-card h3 { font-size: var(--text-lg); font-weight: 700; margin: 0 0 var(--space-2) 0; color: var(--hc-yellow); }
.manifesto-card p { font-size: var(--text-base); line-height: 1.6; margin: 0; opacity: 0.9; }
@media (max-width: 800px) { .manifesto-grid { grid-template-columns: 1fr; } }

/* ---------- ABOUT: FINAL CTA ---------- */
.final-cta-section {
  padding: var(--space-12) var(--space-4);
  background: linear-gradient(135deg, var(--hc-yellow) 0%, #f59e0b 100%);
  color: var(--premium-dark);
  text-align: center;
}
.final-cta-container { max-width: 800px; margin: 0 auto; }
.final-cta-headline { font-size: var(--text-4xl); font-weight: 700; margin: 0 0 var(--space-4) 0; letter-spacing: -0.02em; }
.final-cta-subheadline { font-size: var(--text-xl); margin: 0 0 var(--space-6) 0; opacity: 0.9; line-height: 1.4; }
.final-cta-button {
  display: inline-flex;
  align-items: center;
  background: var(--premium-dark);
  color: #fff;
  text-decoration: none;
  font-size: var(--text-xl);
  font-weight: 700;
  padding: 1.2em 3em;
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  transition: all var(--transition-medium);
}
.final-cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 60px rgba(0,0,0,0.4);
  background: #0f172a;
}

/* ---------- MOBILE TWEAKS ---------- */
@media (max-width: 768px) {
  .about-hero-container,
  .story-container,
  .philosophy-container,
  .manifesto-container,
  .final-cta-container {
    max-width: calc(100vw - 8px);
    overflow-x: hidden;
  }
}
/* ====================== END - ABOUT PAGE CSS STYLES ====================== */

/* ====================== START - SERVICES PAGE CSS STYLES ====================== */
/* Unique CSS used by /ai-web-development-workflow-automation-services.html
   Excludes shared header/nav/footer styles. */

/* ---------- SHARED SECTION LAYOUT (used by this page) ---------- */
.section-padding { 
  padding: var(--space-12) var(--space-4); 
}
.section-container { 
  max-width: 1200px; 
  margin: 0 auto; 
}
.section-header {
  text-align: center; 
  margin-bottom: var(--space-8);
  animation: fadeInUp 0.8s ease-out;
}
.section-header h2 {
  font-size: var(--text-3xl); 
  font-weight: 700;
  margin: 0 0 var(--space-2) 0; 
  letter-spacing: -0.01em;
}
.section-header p {
  font-size: var(--text-lg); 
  color: var(--text-secondary);
  margin: 0 auto; 
  max-width: 700px; 
  line-height: 1.5;
}
@media (max-width: 768px) {
  .section-padding { padding: var(--mobile-space-8) 0; }
  .section-container { max-width: 100%; padding: 0 var(--mobile-space-2); }
  .section-header { margin-bottom: var(--mobile-space-6); padding: 0 var(--mobile-space-1); }
  .section-header h2 { font-size: var(--mobile-text-2xl); margin-bottom: var(--mobile-space-2); }
  .section-header p { font-size: var(--mobile-text-lg); line-height: 1.5; }
}

/* ---------- SERVICES HERO ---------- */
.services-hero {
  text-align: center; 
  padding: var(--space-8) var(--space-4);
  background: linear-gradient(135deg, #fff 0%, var(--background-light) 100%);
}
.services-hero h1 {
  font-size: clamp(2.5rem, 5vw, var(--text-4xl)); 
  font-weight: 700;
  line-height: 1.2; 
  margin: 0 auto var(--space-3) auto; 
  max-width: 800px;
}
.services-hero p {
  font-size: var(--text-xl); 
  color: var(--text-secondary);
  margin: 0 auto var(--space-6) auto; 
  max-width: 700px;
}
.hero-cta-button {
  display: inline-flex; 
  align-items: center; 
  background: var(--hc-yellow);
  color: #fff; 
  text-decoration: none; 
  font-size: var(--text-lg); 
  font-weight: 700;
  padding: 1em 2.5em; 
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(254,192,28,0.3);
  transition: all var(--transition-medium); 
  border: none; 
  cursor: pointer;
}
.hero-cta-button:hover {
  transform: translateY(-3px); 
  box-shadow: 0 15px 50px rgba(254,192,28,0.4);
}
@media (max-width: 768px) {
  .services-hero { padding: var(--mobile-space-6) 0; margin: 0; }
  .services-hero h1 { font-size: clamp(2rem, 8vw, 2.75rem); margin-bottom: var(--mobile-space-3); padding: 0 var(--mobile-space-2); }
  .services-hero p { font-size: var(--mobile-text-lg); margin-bottom: var(--mobile-space-5); padding: 0 var(--mobile-space-2); }
  .hero-cta-button { font-size: var(--mobile-text-base); padding: 1.1em 2.2em; margin: 0 var(--mobile-space-2); }
}

/* ---------- INTERACTIVE SERVICE CARDS ---------- */
.services-grid {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-5);
}
.service-card {
  background: #fff; 
  border-radius: 20px; 
  border: 1px solid var(--border-light);
  padding: var(--space-5); 
  transition: all var(--transition-medium);
  cursor: pointer; 
  animation: fadeInUp 0.8s ease-out;
}
.service-card:hover {
  transform: translateY(-6px); 
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(254,192,28,0.3);
}
.service-card-header h3 {
  font-size: var(--text-xl); 
  font-weight: 700;
  margin: 0 0 var(--space-2) 0;
}
.service-card-header p {
  font-size: var(--text-base); 
  color: var(--text-secondary);
  margin: 0; 
  line-height: 1.5;
}
.service-card-details {
  max-height: 0; 
  overflow: hidden;
  transition: max-height 0.5s ease-in-out, margin-top 0.5s ease-in-out;
}
.service-card.open .service-card-details { 
  max-height: 500px; 
  margin-top: var(--space-4); 
}
.service-card-details h4 {
  font-size: var(--text-sm); 
  text-transform: uppercase;
  letter-spacing: 0.5px; 
  color: var(--strategic-accent); 
  margin: 0 0 var(--space-2) 0;
}
.service-card-details ul { list-style-type: none; padding-left: 0; margin: 0; }
.service-card-details li {
  position: relative; 
  padding-left: 24px; 
  margin-bottom: var(--space-2);
  font-size: var(--text-sm); 
  color: var(--text-secondary);
}
.service-card-details li::before {
  content: '✓'; 
  position: absolute; 
  left: 0; top: 2px;
  color: var(--hc-yellow); 
  font-weight: 700;
}
.toggle-details {
  margin-top: var(--space-4); 
  font-weight: 600; 
  color: var(--strategic-accent);
  display: inline-block;
}
.toggle-details::after {
  content: ' →'; 
  transition: transform 0.15s ease-out; 
  display: inline-block;
}
.service-card.open .toggle-details::after { transform: rotate(90deg); }
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; gap: var(--mobile-space-4); padding: 0 var(--mobile-space-2); }
  .service-card { padding: var(--mobile-space-4); border-radius: 16px; }
  .service-card-header h3 { font-size: var(--mobile-text-lg); margin-bottom: var(--mobile-space-2); }
  .service-card-header p { font-size: var(--mobile-text-base); }
  .service-card.open .service-card-details { margin-top: var(--mobile-space-3); }
  .service-card-details h4 { font-size: var(--mobile-text-sm); margin-bottom: var(--mobile-space-2); }
  .service-card-details li { font-size: var(--mobile-text-sm); margin-bottom: var(--mobile-space-2); }
  .toggle-details { margin-top: var(--mobile-space-3); }
}

/* ---------- WHY ME SECTION ---------- */
.why-me-section { background: var(--background-light); }
.why-me-grid {
  display: grid; 
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-8); 
  align-items: center;
}
.why-me-content h3 { font-size: var(--text-2xl); font-weight: 700; margin-top: 0; }
.principles-list { list-style: none; padding: 0; }
.principle-item { margin-bottom: var(--space-4); }
.principle-item h4 { font-size: var(--text-lg); font-weight: 700; margin: 0 0 var(--space-1) 0; }
.principle-item p { font-size: var(--text-base); color: var(--text-secondary); margin: 0; }
@media (max-width: 900px) {
  .why-me-grid { grid-template-columns: 1fr; gap: var(--mobile-space-6); }
  .why-me-content h3 { font-size: var(--mobile-text-xl); }
  .principle-item h4 { font-size: var(--mobile-text-lg); margin-bottom: var(--mobile-space-1); }
  .principle-item p { font-size: var(--mobile-text-base); }
  .principle-item { margin-bottom: var(--mobile-space-3); }
}

/* ---------- INVESTMENT / PRICING SECTION ---------- */
.investment-section { background: var(--background-light); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-5);
  align-items: stretch;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: all var(--transition-medium);
  position: relative;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--card-shadow-premium); }
.pricing-card.highlighted { border-color: var(--hc-yellow); transform: scale(1.03); }
.highlight-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--hc-yellow); color: #fff; font-size: var(--text-xs); font-weight: 700;
  padding: 0.4em 1em; border-radius: 50px; text-transform: uppercase;
}
.pricing-card h3 { font-size: var(--text-xl); font-weight: 700; margin: 0 0 var(--space-2) 0; }
.pricing-card .price { font-size: var(--text-3xl); font-weight: 700; color: var(--text-primary); margin-bottom: var(--space-1); }
.pricing-card .price-meta { font-size: var(--text-sm); color: var(--text-secondary); margin-bottom: var(--space-4); }
.pricing-card .description { font-size: var(--text-sm); color: var(--text-secondary); margin-bottom: var(--space-4); flex-grow: 1; }
.pricing-card ul { list-style: none; padding: 0; margin: 0 0 var(--space-4) 0; flex-grow: 1; }
.pricing-card li { position: relative; padding-left: 24px; margin-bottom: var(--space-2); font-size: var(--text-sm); }
.pricing-card li::before { content: '✓'; position: absolute; left: 0; color: var(--hc-yellow); font-weight: 700; }
.pricing-cta-button {
  display: block; text-align: center; background: var(--premium-dark); color: #fff; text-decoration: none;
  font-weight: 600; padding: 0.9em 1.5em; border-radius: 10px; transition: all var(--transition-medium);
}
.pricing-card.highlighted .pricing-cta-button { background: var(--hc-yellow); }
.pricing-cta-button:hover { transform: translateY(-2px); }
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; gap: var(--mobile-space-4); padding: 0 var(--mobile-space-2); }
  .pricing-card { padding: var(--mobile-space-4); border-radius: 16px; }
  .pricing-card.highlighted { transform: none; }
  .pricing-card h3 { font-size: var(--mobile-text-lg); margin-bottom: var(--mobile-space-2); }
  .pricing-card .price { font-size: var(--mobile-text-2xl); }
  .pricing-card .price-meta { font-size: var(--mobile-text-sm); margin-bottom: var(--mobile-space-3); }
  .pricing-card .description { font-size: var(--mobile-text-sm); margin-bottom: var(--mobile-space-3); }
  .pricing-card ul { margin-bottom: var(--mobile-space-3); }
  .pricing-card li { font-size: var(--mobile-text-sm); margin-bottom: var(--mobile-space-2); }
  .pricing-cta-button { padding: 1em 1.5em; font-size: var(--mobile-text-base); }
}

/* ---------- FINAL CTA (SERVICES PAGE) ---------- */
.final-cta-section {
  padding: var(--space-12) var(--space-4);
  background: linear-gradient(135deg, var(--text-primary) 0%, #374151 100%);
  color: #fff;
  text-align: center;
}
.final-cta-container {
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out;
  padding: 0 var(--space-4);
}
.final-cta-headline {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin: 0 0 var(--space-4) 0;
  letter-spacing: -0.02em;
}
.final-cta-subheadline {
  font-size: var(--text-xl);
  margin: 0 0 var(--space-6) 0;
  opacity: 0.9;
  line-height: 1.4;
}
.final-cta-button {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--hc-yellow) 0%, #f59e0b 100%);
  color: #fff;
  text-decoration: none;
  font-size: var(--text-lg);
  font-weight: 700;
  padding: 1em 2em;
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(254,192,28,0.3);
  transition: all var(--transition-medium);
  max-width: 280px;
  justify-content: center;
}
.final-cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 60px rgba(254,192,28,0.4);
}
@media (max-width: 768px) {
  .final-cta-section { padding: var(--mobile-space-8) 0; }
  .final-cta-container { max-width: 100%; padding: 0 var(--mobile-space-2); }
  .final-cta-headline { font-size: var(--mobile-text-2xl); margin-bottom: var(--mobile-space-3); line-height: 1.2; }
  .final-cta-subheadline { font-size: var(--mobile-text-lg); margin-bottom: var(--mobile-space-5); line-height: 1.4; }
  .final-cta-button {
    font-size: var(--mobile-text-base);
    padding: 1.1em 2.2em;
    width: 100%;
    max-width: 320px;
  }
}

/* ---------- MOBILE EDGE-TO-EDGE (this page’s sections only) ---------- */
@media (max-width: 768px) {
  .services-hero,
  .section-padding,
  .investment-section,
  .final-cta-section,
  .why-me-section {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  .services-hero { margin-bottom: 0; }
  .section-padding:not(:last-child) { margin-bottom: 0; }
  .why-me-section,
  .investment-section {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .services-hero,
  .section-container,
  .pricing-grid {
    max-width: 100%;
    width: 100%;
  }
}

/* ---------- KEYFRAMES USED ON THIS PAGE ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====================== START - SERVICES PAGE WHY-ME SECTION (FIXES/OMISSIONS) ====================== */

/* Ensure left text and right list align from the top and keep generous spacing */
.why-me-grid {
  align-items: start;                 /* previously centered on some setups */
  gap: var(--space-8);
}

/* Constrain the intro copy width and apply consistent typography */
.why-me-content {
  max-width: 560px;
}
.why-me-content p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: var(--space-2) 0 0;
}

/* Lay out the right-hand principle items cleanly with a grid */
.principles-list {
  display: grid;                      /* previously a plain block */
  grid-template-columns: 1fr 1fr;     /* two neat columns on desktop */
  gap: var(--space-6);
}

/* Each principle item spacing/legibility */
.principle-item {
  margin: 0;                          /* grid gap handles vertical rhythm */
}
.principle-item h4 {
  margin: 0 0 var(--space-1) 0;
}
.principle-item p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Responsive: collapse to a single column on smaller screens */

@media (max-width: 900px) {
  .why-me-grid { 
    grid-template-columns: 1fr;       /* already present; reinforce for this section */
    gap: var(--mobile-space-6);
  }
  .principles-list {
    grid-template-columns: 1fr;       /* stack items */
    gap: var(--mobile-space-4);
  }
  .why-me-content { 
    max-width: 100%;
  }
  .why-me-content p {
    font-size: var(--mobile-text-base);
  }
}
/* ====================== END - SERVICES PAGE CSS STYLES ====================== */
/* ====================== START - ARTICLES PAGE CSS ====================== */

/* ARTICLES-SPECIFIC CUSTOM PROPERTIES */
:root {
  /* Additional variables not in central CSS */
  --card-radius-large: 1.6rem;                        /* Large card border radius */
  --background-warm: #fffef8;                          /* Warm background */
  --z-dropdown: 10;                                    /* Dropdowns */
  --z-sticky: 20;                                      /* Sticky elements */
  --z-fixed: 30;                                       /* Fixed elements */
  --z-modal: 40;                                       /* Modals */
  --z-overlay: 50;                                     /* Overlays */
  --z-menu: 90;                                        /* Mobile menu */
  --z-hamburger: 100;                                  /* Hamburger button */
  --transition-bounce: 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Bounce effect */
}

/* ARTICLES-SPECIFIC ANIMATIONS */
@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ====================== ARTICLES HERO SECTION ====================== */

/* ARTICLES TOP SECTION CONTAINER */
.articles-top-section-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-6);
  max-width: 1200px;
  margin: 0 auto var(--space-8) auto;
  padding: 0 var(--space-4);
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ARTICLES CONTENT BOX */
.articles-content-box {
  background: linear-gradient(135deg, var(--background-white) 0%, var(--background-light) 100%);
  border-radius: var(--card-radius-large);
  box-shadow: 0 8px 32px rgba(40,46,60,0.1);
  padding: var(--space-8) var(--space-6) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(254,192,28,0.12);
  position: relative;
  overflow: hidden;
}

.articles-content-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(254,192,28,0.08) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(30%, -30%);
}

/* ARTICLES TITLE PAINT */
.articles-title-paint {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
  line-height: 1.15;
  text-shadow: 0 1px 3px rgba(0,0,0,0.08);
  position: relative;
  z-index: 2;
}

/* ARTICLES TEXT PAINT */
.articles-text-paint {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 400;
  position: relative;
  z-index: 2;
}

/* ARTICLES STRATEGIC INDICATOR */
.articles-strategic-indicator {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--hc-yellow) 0%, var(--hc-yellow-dark) 100%);
  color: var(--background-white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.5em 1em;
  border-radius: 20px;
  margin-bottom: var(--space-3);
  box-shadow: 0 3px 12px rgba(254,192,28,0.3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ARTICLES IMAGE AREA */
.articles-image-area {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-medium);
  position: relative;
}

.articles-image-area:hover {
  transform: scale(1.02);
}

.articles-hero-brain-image {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(40,46,60,0.15));
  transition: all var(--transition-medium);
}

.articles-hero-brain-image:hover {
  filter: drop-shadow(0 12px 40px rgba(40,46,60,0.2));
  transform: scale(1.05);
}

/* ====================== FEATURED ARTICLE SECTION ====================== */

.articles-featured-article-outer {
  max-width: 1200px;
  margin: 0 auto var(--space-8) auto;
  padding: 0 var(--space-4);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.articles-featured-article-card {
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, #fffefa 0%, #fff9e6 100%);
  border-radius: var(--card-radius-large);
  box-shadow: 0 12px 60px rgba(254,192,28,0.18);
  overflow: hidden;
  min-height: 300px;
  transition: all var(--transition-medium);
  border: 2px solid rgba(254,192,28,0.25);
  position: relative;
}

.articles-featured-article-card:hover,
.articles-featured-article-card:focus {
  box-shadow: 0 20px 80px rgba(254,192,28,0.35);
  background: linear-gradient(135deg, #fffbe7 0%, #fff6d6 100%);
  transform: translateY(-4px);
  border-color: rgba(254,192,28,0.5);
}

.articles-featured-article-card::before {
  content: 'Strategic Guide';
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: linear-gradient(135deg, var(--strategic-accent) 0%, #d97706 100%);
  color: var(--background-white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.6em 1.2em;
  border-radius: 25px;
  z-index: 3;
  box-shadow: 0 3px 15px rgba(200,150,0,0.4);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.articles-featured-article-image {
  flex: 0 0 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fffde0 0%, #fff8d0 100%);
  border-right: 2px solid rgba(255,243,205,0.8);
  position: relative;
  overflow: hidden;
}

.articles-featured-article-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(254,192,28,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.articles-featured-article-image picture,
.articles-featured-article-image img,
.articles-featured-article-image svg {
  width: 180px;
  height: 140px;
  display: block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 6px 20px rgba(254,192,28,0.25));
  border-radius: 1.2em;
  object-fit: cover;
}

.articles-featured-article-content {
  flex: 1;
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.articles-featured-meta {
  font-size: var(--text-sm);
  color: #ba9204;
  margin-bottom: var(--space-2);
  letter-spacing: 0.5px;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.articles-reading-time {
  background: rgba(254,192,28,0.1);
  padding: 0.4em 0.8em;
  border-radius: 12px;
  font-size: var(--text-xs);
  color: var(--strategic-accent);
  font-weight: 700;
}

.articles-featured-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.articles-featured-excerpt {
  font-size: var(--text-base);
  color: #444;
  margin-bottom: var(--space-4);
  line-height: 1.65;
  font-weight: 400;
}

.articles-featured-takeaways {
  background: rgba(254,192,28,0.08);
  border-left: 4px solid var(--hc-yellow);
  padding: var(--space-3);
  margin-bottom: var(--space-4);
  border-radius: 0 8px 8px 0;
}

.articles-featured-takeaways-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--strategic-accent);
  margin-bottom: 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.articles-featured-takeaways-list {
  font-size: var(--text-sm);
  color: #555;
  line-height: 1.5;
}

.articles-featured-tags {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.articles-featured-tags .article-tag {
  background: linear-gradient(135deg, #fffde0 0%, #fff9d0 100%);
  color: #c89600;
  font-size: var(--text-sm);
  padding: 0.7em 1.4em;
  font-weight: 600;
  border-radius: 25px;
  border: 2px solid var(--hc-yellow);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.articles-featured-tags .article-tag:hover {
  background: linear-gradient(135deg, var(--hc-yellow) 0%, #ffcd3c 100%);
  color: var(--background-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(254,192,28,0.3);
}

/* ====================== ADVANCED FILTERING SECTION ====================== */

.articles-filter-section {
  max-width: 1200px;
  margin: 0 auto var(--space-6) auto;
  padding: 0 var(--space-4);
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.articles-filter-container {
  background: linear-gradient(135deg, var(--background-light) 0%, #f8f9fa 100%);
  border-radius: var(--card-radius);
  padding: var(--space-5);
  box-shadow: 0 4px 20px rgba(40,46,60,0.08);
  border: 1px solid rgba(254,192,28,0.1);
  margin-bottom: var(--space-4);
}

.articles-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  margin-bottom: var(--space-4);
}

.articles-filter-row:last-child {
  margin-bottom: 0;
}

.articles-search-container {
  position: relative;
  flex: 0 1 0px;
  min-width: 250px;
  max-width: 400px;
}

.articles-search {
  width: 100%;
  padding: 0.9em 1.4em 0.9em 2.8em;
  border: 2px solid rgba(254,192,28,0.3);
  border-radius: 30px;
  font-size: var(--text-base);
  outline: none;
  background: var(--background-white);
  transition: all var(--transition-fast);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.articles-search:focus {
  border-color: var(--hc-yellow);
  box-shadow: 
    inset 0 1px 3px rgba(0,0,0,0.05),
    0 0 0 3px rgba(254,192,28,0.2);
}

.articles-search-icon {
  position: absolute;
  left: 1em;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
  z-index: 2;
}

.articles-filter-categories {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  align-items: center;
}

.articles-category-filter {
  background: linear-gradient(135deg, var(--background-white) 0%, var(--background-light) 100%);
  color: #555;
  border: 2px solid var(--border-light);
  border-radius: 25px;
  padding: 0.7em 1.4em;
  font-weight: 600;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.articles-category-filter:hover,
.articles-category-filter.active {
  background: linear-gradient(135deg, var(--hc-yellow) 0%, var(--hc-yellow-dark) 100%);
  color: var(--background-white);
  border-color: var(--hc-yellow);
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(254,192,28,0.3);
}

.articles-difficulty-filters {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.articles-difficulty-filter {
  padding: 0.6em 1.2em;
  border-radius: 20px;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 2px solid transparent;
  white-space: nowrap;
}

.articles-difficulty-strategic {
  background: rgba(200,150,0,0.1);
  color: var(--strategic-accent);
  border-color: rgba(200,150,0,0.3);
}

.articles-difficulty-strategic:hover,
.articles-difficulty-strategic.active {
  background: var(--strategic-accent);
  color: var(--background-white);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(200,150,0,0.3);
}

.articles-difficulty-technical {
  background: rgba(5,150,105,0.1);
  color: var(--technical-accent);
  border-color: rgba(5,150,105,0.3);
}

.articles-difficulty-technical:hover,
.articles-difficulty-technical.active {
  background: var(--technical-accent);
  color: var(--background-white);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(5,150,105,0.3);
}

.articles-difficulty-advanced {
  background: rgba(124,58,237,0.1);
  color: var(--advanced-accent);
  border-color: rgba(124,58,237,0.3);
}

.articles-difficulty-advanced:hover,
.articles-difficulty-advanced.active {
  background: var(--advanced-accent);
  color: var(--background-white);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(124,58,237,0.3);
}

/* ====================== MAIN ARTICLES GRID SECTION ====================== */

.articles-section {
  max-width: 1200px;
  margin: 0 auto var(--space-8) auto;
  padding: 0 var(--space-4);
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

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

.article-card {
  background: linear-gradient(135deg, var(--background-white) 0%, var(--background-light) 100%);
  border-radius: var(--card-radius-large);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  min-height: 540px;
  padding: 0;
  position: relative;
  border: 2px solid rgba(248,249,250,0.8);
  cursor: pointer;
  transition: all var(--transition-medium);
  background-image: radial-gradient(circle at 90% 10%, rgba(254,192,28,0.04) 0%, transparent 60%);
  overflow: hidden;
}

.article-card:hover,
.article-card:focus-within {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--hc-yellow);
  z-index: 2;
  transform: translateY(-6px);
  background: linear-gradient(135deg, var(--background-white) 0%, var(--background-warm) 100%);
}

.article-difficulty-badge {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  padding: 0.5em 1em;
  border-radius: 15px;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-difficulty-badge.strategic {
  background: linear-gradient(135deg, var(--strategic-accent) 0%, #d97706 100%);
  color: var(--background-white);
}

.article-difficulty-badge.technical {
  background: linear-gradient(135deg, var(--technical-accent) 0%, #047857 100%);
  color: var(--background-white);
}

.article-difficulty-badge.advanced {
  background: linear-gradient(135deg, var(--advanced-accent) 0%, #6d28d9 100%);
  color: var(--background-white);
}

.article-card-image {
  width: 100%;
  height: 220px;
  background: var(--background-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid #f3f4f6;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.article-card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(254,192,28,0.12) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.article-card:hover .article-card-image::after {
  opacity: 1;
}

.article-card-image img,
.article-card-image svg,
.article-card-image picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
  background: var(--background-white);
  transition: transform var(--transition-medium);
}

.article-card:hover .article-card-image img,
.article-card:hover .article-card-image svg {
  transform: scale(1.08);
}

.article-card-content {
  flex: 1;
  padding: var(--space-5) var(--space-4) var(--space-4) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.article-card-meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.5px;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

.article-reading-time {
  background: rgba(254,192,28,0.15);
  color: var(--strategic-accent);
  padding: 0.4em 0.8em;
  border-radius: 12px;
  font-size: var(--text-xs);
  font-weight: 700;
}

.article-card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  text-decoration: none;
  transition: color var(--transition-fast);
  text-shadow: 0 1px 2px rgba(0,0,0,0.05);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;  
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-title:hover,
.article-card-title:focus {
  color: var(--strategic-accent);
}

.article-card-excerpt {
  font-size: var(--text-sm);
  color: #555;
  line-height: 1.6;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;  
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.article-card-takeaways {
  background: rgba(254,192,28,0.08);
  border-left: 3px solid var(--hc-yellow);
  padding: var(--space-2) var(--space-3);
  border-radius: 0 6px 6px 0;
  font-size: var(--text-xs);
  color: #666;
  line-height: 1.4;
}

.article-card-takeaways-title {
  font-weight: 700;
  color: var(--strategic-accent);
  margin-bottom: 0.4em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-card-tags {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.article-tag {
  font-size: var(--text-xs);
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
  color: #444;
  border-radius: 20px;
  padding: 0.6em 1em;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid #e9ecef;
  white-space: nowrap;
  line-height: 1.2;
}

.article-tag:hover,
.article-tag:focus {
  background: linear-gradient(135deg, var(--hc-yellow) 0%, #ffcd3c 100%);
  color: var(--background-white);
  border-color: var(--hc-yellow);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(254,192,28,0.3);
}

/* ====================== PAGINATION CONTROLS ====================== */

.articles-page-nav {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 2px solid var(--border-light);
  background: linear-gradient(135deg, var(--background-light) 0%, #f8f9fa 100%);
  font-size: 1.6rem;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-medium);
  box-shadow: 0 3px 12px rgba(40,46,60,0.08);
}

.articles-page-nav:hover:not(:disabled) {
  border-color: var(--hc-yellow);
  background: linear-gradient(135deg, var(--background-warm) 0%, #fffbea 100%);
  color: var(--strategic-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254,192,28,0.25);
}

.articles-page-nav:disabled {
  color: #d1d5db;
  border-color: #f3f4f6;
  cursor: default;
  background: #f9fafb;
  opacity: 0.6;
}

.articles-page-nav:focus {
  border-color: var(--hc-yellow);
  outline: none;
  box-shadow: 0 0 0 3px rgba(254,192,28,0.2);
}

.articles-page-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin: 0 var(--space-1);
  background: #d1d5db;  /* Solid gray instead of gradient */
  transition: all var(--transition-medium);
  border: 2px solid #e5e7eb;
  cursor: pointer;
  opacity: 0.6;  /* Lower opacity for inactive state */
}

.articles-page-dot:hover {
  background: #9ca3af;
  border-color: #6b7280;
  transform: scale(1.1);
  opacity: 0.8;
}

.articles-page-dot.active {
  background: var(--hc-yellow);  /* Solid yellow instead of gradient */
  border-color: #f59e0b;
  box-shadow: 0 4px 15px rgba(254,192,28,0.4);
  transform: scale(1.3);  /* More pronounced scale */
  opacity: 1;  /* Full opacity for active state */
}

/* ====================== STRATEGIC INSIGHTS SECTION ====================== */

.articles-insights-section {
  max-width: 1200px;
  margin: var(--space-8) auto 0 auto;
  padding: 0 var(--space-4) var(--space-6) var(--space-4);
  animation: fadeInUp 0.8s ease-out 1s both;
}

.articles-insights-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
  color: var(--strategic-accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(200,150,0,0.1);
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.articles-insights-title::after {
  content: '';
  flex: 1;
  height: 4px;
  background: linear-gradient(90deg, var(--hc-yellow) 0%, var(--hc-yellow-dark) 100%);
  border-radius: 2px;
}

.articles-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.articles-insight-card {
  background: linear-gradient(135deg, var(--background-white) 0%, var(--background-light) 100%);
  border-radius: var(--card-radius);
  box-shadow: 0 4px 25px rgba(40,46,60,0.08);
  padding: var(--space-5);
  border: 2px solid rgba(254,192,28,0.1);
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.articles-insight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--strategic-accent) 0%, var(--hc-yellow-dark) 100%);
}

.articles-insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 35px rgba(254,192,28,0.15);
  border-color: rgba(254,192,28,0.3);
}

.articles-insight-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--strategic-accent) 0%, #d97706 100%);
  color: var(--background-white);
  font-weight: 700;
  font-size: var(--text-xs);
  border-radius: 20px;
  padding: 0.6em 1.2em;
  margin-bottom: var(--space-3);
  box-shadow: 0 3px 12px rgba(200,150,0,0.3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ====================== RELATED ARTICLES SECTION ====================== */

.articles-related-section {
  max-width: 1200px;
  margin: var(--space-8) auto 0 auto;
  padding: 0 var(--space-4) var(--space-6) var(--space-4);
  background: linear-gradient(135deg, var(--background-white) 0%, var(--background-light) 100%);
  border-radius: var(--space-4);
  box-shadow: 0 6px 30px rgba(40,46,60,0.1);
  border: 1px solid rgba(254,192,28,0.1);
  animation: fadeInUp 0.8s ease-out 1.2s both;
}

.articles-related-section-welcome {
  max-width: 1200px;
  margin: 0 auto var(--space-6) auto;
  padding: 0 var(--space-4);
  animation: fadeInUp 0.8s ease-out 1s both;
}

.articles-related-library-card {
  background: linear-gradient(135deg, #fffefa 0%, #fff6e6 100%);
  border-radius: var(--space-4);
  box-shadow: 0 8px 40px rgba(254,192,28,0.18);
  padding: var(--space-8) var(--space-6) var(--space-6) var(--space-6);
  margin-bottom: var(--space-6);
  border: 2px solid rgba(254,192,28,0.25);
  position: relative;
  overflow: hidden;
}

.articles-related-library-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(254,192,28,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.articles-related-section-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.articles-related-section-intro {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
  color: var(--text-secondary);
  line-height: 1.65;
  position: relative;
  z-index: 2;
  font-weight: 400;
}

.articles-related-section-intro-highlight {
  color: var(--strategic-accent);
  font-weight: 600;
  background: linear-gradient(135deg, rgba(254,192,28,0.12) 0%, rgba(254,192,28,0.06) 100%);
  padding: 0.4em 0.6em;
  border-radius: 8px;
}

.articles-related-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding: var(--space-5) 0;
  border-bottom: 2px solid rgba(254,192,28,0.1);
}

.articles-related-selected-tags {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.articles-related-selected-tag {
  background: linear-gradient(135deg, var(--hc-yellow-light) 0%, #fff9d0 100%);
  color: var(--strategic-accent);
  border: 2px solid var(--hc-yellow);
  border-radius: 25px;
  padding: 0.7em 1.4em;
  font-weight: 600;
  font-size: var(--text-sm);
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 3px 12px rgba(254,192,28,0.2);
}

.articles-related-selected-tag:hover {
  background: linear-gradient(135deg, var(--hc-yellow) 0%, var(--hc-yellow-dark) 100%);
  color: var(--background-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(254,192,28,0.35);
}

.articles-related-selected-tag .tag-x {
  font-weight: 800;
  margin-left: var(--space-2);
  color: #b78600;
  cursor: pointer;
  font-size: 1.1em;
  transition: color var(--transition-fast);
}

.articles-related-selected-tag:hover .tag-x {
  color: var(--background-white);
}

.articles-related-search {
  padding: 0.9em 1.6em;
  border: 2px solid rgba(254,192,28,0.3);
  border-radius: 25px;
  font-size: var(--text-sm);
  outline: none;
  flex: 1 0 220px;
  min-width: 220px;
  max-width: 360px;
  background: linear-gradient(135deg, #fffdfa 0%, var(--background-warm) 100%);
  transition: all var(--transition-fast);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.articles-related-search:focus {
  border-color: var(--hc-yellow);
  box-shadow: 
    inset 0 1px 3px rgba(0,0,0,0.05),
    0 0 0 3px rgba(254,192,28,0.2);
  background: var(--background-white);
}

.articles-related-search::placeholder {
  color: #9ca3af;
  font-style: italic;
}

.articles-related-unselect-all {
  background: linear-gradient(135deg, #ffe18a 0%, #fbbf24 100%);
  color: var(--strategic-accent);
  border: none;
  border-radius: 25px;
  padding: 0.7em 2em;
  font-weight: 700;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 3px 12px rgba(254,192,28,0.25);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.articles-related-unselect-all:hover {
  background: linear-gradient(135deg, var(--hc-yellow) 0%, var(--hc-yellow-dark) 100%);
  color: var(--background-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(254,192,28,0.35);
}

.articles-related-grid,
.articles-related-welcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-6);
  padding: var(--space-5) 0;
}

.articles-related-card {
  background: linear-gradient(135deg, var(--background-white) 0%, var(--background-light) 100%);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  min-height: 580px;
  padding: 0;
  position: relative;
  border: 2px solid #f8f9fa;
  transition: all var(--transition-medium);
  background-image: radial-gradient(circle at 90% 10%, rgba(254,192,28,0.04) 0%, transparent 60%);
  margin-bottom: var(--space-4);
}

.articles-related-card:hover,
.articles-related-card:focus-within {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--hc-yellow);
  z-index: 2;
  transform: translateY(-6px);
  background: linear-gradient(135deg, var(--background-white) 0%, var(--background-warm) 100%);
}

.articles-related-card-image {
  width: 100%;
  height: 200px;
  background: var(--background-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid #f3f4f6;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.articles-related-card-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(254,192,28,0.12) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.articles-related-card:hover .articles-related-card-image::after {
  opacity: 1;
}

.articles-related-card-image img,
.articles-related-card-image svg,
.articles-related-card-image picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
  background: var(--background-white);
  transition: transform var(--transition-medium);
}

.articles-related-card:hover .articles-related-card-image img,
.articles-related-card:hover .articles-related-card-image svg {
  transform: scale(1.08);
}

.articles-related-card-content {
  flex: 1;
  padding: var(--space-5) var(--space-4) var(--space-4) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.articles-related-card-meta {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: 0.5px;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  padding-bottom: var(--space-1);
}

.articles-related-card-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  text-decoration: none;
  transition: color var(--transition-fast);
  text-shadow: 0 1px 2px rgba(0,0,0,0.05);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;  
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.articles-related-card-title:hover,
.articles-related-card-title:focus {
  color: var(--strategic-accent);
}

.articles-related-card-excerpt {
  font-size: var(--text-sm);
  color: #555;
  line-height: 1.6;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;  
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.articles-related-card-tags {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.articles-related-match-tag {
  background: linear-gradient(135deg, var(--hc-yellow-light) 0%, #fff9d0 100%);
  color: var(--strategic-accent);
  border: 2px solid var(--hc-yellow);
  border-radius: 20px;
  padding: 0.7em 1.2em;
  font-weight: 700;
  font-size: var(--text-xs);
  white-space: nowrap;
  line-height: 1.2;
  box-shadow: 0 3px 10px rgba(254,192,28,0.25);
  margin: 0.2em 0;
}

.articles-related-card-tag {
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
  color: #444;
  border-radius: 20px;
  padding: 0.7em 1.1em;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  font-size: var(--text-xs);
  border: 1px solid #e9ecef;
  transition: all var(--transition-fast);
  white-space: nowrap;
  line-height: 1.2;
  margin: 0.2em 0;
}

.articles-related-card-tag:hover {
  background: linear-gradient(135deg, var(--hc-yellow) 0%, #ffcd3c 100%);
  color: var(--background-white);
  border-color: var(--hc-yellow);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(254,192,28,0.3);
}

.articles-related-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-8) 0;
}

.articles-related-page-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--border-light) 0%, var(--border-medium) 100%);
  border: 2px solid var(--border-light);
  transition: all var(--transition-medium);
  cursor: pointer;
}

.articles-related-page-dot:hover {
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
  border-color: var(--hc-yellow-dark);
  transform: scale(1.15);
}

.articles-related-page-dot.active {
  background: linear-gradient(135deg, var(--hc-yellow) 0%, var(--hc-yellow-dark) 100%);
  border-color: #d97706;
  box-shadow: 0 4px 15px rgba(254,192,28,0.4);
  transform: scale(1.2);
}

.articles-related-no-results {
  text-align: center;
  padding: var(--space-10) var(--space-5);
}

.articles-related-no-results h3 {
  color: var(--text-muted);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  font-weight: 600;
}

.articles-related-no-results p {
  color: #9ca3af;
  font-size: var(--text-base);
  line-height: 1.6;
}

/* ====================== LOADING STATES & SKELETON SCREENS ====================== */

.articles-loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
  color: transparent !important;
  border-radius: 4px;
}

.article-card.loading {
  pointer-events: none;
  opacity: 0.7;
}

.article-card.loading .article-card-image {
  background: #f0f0f0;
}

.article-card.loading .article-card-title,
.article-card.loading .article-card-excerpt {
  background: #f0f0f0;
  color: transparent;
  border-radius: 4px;
}

/* ====================== ARTICLES MOBILE RESPONSIVENESS ====================== */

/* Tablet Breakpoint - Articles */
@media (max-width: 1100px) {
  .articles-top-section-container {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    text-align: center;
  }
  
  .articles-content-box {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .articles-image-area {
    order: -1;
    margin-bottom: var(--space-4);
  }
  
  .articles-featured-article-card {
    flex-direction: column;
  }
  
  .articles-featured-article-image {
    flex: none;
    height: 200px;
    border-right: none;
    border-bottom: 2px solid rgba(255,243,205,0.8);
  }
  
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
  
  .articles-insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .articles-related-grid,
  .articles-related-welcome-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
}

/* Mobile Breakpoint - Articles */
@media (max-width: 768px) {
  .articles-top-section-container {
    padding: 0 var(--space-3);
    margin-bottom: var(--space-6);
  }
  
  .articles-content-box {
    padding: var(--space-5) var(--space-4);
  }
  
  .articles-title-paint {
    font-size: var(--text-xl);
  }
  
  .articles-text-paint {
    font-size: var(--text-base);
  }
  
  .articles-featured-article-outer {
    padding: 0 var(--space-3);
  }
  
  .articles-featured-article-content {
    padding: var(--space-5) var(--space-4);
  }
  
  .articles-featured-title {
    font-size: var(--text-xl);
  }
  
  .articles-featured-article-image picture,
  .articles-featured-article-image img,
  .articles-featured-article-image svg {
    width: 140px;
    height: 110px;
  }
  
  .articles-filter-section {
    padding: 0 var(--space-3);
  }
  
  .articles-filter-container {
    padding: var(--space-4);
  }
  
  .articles-filter-row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }
  
  .articles-search-container {
    max-width: none;
  }
  
  .articles-filter-categories,
  .articles-difficulty-filters {
    justify-content: center;
  }
  
  .articles-section {
    padding: 0 var(--space-3);
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  
  .article-card {
    min-height: 500px;
  }
  
  .article-card-content {
    padding: var(--space-4) var(--space-3);
  }
  
  .article-card-tags {
    gap: var(--space-1);
  }
  
  .article-tag {
    padding: 0.5em 0.8em;
    font-size: calc(var(--text-xs) - 1px);
  }
  
  .articles-insights-section {
    padding: 0 var(--space-3) var(--space-6) var(--space-3);
  }
  
  .articles-insights-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .articles-related-section {
    padding: 0 var(--space-3) var(--space-6) var(--space-3);
    margin: var(--space-6) auto 0 auto;
  }
  
  .articles-related-section-welcome {
    padding: 0 var(--space-3);
  }
  
  .articles-related-library-card {
    padding: var(--space-5) var(--space-4);
  }
  
  .articles-related-grid,
  .articles-related-welcome-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
    padding: var(--space-3) 0;
  }
  
  .articles-related-card {
    min-height: 520px;
    margin-bottom: var(--space-3);
  }
  
  .articles-related-card-content {
    padding: var(--space-4) var(--space-3);
  }
  
  .articles-related-card-tags {
    gap: var(--space-1);
    padding-top: var(--space-3);
  }
  
  .articles-related-card-tag,
  .articles-related-match-tag {
    padding: 0.6em 0.9em;
    font-size: calc(var(--text-xs) - 1px);
  }
}

/* Small Mobile Breakpoint - Articles */
@media (max-width: 400px) {
  .articles-hero-brain-image {
    max-width: 200px;
  }
  
  .articles-title-paint {
    font-size: var(--text-lg);
  }
  
  .articles-top-section-container,
  .articles-featured-article-outer,
  .articles-filter-section,
  .articles-section,
  .articles-insights-section,
  .articles-related-section,
  .articles-related-section-welcome {
    padding-left: var(--space-2);
    padding-right: var(--space-2);
  }
}

/* ====================== ARTICLES ACCESSIBILITY ENHANCEMENTS ====================== */

.article-card:focus,
.articles-related-card:focus,
.articles-category-filter:focus,
.articles-difficulty-filter:focus,
.articles-search:focus,
.articles-related-search:focus {
  outline: 3px solid rgba(254,192,28,0.6);
  outline-offset: 2px;
}

/* High Contrast Mode - Articles */
@media (prefers-contrast: high) {
  .article-card,
  .articles-related-card,
  .articles-featured-article-card,
  .articles-insight-card {
    border-width: 3px;
    border-color: #000;
  }
  
  .article-tag,
  .articles-related-card-tag,
  .articles-category-filter,
  .articles-difficulty-filter {
    border-width: 2px;
    border-color: #000;
  }
}

/* Reduced Motion Preferences - Articles */
@media (prefers-reduced-motion: reduce) {
  .article-card:hover,
  .articles-related-card:hover,
  .articles-featured-article-card:hover {
    transform: none !important;
  }
}
/* ====================== FEATURED ARTICLE SECTION - FULL WIDTH HERO ====================== */

.articles-featured-article-outer {
  max-width: 1200px;
  margin: 0 auto var(--space-8) auto;
  padding: 0 var(--space-4);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.articles-featured-article-card {
  display: flex;
  flex-direction: column; /* Stack vertically instead of side-by-side */
  background: linear-gradient(135deg, #fffef8 0%, #fff9e6 100%);
  border-radius: var(--card-radius-large);
  box-shadow: 0 16px 80px rgba(254,192,28,0.25);
  overflow: hidden;
  min-height: auto;
  transition: all var(--transition-medium);
  border: 3px solid rgba(254,192,28,0.3);
  position: relative;
  text-decoration: none;
  color: inherit;
}

.articles-featured-article-card:hover,
.articles-featured-article-card:focus {
  box-shadow: 0 24px 100px rgba(254,192,28,0.4);
  background: linear-gradient(135deg, #fffbe7 0%, #fff6d6 100%);
  transform: translateY(-8px);
  border-color: rgba(254,192,28,0.6);
}

.articles-featured-article-card::before {
  content: 'Featured Strategic Guide';
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: linear-gradient(135deg, var(--strategic-accent) 0%, #d97706 100%);
  color: var(--background-white);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 0.8em 1.6em;
  border-radius: 30px;
  z-index: 3;
  box-shadow: 0 4px 20px rgba(200,150,0,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* FEATURED ARTICLE IMAGE - FULL WIDTH HERO TREATMENT */
.articles-featured-article-image {
  width: 100%;
  height: 300px; /* Large height for visual impact */
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fffde0 0%, #fff8d0 100%);
  border-bottom: 3px solid rgba(255,243,205,0.8);
  position: relative;
  overflow: hidden;
}

.articles-featured-article-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(254,192,28,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.articles-featured-article-image picture,
.articles-featured-article-image img,
.articles-featured-article-image svg {
  width: 100%; /* Full width */
  height: 100%; /* Full height */

  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 30px rgba(254,192,28,0.3));
  border-radius: 0; /* Remove border radius to fill space */
  transition: transform var(--transition-medium);
}

.articles-featured-article-card:hover .articles-featured-article-image img,
.articles-featured-article-card:hover .articles-featured-article-image svg {
  transform: scale(1.03);
}

/* FEATURED ARTICLE CONTENT - BELOW IMAGE */
.articles-featured-article-content {
  padding: var(--space-6) var(--space-6) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.articles-featured-meta {
  font-size: var(--text-base);
  color: #b8860b;
  margin-bottom: var(--space-3);
  letter-spacing: 0.8px;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.articles-reading-time {
  background: linear-gradient(135deg, rgba(254,192,28,0.2) 0%, rgba(254,192,28,0.1) 100%);
  color: var(--strategic-accent);
  padding: 0.6em 1.2em;
  border-radius: 20px;
  font-size: var(--text-sm);
  font-weight: 700;
  border: 2px solid rgba(254,192,28,0.3);
  box-shadow: 0 2px 10px rgba(254,192,28,0.2);
}

.articles-featured-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.articles-featured-excerpt {
  font-size: var(--text-lg);
  color: #444;
  margin-bottom: var(--space-5);
  line-height: 1.6;
  font-weight: 400;
  opacity: 0.9;
}

.articles-featured-takeaways {
  background: linear-gradient(135deg, rgba(254,192,28,0.12) 0%, rgba(254,192,28,0.06) 100%);
  border-left: 6px solid var(--hc-yellow);
  padding: var(--space-4);
  margin-bottom: var(--space-5);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 4px 20px rgba(254,192,28,0.1);
}

.articles-featured-takeaways-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--strategic-accent);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.articles-featured-takeaways-list {
  font-size: var(--text-base);
  color: #555;
  line-height: 1.6;
  font-weight: 500;
}

/* FEATURED ARTICLE TAGS - PREMIUM STYLING */
.articles-featured-tags {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.articles-featured-tags .article-tag {
  background: linear-gradient(135deg, var(--hc-yellow) 0%, #ffcd3c 100%);
  color: var(--background-white);
  font-size: var(--text-sm);
  padding: 0.8em 1.6em;
  font-weight: 700;
  border-radius: 30px;
  border: 3px solid rgba(255,255,255,0.3);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(254,192,28,0.3);
}

.articles-featured-tags .article-tag:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(254,192,28,0.5);
  border-color: rgba(255,255,255,0.5);
}

/* MOBILE RESPONSIVENESS FOR FEATURED ARTICLE */
@media (max-width: 768px) {
  .articles-featured-article-outer {
    padding: 0 var(--space-3);
  }
  
  .articles-featured-article-image {
    height: 550px;
  }
  
  .articles-featured-article-content {
    padding: var(--space-5) var(--space-4);
  }
  
  .articles-featured-title {
    font-size: var(--text-xl);
  }
  
  .articles-featured-tags .article-tag {
    font-size: var(--text-xs);
    padding: 0.7em 1.3em;
  }
}

@media (max-width: 680px) {
  .articles-featured-article-image {
    height: 520px;
  }
}

/* ====================== END FEATURED ARTICLE SECTION ====================== */

/* ====================== START - CONTACT PAGE CSS ====================== */

/* CONTACT SECTION LAYOUT */
.section-padding {
  padding: var(--space-8) var(--space-4);
}

.section-container {
  max-width: 900px;
  margin: 0 auto;
}

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

.section-header h1 {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin: 0 0 var(--space-2) 0;
  letter-spacing: -0.01em;
}

.section-header p {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin: 0 auto;
  max-width: 700px;
  line-height: 1.5;
}

/* CONTACT FORM */
.contact-form-container {
  background: var(--background-white);
  padding: var(--space-8);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-light);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: var(--text-primary);
}

.form-input {
  background-color: var(--background-light);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 0.9em 1.2em;
  font-size: var(--text-base);
  font-family: 'Inter', sans-serif;
  transition: all var(--transition-medium);
}

.form-input:focus {
  outline: none;
  border-color: var(--hc-yellow);
  box-shadow: 0 0 0 3px rgba(254, 192, 28, 0.2);
}

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

.form-button {
  background: var(--hc-yellow);
  color: var(--background-white);
  border: none;
  border-radius: 10px;
  font-size: var(--text-lg);
  font-weight: 700;
  padding: 1em 2em;
  cursor: pointer;
  transition: all var(--transition-medium);
  width: 100%;
}

.form-button:hover {
  background: var(--hc-yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* CONTACT MOBILE RESPONSIVENESS */
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-container {
    padding: var(--space-4);
    margin: 0 4px;
  }
  
  .section-padding {
    padding-left: 4px;
    padding-right: 4px;
  }
}

/* ====================== END - CONTACT PAGE CSS ====================== */

/* START POSTS CSS */

/* ========================= HERO / TOP SECTION (Posts only) ========================= */
.top-section-container { display: grid; grid-template-columns: 1fr 300px; gap: var(--space-4); max-width: 1200px; margin: 0 auto var(--space-4) auto; padding: 0 var(--space-4); align-items: stretch; min-height: 280px; animation: fadeInUp 0.8s ease-out 0.2s both; } /* :contentReference[oaicite:8]{index=8} */
.content-box { background: linear-gradient(135deg,#fff 0%,#fafbfc 100%); border-radius: 1.4rem; box-shadow: 0 8px 40px rgba(40,46,60,0.08); padding: var(--space-6) var(--space-5) var(--space-4) var(--space-5); display:flex; flex-direction:column; justify-content:center; border:1px solid rgba(254,192,28,0.1); position:relative; overflow:hidden; } /* :contentReference[oaicite:9]{index=9} */
.content-box::before { content:''; position:absolute; top:0; right:0; width:100px; height:100px; background:radial-gradient(circle, rgba(254,192,28,0.05) 0%, transparent 70%); border-radius:50%; transform:translate(30%,-30%); } /* :contentReference[oaicite:10]{index=10} */
.title-paint { font-size: var(--text-3xl); font-weight:700; margin:0 0 var(--space-3) 0; color:#18181b; line-height:1.2; text-shadow:0 1px 3px rgba(0,0,0,0.08); } /* :contentReference[oaicite:11]{index=11} */
.text-paint { font-size: var(--text-lg); color:#52525b; margin:0; line-height:1.6; font-weight:400; } /* :contentReference[oaicite:12]{index=12} */
.image-area { display:flex; align-items:center; justify-content:center; height:100%; transition: transform var(--transition-medium); } /* :contentReference[oaicite:13]{index=13} */
.image-area:hover { transform: scale(1.02); } /* :contentReference[oaicite:14]{index=14} */
.image-area svg { width:100%; max-width:300px; height:220px; border-radius:2rem; box-shadow:0 6px 30px rgba(254,192,28,0.15); display:block; background:linear-gradient(135deg,#fec01c 0%,#ffcd3c 100%); filter: drop-shadow(0 4px 20px rgba(254,192,28,0.2)); } /* :contentReference[oaicite:15]{index=15} */

@media (max-width: 900px) {
  .top-section-container { grid-template-columns:1fr; gap: var(--space-3); }
  .image-area { margin-top: var(--space-3); }
  .image-area svg { max-width:340px; height:170px; }
  .title-paint { font-size: var(--text-xl); }
} /* :contentReference[oaicite:16]{index=16} */
@media (max-width: 600px) {
  .top-section-container { padding: 0 var(--space-2); }
  .content-box { padding: var(--space-4) var(--space-3) var(--space-3) var(--space-3); }
  .title-paint { font-size: var(--text-lg); }
  .image-area svg { max-width:95vw; height:110px; }
} /* :contentReference[oaicite:17]{index=17} */

/* ========================= FEATURED POST (Posts only) ========================= */
.featured-post-outer { max-width:1200px; margin:0 auto var(--space-5) auto; padding:0 var(--space-4); animation: fadeInUp 0.8s ease-out 0.4s both; } /* :contentReference[oaicite:18]{index=18} */
.featured-post-card { display:flex; align-items:stretch; background:linear-gradient(135deg,#fffefa 0%,#fff9e6 100%); border-radius: var(--card-radius); box-shadow:0 6px 35px rgba(254,192,28,0.12); overflow:hidden; text-decoration:none; color:inherit; min-height:240px; transition:all var(--transition-medium); border:2px solid rgba(254,192,28,0.2); margin:0 auto; position:relative; background-clip: padding-box; } /* :contentReference[oaicite:19]{index=19} :contentReference[oaicite:20]{index=20} */
.featured-post-card:hover, .featured-post-card:focus { box-shadow:0 12px 50px rgba(254,192,28,0.25); background:linear-gradient(135deg,#fffbe7 0%,#fff6d6 100%); transform:translateY(-2px); border-color:rgba(254,192,28,0.4); } /* :contentReference[oaicite:21]{index=21} */
.featured-post-card::before { content:'Featured'; position:absolute; top:var(--space-3); left:var(--space-3); background:linear-gradient(135deg,#fec01c 0%,#ffcd3c 100%); color:#fff; font-size:var(--text-xs); font-weight:700; padding:0.4em 0.8em; border-radius:20px; z-index:3; box-shadow:0 2px 10px rgba(254,192,28,0.3); text-transform:uppercase; letter-spacing:0.5px; } /* :contentReference[oaicite:22]{index=22} */
.featured-post-image { flex:0 0 220px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#fffde0 0%,#fff8d0 100%); border-right:2px solid rgba(255,243,205,0.8); min-height:240px; position:relative; overflow:hidden; } /* :contentReference[oaicite:23]{index=23} */
.featured-post-image::before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 30% 30%, rgba(254,192,28,0.1) 0%, transparent 50%); pointer-events:none; } /* :contentReference[oaicite:24]{index=24} */
.featured-post-image svg { width:140px; height:105px; display:block; filter:drop-shadow(0 4px 15px rgba(254,192,28,0.2)); position:relative; z-index:2; } /* :contentReference[oaicite:25]{index=25} */
.featured-post-content { flex:1 1 0; padding:var(--space-6) var(--space-5); display:flex; flex-direction:column; justify-content:center; position:relative; } /* :contentReference[oaicite:26]{index=26} */
.featured-meta { font-size:var(--text-sm); color:#ba9204; margin-bottom:0.8em; letter-spacing:0.5px; font-weight:600; text-transform:uppercase; } /* :contentReference[oaicite:27]{index=27} */
.featured-title { font-size:var(--text-xl); font-weight:700; margin-bottom:0.7em; color:#18181b; line-height:1.3; text-shadow:0 1px 2px rgba(0,0,0,0.05); } /* :contentReference[oaicite:28]{index=28} */
.featured-excerpt { font-size:var(--text-base); color:#444; margin-bottom:var(--space-3); line-height:1.6; max-width:740px; font-weight:400; } /* :contentReference[oaicite:29]{index=29} */
.featured-tags { display:flex; gap:0.6em; flex-wrap:wrap; align-items:flex-end; min-height:2em; } /* :contentReference[oaicite:30]{index=30} */
.featured-tags .article-tag { background:linear-gradient(135deg,#fffde0 0%,#fff9d0 100%); color:#c89600; font-size:var(--text-sm); padding:0.5em 1em; font-weight:600; border-radius:25px; margin-bottom:2px; border:1.5px solid #fec01c; transition:all var(--transition-fast); cursor:pointer; } /* :contentReference[oaicite:31]{index=31} */
.featured-tags .article-tag:hover { background:linear-gradient(135deg,#fec01c 0%,#ffcd3c 100%); color:#fff; transform:translateY(-1px); box-shadow:0 4px 12px rgba(254,192,28,0.3); } /* :contentReference[oaicite:32]{index=32} */

@media (max-width: 900px) {
  .featured-post-card { flex-direction:column; min-height:unset; align-items:flex-start; }
  .featured-post-image { width:100%; min-height:140px; border-right:none; border-bottom:2px solid #fff3cd; justify-content:flex-start; padding-left:var(--space-3); }
  .featured-post-content { padding: var(--space-4) var(--space-3); }
  .featured-title { font-size: var(--text-lg); }
} /* :contentReference[oaicite:33]{index=33} */
@media (max-width: 600px) {
  .featured-post-outer { padding:0 var(--space-2); }
  .featured-post-image svg { width:88px; height:64px; }
  .featured-post-content { padding: var(--space-3) var(--space-2); }
} /* :contentReference[oaicite:34]{index=34} */

/* =========================== POSTS GRID & CARDS =========================== */
.posts-section { max-width:1200px; margin:0 auto var(--space-6) auto; padding:0 var(--space-4); animation: fadeInUp 0.8s ease-out 0.6s both; } /* :contentReference[oaicite:35]{index=35} */
.posts-grid { display:grid; grid-template-columns:repeat(3,1fr); gap: var(--space-5); } /* :contentReference[oaicite:36]{index=36} */
@media (max-width:1050px){ .posts-grid{ gap: var(--space-3);} } /* :contentReference[oaicite:37]{index=37} */
@media (max-width:850px){ .posts-grid{ grid-template-columns:1fr 1fr;} } /* :contentReference[oaicite:38]{index=38} */
@media (max-width:650px){ .posts-grid{ grid-template-columns:1fr; gap: var(--space-3);} .posts-section{ padding:0 var(--space-2);} } /* :contentReference[oaicite:39]{index=39} */

.post-card { background:linear-gradient(135deg,#fff 0%,#fafbfc 100%); border-radius: var(--card-radius); box-shadow: var(--card-shadow); display:flex; flex-direction:column; align-items:stretch; min-height:450px; max-height:450px; height:450px; overflow:hidden; padding-top: var(--space-3); position:relative; border:2px solid #f8f9fa; cursor:pointer; transition: all var(--transition-medium); background-image: radial-gradient(circle at 90% 10%, rgba(254,192,28,0.03) 0%, transparent 50%); } /* :contentReference[oaicite:40]{index=40} */
.post-card:hover, .post-card:focus-within { box-shadow: var(--card-shadow-hover); border:2px solid var(--hc-yellow); z-index:2; transform:translateY(-4px); background:linear-gradient(135deg,#fff 0%,#fffef8 100%); } /* :contentReference[oaicite:41]{index=41} */

.post-card-image { width:100%; min-height:180px; max-height:180px; background:#fff; display:flex; align-items:center; justify-content:center; border-bottom:1.5px solid #f3f4f6; overflow:hidden; position:relative; } /* :contentReference[oaicite:42]{index=42} */
.post-card-image::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg,transparent 0%, rgba(254,192,28,0.1) 100%); opacity:0; transition:opacity var(--transition-fast); } /* :contentReference[oaicite:43]{index=43} */
.post-card:hover .post-card-image::after { opacity:1; } /* :contentReference[oaicite:44]{index=44} */
.post-card-image img, .post-card-image svg { width:100%; height:100%; object-fit:contain; border-radius:0; display:block; background:#fff; transition: transform var(--transition-medium); } /* :contentReference[oaicite:45]{index=45} */
.post-card:hover .post-card-image img, .post-card:hover .post-card-image svg { transform: scale(1.05); } /* :contentReference[oaicite:46]{index=46} */

.post-card-content { flex:1 1 0; padding: var(--space-3); display:flex; flex-direction:column; justify-content:flex-start; min-width:0; height:100%; } /* :contentReference[oaicite:47]{index=47} */
.post-card-meta { font-size:var(--text-xs); color:#888; margin-bottom:0.6em; min-height:1.7em; letter-spacing:0.5px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; text-transform:uppercase; } /* :contentReference[oaicite:48]{index=48} */
.post-card-title { font-size:var(--text-lg); font-weight:700; margin:0 0 0.5rem 0; color:#18181b; line-height:1.3; display:block; text-decoration:none; transition: color var(--transition-fast); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-shadow:0 1px 2px rgba(0,0,0,0.05); } /* :contentReference[oaicite:49]{index=49} */
.post-card-title:hover, .post-card-title:focus { color:#c89600; text-decoration:none; } /* :contentReference[oaicite:50]{index=50} */
.post-card-excerpt { font-size:var(--text-sm); color:#555; margin:0 0 var(--space-2) 0; line-height:1.5; min-height:3.5em; max-height:3.5em; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; font-weight:400; } /* :contentReference[oaicite:51]{index=51} */
.post-card-tags { display:flex; gap:0.5em; flex-wrap:wrap; align-items:flex-end; min-height:2.5em; margin-top:auto; } /* :contentReference[oaicite:52]{index=52} */
.article-tag { font-size:var(--text-xs); background:linear-gradient(135deg,#f8f9fa 0%,#f1f3f4 100%); color:#444; border-radius:20px; padding:0.4em 0.8em; font-weight:500; cursor:pointer; text-decoration:none; transition:all var(--transition-fast); border:1px solid #e9ecef; } /* :contentReference[oaicite:53]{index=53} */
.article-tag:hover, .article-tag:focus { background:linear-gradient(135deg,#fec01c 0%,#ffcd3c 100%); color:#fff; border-color:#fec01c; transform:translateY(-1px); box-shadow:0 2px 8px rgba(254,192,28,0.3); } /* :contentReference[oaicite:54]{index=54} */

@media (max-width:650px){
  .post-card { min-height:380px; max-height:380px; height:380px; }
  .post-card-image { min-height:140px; max-height:140px; }
  .post-card-content { padding: var(--space-3) var(--space-2); }
} /* :contentReference[oaicite:55]{index=55} */

/* ====================== POSTS PAGINATION (dots & arrows) ====================== */
.articles-page-nav { width:48px; height:48px; border-radius:12px; border:2px solid #e5e7eb; background:linear-gradient(135deg,#fafbfc 0%,#f8f9fa 100%); font-size:1.5rem; color:#374151; display:flex; align-items:center; justify-content:center; margin:0 var(--space-1); cursor:pointer; transition:all var(--transition-medium); box-shadow:0 2px 8px rgba(40,46,60,0.06); } /* :contentReference[oaicite:56]{index=56} */
.articles-page-nav:hover:not(:disabled){ border-color:var(--hc-yellow); background:linear-gradient(135deg,#fffef8 0%,#fffbea 100%); color:#c89600; transform:translateY(-1px); box-shadow:0 4px 16px rgba(254,192,28,0.2);} /* :contentReference[oaicite:57]{index=57} */
.articles-page-nav:disabled { color:#d1d5db; border-color:#f3f4f6; cursor:default; background:#f9fafb; opacity:0.6; } /* :contentReference[oaicite:58]{index=58} */
.articles-page-nav:focus { border-color:#fec01c; outline:none; box-shadow:0 0 0 3px rgba(254,192,28,0.2); } /* :contentReference[oaicite:59]{index=59} */

.articles-page-dot { width:14px; height:14px; border-radius:50%; display:inline-block; margin:0 6px; background:linear-gradient(135deg,#e5e7eb 0%,#d1d5db 100%); transition: all var(--transition-medium); border:2px solid #e5e7eb; vertical-align:middle; cursor:pointer; } /* :contentReference[oaicite:60]{index=60} */
.articles-page-dot:hover { background:linear-gradient(135deg,#fde68a 0%,#fbbf24 100%); border-color:#f59e0b; transform:scale(1.1); } /* :contentReference[oaicite:61]{index=61} */
.articles-page-dot.active { background:linear-gradient(135deg,#fec01c 0%,#f59e0b 100%); border:2px solid #d97706; box-shadow:0 3px 12px rgba(254,192,28,0.4); transform:scale(1.15); } /* :contentReference[oaicite:62]{index=62} */

/* ====================== PROMO (What's Hot) ====================== */
.promo-default-section { max-width:1200px; margin: var(--space-6) auto 0 auto; padding:0 var(--space-4) var(--space-4) var(--space-4); animation: fadeInUp 0.8s ease-out 0.8s both; } /* :contentReference[oaicite:63]{index=63} */
.promo-default-title { font-size:var(--text-xl); font-weight:700; margin-bottom:var(--space-4); color:#c89600; letter-spacing:0.5px; text-transform:uppercase; text-shadow:0 1px 2px rgba(200,150,0,0.1); position:relative; } /* :contentReference[oaicite:64]{index=64} */
.promo-default-title::after { content:''; position:absolute; bottom:-8px; left:0; width:60px; height:3px; background:linear-gradient(90deg,#fec01c 0%,#f59e0b 100%); border-radius:2px; } /* :contentReference[oaicite:65]{index=65} */
.promo-default-grid { display:grid; grid-template-columns:repeat(3,1fr); gap: var(--space-5); } /* :contentReference[oaicite:66]{index=66} */
.promo-badge { display:inline-block; background:linear-gradient(135deg,#fec01c 0%,#f59e0b 100%); color:#fff; font-weight:700; font-size:var(--text-xs); border-radius:20px; padding:0.4em 1em; margin-right:0.3em; margin-bottom:0.8em; box-shadow:0 3px 12px rgba(254,192,28,0.3); letter-spacing:0.5px; text-transform:uppercase; animation:pulse 2s infinite; position:relative; overflow:hidden; } /* :contentReference[oaicite:67]{index=67} */
.promo-badge::before { content:''; position:absolute; top:0; left:-100%; width:100%; height:100%; background:linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%); animation: shimmer 2s infinite; } /* :contentReference[oaicite:68]{index=68} */

@media (max-width:900px){ .promo-default-grid{ grid-template-columns:1fr 1fr; } } /* :contentReference[oaicite:69]{index=69} */
@media (max-width:650px){ .promo-default-section{ padding:0 var(--space-2) var(--space-4) var(--space-2);} .promo-default-grid{ grid-template-columns:1fr; } } /* :contentReference[oaicite:70]{index=70} */

/* ====================== RELATED (Filter/Search & Library) ====================== */
.related-section { max-width:1200px; margin: var(--space-6) auto 0 auto; padding:0 var(--space-4) var(--space-4) var(--space-4); background:linear-gradient(135deg,#fff 0%,#fafbfc 100%); border-radius: var(--space-3); box-shadow:0 4px 20px rgba(40,46,60,0.08); border:1px solid rgba(254,192,28,0.1); animation: fadeInUp 0.8s ease-out 1s both; } /* :contentReference[oaicite:71]{index=71} */
.related-controls { display:flex; flex-wrap:wrap; align-items:center; gap: var(--space-2); margin-bottom: var(--space-3); padding: var(--space-3) 0; border-bottom:1px solid rgba(254,192,28,0.1); } /* :contentReference[oaicite:72]{index=72} */
.related-selected-tags { display:flex; gap:0.6em; flex-wrap:wrap; } /* :contentReference[oaicite:73]{index=73} */
.related-selected-tag { background:linear-gradient(135deg,#fffbe0 0%,#fff9d0 100%); color:#c89600; border:2px solid #fec01c; border-radius:25px; padding:0.5em 1em; font-weight:600; font-size:var(--text-sm); display:flex; align-items:center; cursor:pointer; transition:all var(--transition-fast); box-shadow:0 2px 8px rgba(254,192,28,0.15); } /* :contentReference[oaicite:74]{index=74} */
.related-selected-tag:hover { background:linear-gradient(135deg,#fec01c 0%,#f59e0b 100%); color:#fff; transform:translateY(-1px); box-shadow:0 4px 12px rgba(254,192,28,0.3); } /* :contentReference[oaicite:75]{index=75} */
.related-selected-tag .tag-x { font-weight:800; margin-left:0.7em; color:#b78600; cursor:pointer; font-size:1.1em; transition:color var(--transition-fast); } /* :contentReference[oaicite:76]{index=76} */
.related-selected-tag:hover .tag-x { color:#fff; } /* :contentReference[oaicite:77]{index=77} */
.related-unselect-all { background:linear-gradient(135deg,#ffe18a 0%,#fbbf24 100%); color:#c89600; border:none; border-radius:25px; padding:0.5em 1.5em; font-weight:700; font-size:var(--text-sm); margin-left:0.8em; cursor:pointer; transition:all var(--transition-fast); box-shadow:0 2px 8px rgba(254,192,28,0.2); } /* :contentReference[oaicite:78]{index=78} */
.related-unselect-all:hover { background:linear-gradient(135deg,#fec01c 0%,#f59e0b 100%); color:#fff; transform:translateY(-1px); } /* :contentReference[oaicite:79]{index=79} */

.related-grid, .related-welcome-grid { display:grid; grid-template-columns:repeat(3,1fr); gap: var(--space-5); margin-bottom: var(--space-3); } /* :contentReference[oaicite:80]{index=80} */
.related-card { background:linear-gradient(135deg,#fff 0%,#fafbfc 100%); border-radius: var(--card-radius); box-shadow: var(--card-shadow); display:flex; flex-direction:column; align-items:stretch; min-height:450px; } /* :contentReference[oaicite:81]{index=81} */
.related-card-image { width:100%; min-height:180px; max-height:180px; background:#fff; display:flex; align-items:center; justify-content:center; border-bottom:1.5px solid #f3f4f6; overflow:hidden; position:relative; } /* mirrors post-card-image */
.related-card-content { display:flex; flex-direction:column; justify-content:space-between; height:100%; padding: var(--space-3); }
.related-card-meta { font-size:var(--text-xs); color:#888; letter-spacing:0.5px; font-weight:600; text-transform:uppercase; margin-bottom:0.6em; }
.related-card-title { font-size:var(--text-lg); font-weight:700; color:#18181b; text-decoration:none; display:block; margin-bottom:0.5rem; }
.related-card-excerpt { font-size:var(--text-sm); color:#555; line-height:1.5; }
.related-card-tags { display:flex; gap:0.5em; flex-wrap:wrap; margin-top:auto; }
.related-card-tag { background:linear-gradient(135deg,#f8f9fa 0%,#f1f3f4 100%); color:#444; border:1px solid #e9ecef; border-radius:20px; padding:0.35em 0.7em; font-size:var(--text-xs); } /* classes produced by JS */ /* :contentReference[oaicite:82]{index=82} */

.related-section-welcome .related-library-card { background:linear-gradient(135deg,#fffefa 0%,#fff6e6 100%); border-radius: var(--space-3); box-shadow:0 6px 30px rgba(254,192,28,0.15); padding: var(--space-6) var(--space-5) var(--space-4) var(--space-5); margin:0 auto var(--space-4) auto; max-width:100%; text-align:left; border:2px solid rgba(254,192,28,0.2); position:relative; overflow:hidden; } /* :contentReference[oaicite:83]{index=83} */
.related-section-title { font-size:var(--text-xl); font-weight:700; margin-bottom:0.8em; color:#18181b; text-shadow:0 1px 2px rgba(0,0,0,0.05); position:relative; z-index:2; } /* :contentReference[oaicite:84]{index=84} */
.related-section-intro { font-size:var(--text-base); margin-bottom:0.6em; color:#52525b; line-height:1.6; font-weight:400; position:relative; z-index:2; } /* :contentReference[oaicite:85]{index=85} */
.related-section-intro-highlight { color:#c89600; font-weight:600; background:linear-gradient(135deg, rgba(254,192,28,0.1) 0%, rgba(254,192,28,0.05) 100%); padding:0.2em 0.4em; border-radius:6px; } /* :contentReference[oaicite:86]{index=86} */

@media (max-width:900px){ .related-grid,.related-welcome-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:650px){ .related-grid,.related-welcome-grid{ grid-template-columns:1fr; } }

/* ====================== LOADING STATES (skeletons) ====================== */
.loading-skeleton { background:linear-gradient(90deg,#f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size:200px 100%; animation: shimmer 1.5s infinite; } /* :contentReference[oaicite:87]{index=87} */
.post-card.loading { pointer-events:none; }
.post-card.loading .post-card-image { background:#f0f0f0; } /* :contentReference[oaicite:88]{index=88} */

/* 1) Kill fixed heights that cause clipping */
.post-card,
.post-card-image {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

/* 2) Make cards auto-size while still aligning bottoms */
.post-card {
  display: flex;
  flex-direction: column;
}

/* 3) Predictable media area using aspect-ratio (no hard pixel height) */
.post-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

/* 4) Images scale correctly */
.post-card-image img,
.post-card-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 5) Content area grows naturally, keeps padding, avoids overflow */
.post-card-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1 1 auto;
  min-width: 0; /* enables text-overflow ellipsis */
}

/* 6) Title/excerpt clamp for consistent card heights without hard caps */
.post-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;         /* 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.post-card-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;         /* 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

/* 7) Mobile tightening (optional, minimal) */
@media (max-width: 650px) {
  .posts-grid { gap: var(--space-3, 16px); }
}

/* START LIBRARY FIX (posts page only, container normalization) */
:where(.related-section, .related-section-welcome, .related-library) {
  /* Constrain and center */
  max-width: 1200px !important;
  width: min(100% - 2rem, 1200px) !important;
  margin-inline: auto !important;

  /* Keep normal spacing, avoid edge-to-edge look */
  padding-inline: 1rem !important;

  /* Ensure no accidental full-bleed or shifted positioning */
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

/* If your Library has an inner card/banner (that pale box), keep it inside too */
:where(.related-section-welcome .related-library-card, .library-hero, .library-banner) {
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: clamp(12px, 2.5vw, 20px) !important;
  border-radius: inherit;
  overflow: visible;
}

/* Library grids stay tidy on all breakpoints */
:where(.related-grid, .related-welcome-grid) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Guard against global image/container rules forcing heights here */
:where(.related-card, .related-card-image) {
  height: auto;
  min-height: 0;
  max-height: none;
  overflow: visible;
}

/* Posts PAGE START CHANGES */

/* Posts page specific container */
.posts-hero-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 400px;
}

/* Posts page content section */
.posts-content-section {
  flex: 1;
  max-width: 600px;
}

.posts-main-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.posts-description-text {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #4a5568;
  line-height: 1.6;
  max-width: 500px;
}

/* Posts page image section */
.posts-hero-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
}

.posts-hero-image-container img {
  width: 100%;
  height: auto;
  max-width: 500px;
  object-fit: contain;

}

/* Posts page tablet styles */
@media (max-width: 1024px) {
  .posts-hero-wrapper {
      padding: 1.5rem 1rem;
      gap: 1.5rem;
  }
  
  .posts-hero-image-container {
      max-width: 400px;
  }
}

/* Posts page mobile styles */
@media (max-width: 768px) {
  .posts-hero-wrapper {
      flex-direction: column;
      text-align: center;
      padding: 1rem;
      gap: 1.5rem;
      min-height: auto;
  }

  .posts-content-section {
      max-width: 100%;
  }

  .posts-description-text {
      max-width: 100%;
  }

  .posts-hero-image-container {
      order: -1; /* Move image above text on mobile */
      max-width: 350px;
  }

  .posts-hero-image-container img {
      max-width: 300px;
  }
}

/* Posts page small mobile styles */
@media (max-width: 480px) {
  .posts-hero-wrapper {
      padding: 0.5rem;
  }

  .posts-hero-image-container {
      max-width: 280px;
  }

  .posts-hero-image-container img {
      max-width: 250px;
  }
}

/* Posts page overflow prevention */
.posts-hero-wrapper,
.posts-content-section,
.posts-hero-image-container {
  overflow: hidden;
}

/* Posts page image overflow safety */
.posts-hero-image-container img {
  max-width: min(100%, 400px);
}
/* END POSTS PAGE CSS */
