/*
Theme Name: Small Business Theme Template
Theme URI: 
Author: Rothirsch Tech. GmbH
Author URI: https://www.rothirsch.tech
Description: A premium, professional WordPress theme for small businesses featuring glass morphism design, luxury color schemes, advanced typography with Google Fonts (Inter, Playfair Display, Space Grotesk), premium animations, and sophisticated UI components. Includes 9 stunning color schemes with automatic dark mode, 4 landing page layouts, and modern responsive design that creates an expensive, high-end appearance while remaining accessible for small businesses.
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.1
Version: 2.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rtsb-theme
Domain Path: /languages
Tags: modern, business, premium, luxury, gradient, animated, glass-morphism, professional, responsive, typography, dark-mode, translation-ready
*/

/* CSS Custom Properties for WCAG-Compliant Theme */
:root {
  --border-radius: 8px;
  --border-radius-sm: 6px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Advanced Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Typography Scale */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  
  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 2;
  
  /* Letter Spacing */
  --letter-spacing-tight: -0.025em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.025em;
  --letter-spacing-wider: 0.05em;
  --letter-spacing-widest: 0.1em;
  
  /* Advanced Spacing System */
  --section-padding: var(--space-4xl);
  --content-max-width: 1200px;
  --content-narrow: 800px;
  --content-wide: 1400px;
  
  /* Responsive Breakpoints */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
}

/* Default (Blue) - Light Mode */
:root {
  --primary-color: #1e3a8a;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --success-color: #059669;
  --warning-color: #d97706;
  --error-color: #dc2626;
  --text-primary: #1e3a8a;
  --text-secondary: #1e40af;
  --text-muted: #6b7280;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #e2e8f0;
  --gray-200: #cbd5e1;
  --gray-300: #94a3b8;
  --shadow-sm: 0 1px 3px rgba(30, 58, 138, 0.1);
  --shadow-md: 0 4px 6px rgba(30, 58, 138, 0.1);
  --shadow-lg: 0 10px 15px rgba(30, 58, 138, 0.1);
  --focus-ring: 0 0 0 3px rgba(59, 130, 246, 0.1);
  
  /* Text on colored backgrounds */
  --text-on-primary: #ffffff;
  --text-on-secondary: #ffffff;
  --text-on-accent: #ffffff;
}

/* Default (Blue) - Dark Mode */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-color: #4f8ff7;
    --secondary-color: #3b7ee8;
    --accent-color: #6ba5fa;
    --success-color: #34d399;
    --warning-color: #fbbf24;
    --error-color: #f87171;
    --text-primary: #f8fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #a0aec0;
    --white: #4a5568;
    --gray-50: #2d3748;
    --gray-100: #374151;
    --gray-200: #4a5568;
    --gray-300: #5a6a7a;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.20);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.25);
    --focus-ring: 0 0 0 3px rgba(107, 165, 250, 0.30);
    
    /* Text on colored backgrounds */
    --text-on-primary: #ffffff;
    --text-on-secondary: #ffffff;
    --text-on-accent: #ffffff;
  }
  
  body {
    background: #2d3748;
  }
  
  /* Force white text on default theme in dark mode */
  :root h1, :root h2, :root h3, :root h4, :root h5, :root h6,
  body h1, body h2, body h3, body h4, body h5, body h6,
  body .entry-content, body .content-card, body .entry-title,
  body .hero-title, body .hero-subtitle,
  body .contact-focus h2, body .contact-focus h3,
  body .services-focus h2, body .services-focus h3,
  body .content-minimal h1, body .content-minimal h2, body .content-minimal h3 {
    color: #ffffff !important;
  }
  
  body .entry-content p, body .content-card p, body p,
  body .contact-focus p, body .services-focus p,
  body .content-minimal p, body .hero-content p,
  body span, body div {
    color: #f1f5f9 !important;
  }
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gray-50);
  color: var(--text-primary);
  line-height: var(--line-height-relaxed);
  font-size: var(--font-size-lg);
  font-weight: 400;
  letter-spacing: var(--letter-spacing-normal);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global heading styles with premium typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  margin: 0 0 var(--space-lg) 0;
}

/* Hero and display headings use Playfair Display for elegance */
.hero-title,
.display-heading,
h1.display {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  letter-spacing: var(--letter-spacing-tight);
}

/* Typography scale for headings */
h1 { 
  font-size: var(--font-size-5xl); 
  font-weight: 700;
}

h2 { 
  font-size: var(--font-size-4xl); 
  font-weight: 600;
}

h3 { 
  font-size: var(--font-size-3xl); 
  font-weight: 600;
}

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

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

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


/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =============================================================================
   Cookie Consent Banner Styles
   ============================================================================= */

/* Cookie Banner - Base Styles */
.bcc-banner {
  position: fixed;
  left: 0; 
  right: 0; 
  bottom: 0;
  z-index: 99999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--gray-200);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  transition: var(--transition);
}

.bcc-banner .bcc-content {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-lg);
  align-items: center;
}

.bcc-banner .bcc-content > div:first-child {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.bcc-banner .bcc-badgelike {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: var(--primary-color);
  color: var(--text-on-primary);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.bcc-banner span {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

.bcc-banner .bcc-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Cookie Banner Buttons */
.bcc-btn {
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

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

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

.bcc-btn-primary {
  background: var(--primary-color);
  color: var(--text-on-primary);
  border-color: var(--primary-color);
}

.bcc-btn-primary:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.bcc-btn-secondary {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--gray-200);
}

.bcc-btn-secondary:hover {
  background: var(--gray-100);
  color: var(--text-primary);
}

.bcc-btn:not(.bcc-btn-primary):not(.bcc-btn-secondary) {
  background: transparent;
  color: var(--text-muted);
  text-decoration: underline;
}

.bcc-btn:not(.bcc-btn-primary):not(.bcc-btn-secondary):hover {
  color: var(--text-secondary);
}

/* Cookie Modal/Panel */
.bcc-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  z-index: 100000;
  padding: var(--space-lg);
}

.bcc-modal {
  background: var(--white);
  color: var(--text-primary);
  max-width: 600px;
  margin: 10vh auto;
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.bcc-modal h3 {
  margin: 0 0 var(--space-lg) 0;
  color: var(--text-primary);
  font-family: 'Playfair Display', serif;
  font-size: var(--font-size-2xl);
  font-weight: 600;
}

/* Cookie Toggles */
.bcc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--gray-200);
}

.bcc-toggle:last-of-type {
  border-bottom: none;
}

.bcc-toggle > div {
  flex: 1;
  margin-right: var(--space-lg);
}

.bcc-toggle strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.bcc-toggle small {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}

.bcc-toggle label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.bcc-toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius-sm);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.bcc-toggle input[type="checkbox"]:checked {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.bcc-toggle input[type="checkbox"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Modal Actions */
.bcc-modal > div:last-child {
  margin-top: var(--space-xl);
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-end;
}

/* Manage Link */
.bcc-manage-link {
  background: none;
  border: none;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font-size: var(--font-size-sm);
  transition: var(--transition);
}

.bcc-manage-link:hover {
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .bcc-banner .bcc-content {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .bcc-banner .bcc-actions {
    justify-content: center;
  }
  
  .bcc-modal {
    margin: 5vh auto;
    padding: var(--space-lg);
    max-width: calc(100vw - 2rem);
  }
  
  .bcc-toggle {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
  
  .bcc-toggle > div {
    margin-right: 0;
  }
  
  .bcc-modal > div:last-child {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .bcc-banner .bcc-actions {
    flex-direction: column;
  }
  
  .bcc-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Accessible Header Styling */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  margin-bottom: 2rem;
}

/* Hide hamburger menu on desktop */
.hamburger-menu {
  display: none;
}

.site-branding h1 {
  margin: 0;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--primary-color);
  letter-spacing: -0.01em;
}

.site-branding h1 a {
  color: var(--primary-color);
  text-decoration: none;
}

.site-branding h1 a:hover {
  color: var(--accent-color);
}

.site-branding p {
  margin: 0.25rem 0 0 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Custom logo styling with fixed height */
.custom-logo-link {
  display: block;
  line-height: 1;
}

.custom-logo {
  height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
}

.site-nav li {
  margin: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 2px solid transparent;
  display: block;
}

.site-nav a:hover {
  background: var(--gray-100);
  color: var(--accent-color);
}

.site-nav a:focus {
  outline: none;
  box-shadow: var(--focus-ring);
  border-color: var(--accent-color);
}

/* Accessible Main Content Area */
.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Premium Hero Section with Gradients and Modern Design */
.hero-section,
.hero-minimal,
.hero-services,
.hero-contact {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
  color: var(--text-on-primary);
  padding: var(--space-4xl) 0;
  text-align: center;
  margin: 0 0 var(--space-3xl) 0;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Add subtle animated background pattern */
.hero-section::before,
.hero-minimal::before,
.hero-services::before,
.hero-contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

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

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: var(--font-size-6xl);
  font-weight: 600;
  margin: 0 0 var(--space-lg) 0;
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: var(--font-size-xl);
  margin: 0 0 var(--space-xl) 0;
  font-weight: 400;
  line-height: var(--line-height-relaxed);
  letter-spacing: var(--letter-spacing-wide);
  opacity: 0.95;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-subtitle-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
  transition: var(--transition);
}

.hero-subtitle-link:hover {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.125em;
}

.hero-subtitle-link:focus {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 4px;
  border-radius: 4px;
}

.hero-phone,
.hero-email {
  font-size: var(--font-size-lg);
  margin: var(--space-lg) 0 0 0;
  font-weight: 500;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-phone-link,
.hero-email-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: inherit;
  text-decoration: none;
  padding: var(--space-lg) var(--space-xl);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  font-weight: 600;
  letter-spacing: var(--letter-spacing-wide);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.hero-phone-link::before,
.hero-email-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.hero-phone-link:hover::before,
.hero-email-link:hover::before {
  left: 100%;
}

.hero-phone-link:hover,
.hero-email-link:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 8px 15px rgba(0, 0, 0, 0.15);
}

.hero-phone-link:focus,
.hero-email-link:focus {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 4px;
  border-radius: var(--border-radius-lg);
}

.hero-phone-icon,
.hero-email-icon {
  font-size: 1.25em;
  opacity: 0.9;
  margin-right: 0.5rem;
  display: inline-block;
}

@media (max-width: 768px) {
  .hero-phone,
  .hero-email {
    font-size: 1rem;
  }
  
  .hero-phone-link,
  .hero-email-link {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* Premium Glass Morphism Content Cards */
.content-card {
  background: var(--white);
  backdrop-filter: blur(20px);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  transition: var(--transition);
  border-left: 4px solid var(--accent-color);
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.6s ease-out;
}

.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-300), transparent);
  opacity: 0.6;
}

.content-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px) scale(1.02);
  border-color: var(--gray-300);
}

.content-card:focus-within {
  box-shadow: var(--focus-ring), var(--shadow-lg);
  transform: translateY(-4px);
}

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

.content-card {
  color: var(--text-primary);
}

.content-card h1,
.content-card h2,
.content-card h3,
.content-card h4,
.content-card h5,
.content-card h6 {
  margin-top: 0;
  margin-bottom: var(--space-lg);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  color: var(--text-primary);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
}

.content-card h1 { font-size: var(--font-size-4xl); }
.content-card h2 { font-size: var(--font-size-3xl); }
.content-card h3 { font-size: var(--font-size-2xl); }
.content-card h4 { font-size: var(--font-size-xl); }
.content-card h5 { font-size: var(--font-size-lg); }
.content-card h6 { font-size: var(--font-size-base); }

.content-card p {
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--text-secondary);
  letter-spacing: var(--letter-spacing-normal);
}

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

.content-card em {
  color: var(--text-secondary);
  font-style: italic;
}

.content-card ul,
.content-card ol {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

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

.entry-header h1, 
.entry-header h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 2rem;
  color: var(--text-primary);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.entry-content {
  color: var(--text-primary);
}

.entry-content p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 1.5rem 0 1rem 0;
}

.entry-content h1:first-child,
.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content h4:first-child,
.entry-content h5:first-child,
.entry-content h6:first-child {
  margin-top: 0;
}

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

.entry-content em {
  color: var(--text-secondary);
  font-style: italic;
}

.entry-content ul,
.entry-content ol {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

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

.entry-content blockquote {
  border-left: 4px solid var(--accent-color);
  margin-left: 0;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  font-style: italic;
}

.entry-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 400;
}

/* Accessible Link Styling */
a {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 0.125em;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
  text-decoration-thickness: 2px;
}

a:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Accessible Blog Post List - Responsive Grid Layout */
.post-list {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

/* Tablet - 2 columns */
@media (min-width: 768px) {
  .post-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop - 3 columns */
@media (min-width: 1200px) {
  .post-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-list > article {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  margin-bottom: 0;
  transition: var(--transition);
  border-left: 4px solid var(--success-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.post-list > article:hover {
  box-shadow: var(--shadow-md);
}

.post-list > article:focus-within {
  box-shadow: var(--focus-ring), var(--shadow-md);
}

/* Premium Button Styles with Glass Morphism */
.btn, 
button[type="submit"], 
input[type="submit"] {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  color: var(--text-on-accent);
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  font-size: var(--font-size-base);
  font-family: 'Inter', sans-serif;
  letter-spacing: var(--letter-spacing-wide);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  min-height: 44px;
  min-width: 44px;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.15), 
    0 4px 10px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.btn::before, 
button[type="submit"]::before, 
input[type="submit"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before,
button[type="submit"]:hover::before,
input[type="submit"]:hover::before {
  left: 100%;
}

.btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text-on-primary);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.2), 
    0 8px 15px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn:focus,
button[type="submit"]:focus,
input[type="submit"]:focus {
  outline: none;
  box-shadow: var(--focus-ring), 
    0 8px 25px rgba(0, 0, 0, 0.15), 
    0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Premium Button Variants */
.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* ========== MOBILE-FIRST RESPONSIVE DESIGN ========== */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
  .hero-title {
    font-size: var(--font-size-5xl);
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    padding: 0 var(--space-md);
  }
  
  .content-card {
    padding: var(--space-xl);
  }
}

/* Tablets - Professional Layout */
@media (max-width: 768px) {
  :root {
    --space-4xl: 2rem;
    --section-padding: 1rem;
  }
  
  body {
    font-size: var(--font-size-base);
    margin: 0;
    padding: 0;
    width: 100%;
  }
  
  /* Compact professional header */
  .site-header {
    padding: var(--space-sm) var(--space-xs);
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
    min-height: 60px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .site-branding h1 {
    font-size: var(--font-size-lg);
    margin: 0;
  }
  
  /* Horizontal navigation on tablets */
  .site-nav ul {
    gap: var(--space-xs);
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  
  .site-nav a {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-size-xs);
  }
  
  .hero-title {
    font-size: var(--font-size-4xl);
    line-height: 1.1;
    margin-bottom: var(--space-md);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-lg);
  }
  
  .hero-section,
  .hero-minimal,
  .hero-services,
  .hero-contact {
    padding: var(--space-xl) var(--space-sm);
    min-height: 60vh;
    margin-bottom: var(--space-md);
  }
  
  .hero-content {
    padding: 0 var(--space-sm);
    max-width: none;
  }
  
  .content-card {
    padding: var(--space-lg) var(--space-sm);
    margin: 0 0 var(--space-md) 0;
    border-radius: var(--border-radius-sm);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: 0 var(--space-sm);
  }
  
  .site-main {
    padding: 0;
    width: 100%;
  }
}

/* Mobile Phones - Professional Full-Screen Layout */
@media (max-width: 640px) {
  :root {
    --space-4xl: 1rem;
    --section-padding: 0;
  }
  
  /* Full-screen mobile setup */
  html, body {
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
    font-size: var(--font-size-sm);
    position: relative;
    left: 0;
  }
  
  /* Force all elements to break out of container constraints */
  body * {
    max-width: none !important;
  }
  
  /* Ensure no WordPress theme containers interfere */
  .wp-site-blocks,
  .alignwide,
  .alignfull,
  .wp-block-group,
  .entry-content {
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  /* Ultra-compact professional mobile header */
  .site-header {
    padding: var(--space-sm) var(--space-xs);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xs);
    min-height: auto;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    left: 0;
  }
  
  /* Hamburger menu button */
  .hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }
  
  .hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 2px 0;
    transition: 0.3s ease;
    border-radius: 3px;
  }
  
  /* Hamburger animation when active */
  .hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  /* Add spacing after sticky header */
  .site-header + * {
    margin-top: var(--space-xl) !important;
    padding-top: var(--space-lg) !important;
  }
  
  .site-branding {
    text-align: center;
    padding: var(--space-sm) 0;
  }
  
  .site-branding h1 {
    font-size: var(--font-size-lg);
    margin: 0;
    font-weight: 600;
  }
  
  /* Mobile navigation - hidden by default */
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  
  /* Show navigation when hamburger is active */
  .site-nav.active {
    display: block;
  }
  
  .site-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: var(--space-sm);
    margin: 0;
  }
  
  .site-nav li {
    border-bottom: 1px solid var(--gray-100);
  }
  
  .site-nav li:last-child {
    border-bottom: none;
  }
  
  .site-nav a {
    display: block;
    padding: var(--space-md) var(--space-sm);
    font-size: var(--font-size-base);
    text-align: left;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-radius: 0;
    border: none;
    background: transparent;
    font-weight: 500;
  }
  
  .site-nav a:hover,
  .site-nav a:focus {
    background: var(--gray-50);
    color: var(--accent-color);
  }
  
  .site-nav a:hover,
  .site-nav a:focus {
    background: var(--accent-color);
    color: var(--text-on-accent);
  }
  
  /* Full-viewport hero sections */
  .hero-section,
  .hero-minimal,
  .hero-services,
  .hero-contact {
    width: 100vw;
    margin: 0;
    margin-left: calc(-50vw + 50%);
    padding: var(--space-2xl) var(--space-sm);
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
    left: 0;
  }
  
  .hero-content {
    width: 100%;
    padding: 0;
    text-align: center;
  }
  
  .hero-title {
    font-size: var(--font-size-4xl);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 0;
    font-weight: 700;
  }
  
  .hero-subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-xl);
    line-height: 1.4;
    padding: 0;
    opacity: 0.95;
  }
  
  /* Full-width professional content sections */
  .site-main {
    width: 100vw;
    margin: 0;
    margin-left: calc(-50vw + 50%);
    padding: 0;
    padding-top: var(--space-2xl);
    box-sizing: border-box;
    position: relative;
    left: 0;
  }
  
  .content-section,
  .services-focus,
  .contact-focus,
  .content-minimal {
    width: 100vw;
    margin: 0;
    margin-left: calc(-50vw + 50%);
    padding: var(--space-lg) 0;
    box-sizing: border-box;
    position: relative;
    left: 0;
  }
  
  /* Full-width content cards */
  .content-card {
    width: 100vw;
    padding: var(--space-xl) var(--space-md) var(--space-xl) var(--space-md);
    margin: 0;
    margin-left: calc(-50vw + 50%);
    border-radius: 0;
    border-left: 4px solid var(--accent-color);
    border-bottom: 1px solid var(--gray-200);
    box-sizing: border-box;
    background: var(--white);
    position: relative;
    left: 0;
    box-shadow: var(--shadow-sm);
  }
  
  .content-card h1,
  .content-card h2 {
    font-size: var(--font-size-2xl);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
  }
  
  .content-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
  }
  
  .content-card p {
    margin-bottom: var(--space-sm);
    line-height: 1.5;
  }
  
  /* Mobile-optimized buttons */
  .hero-phone-link,
  .hero-email-link {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-sm);
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .btn, 
  button[type="submit"], 
  input[type="submit"] {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-sm);
    min-height: 48px;
    width: 100%;
    margin-bottom: var(--space-sm);
  }
  
  /* Full-width mobile services grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  
  .service-card {
    padding: var(--space-lg) var(--space-sm);
    margin: 0 var(--space-xs) var(--space-md) var(--space-xs);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--accent-color);
    border-bottom: 1px solid var(--gray-200);
    width: calc(100% - var(--space-sm));
    box-sizing: border-box;
    background: var(--white);
    box-shadow: var(--shadow-sm);
  }
  
  .service-card h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-sm);
    text-align: left;
  }
  
  .service-card p {
    text-align: left;
    line-height: 1.5;
  }
  
  /* Full-width mobile site layout */
  .site-main {
    padding: 0;
    max-width: none;
    margin: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }
  
  /* Fix nested site-main containers */
  .site-main .site-main {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0;
    max-width: none;
  }
  
  /* Full-width mobile contact layout */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    margin: 0;
    width: 100%;
  }
  
  .contact-info {
    order: 2;
    padding: var(--space-lg) var(--space-sm);
    background: transparent;
    border-radius: 0;
  }
  
  .contact-content {
    order: 1;
    padding: var(--space-lg) var(--space-sm);
    margin-bottom: 0;
    border-bottom: 1px solid var(--gray-200);
  }
  
  .contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-sm);
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--accent-color);
    margin: 0 var(--space-xs) var(--space-xs) var(--space-xs);
    min-height: 60px;
    width: calc(100% - var(--space-sm));
    box-sizing: border-box;
    box-shadow: var(--shadow-sm);
  }
  
  .contact-icon {
    font-size: var(--font-size-lg);
    flex-shrink: 0;
  }
  
  .contact-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    flex: 1;
    padding: var(--space-xs) 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .contact-link:hover,
  .contact-link:focus {
    color: var(--primary-color);
    text-decoration: underline;
  }
  
  .contact-address {
    line-height: 1.4;
  }
  
  /* Full-width mobile CTA */
  .contact-cta {
    text-align: center;
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--accent-color);
    padding: var(--space-xl) var(--space-sm);
    margin: var(--space-md) var(--space-xs);
    width: calc(100% - var(--space-sm));
    box-sizing: border-box;
    box-shadow: var(--shadow-sm);
  }
  
  .cta-phone-link,
  .hero-phone-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: var(--space-sm) 0 0;
    padding: var(--space-md) var(--space-lg);
  }
  
  /* Disable animations on mobile for better performance */
  .hero-section::before,
  .hero-minimal::before,
  .hero-services::before,
  .hero-contact::before {
    animation: none;
  }
  
  /* Remove transform effects on mobile for better performance */
  .content-card:hover,
  .service-card:hover {
    transform: none;
  }
  
  /* Full-width mobile sections */
  .content-section {
    padding: var(--space-md) 0;
    width: 100%;
    margin: 0;
  }
  
  .services-focus {
    padding: var(--space-md) 0;
    width: 100%;
    margin: 0;
  }
  
  .contact-focus {
    padding: var(--space-md) 0;
    width: 100%;
    margin: 0;
  }
  
  /* Full-width minimal layout */
  .content-minimal {
    padding: var(--space-md) 0;
    width: 100%;
    margin: 0;
  }
  
  .content-card-single {
    padding: var(--space-lg) var(--space-sm);
    margin: 0 var(--space-xs) var(--space-md) var(--space-xs);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--accent-color);
    border-bottom: 1px solid var(--gray-200);
    width: calc(100vw - var(--space-sm));
    box-sizing: border-box;
    background: var(--white);
    box-shadow: var(--shadow-sm);
  }
  
  /* Ensure no horizontal scrolling */
  .wp-site-blocks,
  .wp-block-group,
  .entry-content {
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  /* Mobile typography refinements */
  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.25rem);
  }
  
  /* Professional mobile spacing */
  .content-section > *,
  .services-focus > *,
  .contact-focus > *,
  .content-minimal > * {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
  
  /* Remove any remaining margins that create white space */
  .site-main,
  .site-main > *,
  .entry-content,
  .post-content {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  
  .content-card-single h1,
  .content-card-single h2 {
    font-size: var(--font-size-3xl);
    line-height: 1.1;
    margin-bottom: var(--space-md);
  }
  
  /* Mobile typography improvements */
  .services-focus h2,
  .contact-focus h2 {
    font-size: var(--font-size-xl);
    text-align: center;
    margin-bottom: var(--space-lg);
    padding: 0 var(--space-xs);
  }
  
  /* Mobile navigation improvements */
  .site-nav ul {
    padding: 0 var(--space-xs);
  }
  
  .site-nav a {
    display: block;
    text-align: center;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Full-width mobile header */
  .site-header {
    position: sticky;
    top: 0;
    background: var(--white);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
    margin: 0;
    padding: var(--space-sm);
    box-shadow: var(--shadow-sm);
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Ensure navigation links are properly styled on mobile */
  .site-nav a {
    background: var(--gray-50);
    color: var(--text-primary);
    border: 1px solid var(--gray-200);
    margin-bottom: var(--space-xs);
    border-radius: var(--border-radius);
  }
  
  .site-nav a:hover,
  .site-nav a:focus {
    background: var(--gray-100);
    color: var(--primary-color);
    border-color: var(--primary-color);
  }
  
  /* Force full width utilization */
  .hero-content,
  .services-grid,
  .contact-grid,
  .content-section {
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Mobile-optimized spacing for better screen usage */
  body {
    margin: 0;
    padding: 0;
  }
  
  .site-main {
    margin: 0;
    padding: 0;
  }
  
  /* Touch-friendly improvements */
  a, button, .hero-phone-link, .hero-email-link, .contact-link {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }
  
  /* Mobile scrolling improvements */
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Prevent horizontal scroll */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
}

/* Extra small screens - Maximum space utilization */
@media (max-width: 480px) {
  .hero-title {
    font-size: var(--font-size-2xl);
    padding: 0 var(--space-sm);
  }
  
  .hero-subtitle {
    font-size: var(--font-size-sm);
    padding: 0 var(--space-sm);
  }
  
  .content-card,
  .service-card,
  .content-card-single {
    margin: 0;
    padding: var(--space-md) var(--space-sm);
    border-radius: 0;
    width: 100%;
  }
  
  .contact-cta {
    margin: 0;
    padding: var(--space-lg) var(--space-sm);
    width: 100%;
    border-radius: 0;
  }
  
  /* Ultra-compact hero sections for tiny screens */
  .hero-section,
  .hero-minimal,
  .hero-services,
  .hero-contact {
    padding: var(--space-lg) 0;
    min-height: 60vh;
  }
  
  .hero-content {
    padding: 0 var(--space-sm);
  }
  
  /* Tighter header on smallest screens */
  .site-header {
    padding: var(--space-xs) var(--space-sm);
  }
  
  .site-nav ul {
    gap: var(--space-xs);
  }
}

/* Reduce motion for accessibility */
@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,
  .hero-minimal::before,
  .hero-services::before,
  .hero-contact::before {
    animation: none !important;
  }
}
  
  .site-main {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .entry-header h1, 
  .entry-header h2 {
    font-size: 1.5rem;
  }
  
  .content-card {
    padding: 1rem;
  }
}

/* Accessible Footer Styling */
.site-footer {
  background: var(--secondary-color);
  border-top: 1px solid var(--gray-300);
  text-align: center;
  padding: 3rem 0 2rem 0;
  color: var(--text-on-secondary);
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-content p {
  font-size: 1rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.footer-navigation {
  margin-bottom: 2rem;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-menu li {
  margin: 0;
}

.footer-menu a {
  color: var(--text-on-secondary);
  text-decoration: underline;
  text-underline-offset: 0.125em;
  font-size: 1rem;
  font-weight: 400;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  display: inline-block;
  min-height: 44px;
  min-width: 44px;
}

.footer-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration-thickness: 2px;
}

.footer-menu a:focus {
  outline: 2px solid var(--text-on-secondary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Contact page styling */
.contact-page p {
  margin-bottom: 1em;
}
.contact-map {
  margin-top: 1.5em;
}
.contact-map iframe {
  width: 100%;
  max-width: 600px;
  height: 300px;
  border: none;
}

/* Address navigation link styling */
.address-navigation-link {
  display: inline-block;
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 0.125em;
  transition: var(--transition);
  font-weight: 500;
  line-height: 1.6;
}

.address-navigation-link:hover {
  color: var(--primary-color);
  text-decoration-thickness: 2px;
}

.address-navigation-link:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Add navigation icon using CSS */
.address-navigation-link::after {
  content: "📍";
  font-size: 0.875em;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .address-navigation-link {
    font-size: 1rem;
    padding: 0.25rem 0;
  }
}

/* Impressum page styling */
.impressum-page p {
  margin-bottom: 1em;
}

.button, input[type="submit"], .wp-block-button__link {
  background-color: #0073aa;
  color: #fff;
  padding: 10px 20px;
  border: none;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border-radius: 3px;
}

.button:hover, input[type="submit"]:hover, .wp-block-button__link:hover {
  background-color: #005580;
}

/* ========== COLOR SCHEME VARIANTS ========== */

/* Purple/Violet Theme - Light Mode */
body.color-scheme-purple {
  --primary-color: #6b46c1;
  --secondary-color: #7c3aed;
  --accent-color: #8b5cf6;
  --success-color: #059669;
  --warning-color: #d97706;
  --error-color: #dc2626;
  --text-primary: #581c87;
  --text-secondary: #6b46c1;
  --text-muted: #6b7280;
  --white: #ffffff;
  --gray-50: #faf5ff;
  --gray-100: #f3e8ff;
  --gray-200: #e9d5ff;
  --gray-300: #c4b5fd;
  --shadow-sm: 0 1px 3px rgba(107, 70, 193, 0.1);
  --shadow-md: 0 4px 6px rgba(107, 70, 193, 0.1);
  --shadow-lg: 0 10px 15px rgba(107, 70, 193, 0.1);
  --focus-ring: 0 0 0 3px rgba(139, 92, 246, 0.1);
  
  /* Text on colored backgrounds */
  --text-on-primary: #ffffff;
  --text-on-secondary: #ffffff;
  --text-on-accent: #ffffff;
}

/* Purple/Violet Theme - Dark Mode */
@media (prefers-color-scheme: dark) {
  body.color-scheme-purple {
    --primary-color: #a78bfa;
    --secondary-color: #9f7aea;
    --accent-color: #c4b5fd;
    --success-color: #34d399;
    --warning-color: #fbbf24;
    --error-color: #f87171;
    --text-primary: #ffffff !important;
    --text-secondary: #f1f5f9 !important;
    --text-muted: #cbd5e0 !important;
    --white: #4a5568;
    --gray-50: #2d3748;
    --gray-100: #374151;
    --gray-200: #4a5568;
    --gray-300: #5a6a7a;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.20);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.25);
    --focus-ring: 0 0 0 3px rgba(196, 181, 253, 0.30);
    
    /* Text on colored backgrounds */
    --text-on-primary: #ffffff;
    --text-on-secondary: #ffffff;
    --text-on-accent: #ffffff;
    
    background: #2d3748;
  }
  
  /* Force white text on purple theme in dark mode */
  body.color-scheme-purple h1,
  body.color-scheme-purple h2, 
  body.color-scheme-purple h3,
  body.color-scheme-purple h4,
  body.color-scheme-purple h5,
  body.color-scheme-purple h6,
  body.color-scheme-purple p,
  body.color-scheme-purple .entry-content,
  body.color-scheme-purple .content-card,
  body.color-scheme-purple .entry-title,
  body.color-scheme-purple .hero-title,
  body.color-scheme-purple .hero-subtitle,
  body.color-scheme-purple .contact-focus h2,
  body.color-scheme-purple .contact-focus h3,
  body.color-scheme-purple .services-focus h2,
  body.color-scheme-purple .services-focus h3,
  body.color-scheme-purple .content-minimal h1,
  body.color-scheme-purple .content-minimal h2,
  body.color-scheme-purple .content-minimal h3 {
    color: #ffffff !important;
  }
  
  body.color-scheme-purple .entry-content p,
  body.color-scheme-purple .content-card p,
  body.color-scheme-purple .contact-focus p,
  body.color-scheme-purple .services-focus p,
  body.color-scheme-purple .content-minimal p,
  body.color-scheme-purple .hero-content p {
    color: #f1f5f9 !important;
  }
  
  /* Force white text for all landing page layouts */
  body.color-scheme-purple * {
    color: #ffffff;
  }
  
  body.color-scheme-purple p,
  body.color-scheme-purple span,
  body.color-scheme-purple div {
    color: #f1f5f9 !important;
  }
}

/* Sunset/Orange Theme - Light Mode */
body.color-scheme-sunset {
  --primary-color: #c2410c;
  --secondary-color: #dc2626;
  --accent-color: #f97316;
  --success-color: #059669;
  --warning-color: #d97706;
  --error-color: #dc2626;
  --text-primary: #9a3412;
  --text-secondary: #c2410c;
  --text-muted: #6b7280;
  --white: #ffffff;
  --gray-50: #fff7ed;
  --gray-100: #ffedd5;
  --gray-200: #fed7aa;
  --gray-300: #fdba74;
  --shadow-sm: 0 1px 3px rgba(194, 65, 12, 0.1);
  --shadow-md: 0 4px 6px rgba(194, 65, 12, 0.1);
  --shadow-lg: 0 10px 15px rgba(194, 65, 12, 0.1);
  --focus-ring: 0 0 0 3px rgba(249, 115, 22, 0.1);
  
  /* Text on colored backgrounds */
  --text-on-primary: #ffffff;
  --text-on-secondary: #ffffff;
  --text-on-accent: #ffffff;
}

/* Sunset/Orange Theme - Dark Mode */
@media (prefers-color-scheme: dark) {
  body.color-scheme-sunset {
    --primary-color: #e67635;
    --secondary-color: #d97706;
    --accent-color: #f59e0b;
    --success-color: #34d399;
    --warning-color: #fbbf24;
    --error-color: #f87171;
    --text-primary: #faf8f6;
    --text-secondary: #f0ede8;
    --text-muted: #c5b8ab;
    --white: #4a453f;
    --gray-50: #3a342c;
    --gray-100: #453f37;
    --gray-200: #4a453f;
    --gray-300: #5a544c;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.20);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.25);
    --focus-ring: 0 0 0 3px rgba(245, 158, 11, 0.30);
    
    /* Text on colored backgrounds */
    --text-on-primary: #ffffff;
    --text-on-secondary: #ffffff;
    --text-on-accent: #ffffff;
    
    background: #3a342c;
  }
  
  /* Force white text on sunset theme in dark mode */
  body.color-scheme-sunset h1,
  body.color-scheme-sunset h2, 
  body.color-scheme-sunset h3,
  body.color-scheme-sunset h4,
  body.color-scheme-sunset h5,
  body.color-scheme-sunset h6,
  body.color-scheme-sunset .entry-content,
  body.color-scheme-sunset .content-card,
  body.color-scheme-sunset .entry-title,
  body.color-scheme-sunset .hero-title,
  body.color-scheme-sunset .hero-subtitle,
  body.color-scheme-sunset .contact-focus h2,
  body.color-scheme-sunset .contact-focus h3,
  body.color-scheme-sunset .services-focus h2,
  body.color-scheme-sunset .services-focus h3,
  body.color-scheme-sunset .content-minimal h1,
  body.color-scheme-sunset .content-minimal h2,
  body.color-scheme-sunset .content-minimal h3 {
    color: #ffffff !important;
  }
  
  body.color-scheme-sunset .entry-content p,
  body.color-scheme-sunset .content-card p,
  body.color-scheme-sunset p,
  body.color-scheme-sunset .contact-focus p,
  body.color-scheme-sunset .services-focus p,
  body.color-scheme-sunset .content-minimal p,
  body.color-scheme-sunset .hero-content p,
  body.color-scheme-sunset span,
  body.color-scheme-sunset div {
    color: #f1f5f9 !important;
  }
}

/* Ocean/Teal Theme - Light Mode */
body.color-scheme-ocean {
  --primary-color: #0f766e;
  --secondary-color: #0d9488;
  --accent-color: #14b8a6;
  --success-color: #059669;
  --warning-color: #d97706;
  --error-color: #dc2626;
  --text-primary: #134e4a;
  --text-secondary: #0f766e;
  --text-muted: #6b7280;
  --white: #ffffff;
  --gray-50: #f0fdfa;
  --gray-100: #ccfbf1;
  --gray-200: #99f6e4;
  --gray-300: #5eead4;
  --shadow-sm: 0 1px 3px rgba(15, 118, 110, 0.1);
  --shadow-md: 0 4px 6px rgba(15, 118, 110, 0.1);
  --shadow-lg: 0 10px 15px rgba(15, 118, 110, 0.1);
  --focus-ring: 0 0 0 3px rgba(20, 184, 166, 0.1);
  
  /* Text on colored backgrounds */
  --text-on-primary: #ffffff;
  --text-on-secondary: #ffffff;
  --text-on-accent: #ffffff;
}

/* Ocean/Teal Theme - Dark Mode */
@media (prefers-color-scheme: dark) {
  body.color-scheme-ocean {
    --primary-color: #20c9b7;
    --secondary-color: #14b8a6;
    --accent-color: #4fd1c7;
    --success-color: #34d399;
    --warning-color: #fbbf24;
    --error-color: #f87171;
    --text-primary: #f0fcfa;
    --text-secondary: #d1fae5;
    --text-muted: #a1e3cb;
    --white: #2d4a47;
    --gray-50: #1a2e2b;
    --gray-100: #234f49;
    --gray-200: #2d4a47;
    --gray-300: #3a5855;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.20);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.30);
    --focus-ring: 0 0 0 3px rgba(79, 209, 199, 0.25);
    
    /* Text on colored backgrounds */
    --text-on-primary: #ffffff;
    --text-on-secondary: #ffffff;
    --text-on-accent: #ffffff;
    
    background: #1a2e2b;
  }
  
  /* Force white text on ocean theme in dark mode */
  body.color-scheme-ocean h1,
  body.color-scheme-ocean h2, 
  body.color-scheme-ocean h3,
  body.color-scheme-ocean h4,
  body.color-scheme-ocean h5,
  body.color-scheme-ocean h6,
  body.color-scheme-ocean .entry-content,
  body.color-scheme-ocean .content-card,
  body.color-scheme-ocean .entry-title,
  body.color-scheme-ocean .hero-title,
  body.color-scheme-ocean .hero-subtitle,
  body.color-scheme-ocean .contact-focus h2,
  body.color-scheme-ocean .contact-focus h3,
  body.color-scheme-ocean .services-focus h2,
  body.color-scheme-ocean .services-focus h3,
  body.color-scheme-ocean .content-minimal h1,
  body.color-scheme-ocean .content-minimal h2,
  body.color-scheme-ocean .content-minimal h3 {
    color: #ffffff !important;
  }
  
  body.color-scheme-ocean .entry-content p,
  body.color-scheme-ocean .content-card p,
  body.color-scheme-ocean p,
  body.color-scheme-ocean .contact-focus p,
  body.color-scheme-ocean .services-focus p,
  body.color-scheme-ocean .content-minimal p,
  body.color-scheme-ocean .hero-content p,
  body.color-scheme-ocean span,
  body.color-scheme-ocean div {
    color: #f1f5f9 !important;
  }
}

/* Default Blue Theme - Light Mode (with body class) */
body.color-scheme-default {
  --primary-color: #1e3a8a;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --success-color: #059669;
  --warning-color: #d97706;
  --error-color: #dc2626;
  --text-primary: #1e3a8a;
  --text-secondary: #1e40af;
  --text-muted: #6b7280;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #e2e8f0;
  --gray-200: #cbd5e1;
  --gray-300: #94a3b8;
  --shadow-sm: 0 1px 3px rgba(30, 58, 138, 0.1);
  --shadow-md: 0 4px 6px rgba(30, 58, 138, 0.1);
  --shadow-lg: 0 10px 15px rgba(30, 58, 138, 0.1);
  --focus-ring: 0 0 0 3px rgba(59, 130, 246, 0.1);
  
  /* Text on colored backgrounds */
  --text-on-primary: #ffffff;
  --text-on-secondary: #ffffff;
  --text-on-accent: #ffffff;
}

/* Default Blue Theme - Dark Mode (with body class) */
@media (prefers-color-scheme: dark) {
  body.color-scheme-default {
    --primary-color: #4f8ff7;
    --secondary-color: #3b7ee8;
    --accent-color: #6ba5fa;
    --success-color: #34d399;
    --warning-color: #fbbf24;
    --error-color: #f87171;
    --text-primary: #f8fafc;
    --text-secondary: #e2e8f0;
    --text-muted: #a0aec0;
    --white: #4a5568;
    --gray-50: #2d3748;
    --gray-100: #374151;
    --gray-200: #4a5568;
    --gray-300: #5a6a7a;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.20);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.25);
    --focus-ring: 0 0 0 3px rgba(107, 165, 250, 0.30);
    
    /* Text on colored backgrounds */
    --text-on-primary: #ffffff;
    --text-on-secondary: #ffffff;
    --text-on-accent: #ffffff;
    
    background: #2d3748;
  }
  
  /* Force white text on default theme (with body class) in dark mode */
  body.color-scheme-default h1,
  body.color-scheme-default h2, 
  body.color-scheme-default h3,
  body.color-scheme-default h4,
  body.color-scheme-default h5,
  body.color-scheme-default h6,
  body.color-scheme-default .entry-content,
  body.color-scheme-default .content-card,
  body.color-scheme-default .entry-title,
  body.color-scheme-default .hero-title,
  body.color-scheme-default .hero-subtitle,
  body.color-scheme-default .contact-focus h2,
  body.color-scheme-default .contact-focus h3,
  body.color-scheme-default .services-focus h2,
  body.color-scheme-default .services-focus h3,
  body.color-scheme-default .content-minimal h1,
  body.color-scheme-default .content-minimal h2,
  body.color-scheme-default .content-minimal h3 {
    color: #ffffff !important;
  }
  
  body.color-scheme-default .entry-content p,
  body.color-scheme-default .content-card p,
  body.color-scheme-default p,
  body.color-scheme-default .contact-focus p,
  body.color-scheme-default .services-focus p,
  body.color-scheme-default .content-minimal p,
  body.color-scheme-default .hero-content p,
  body.color-scheme-default span,
  body.color-scheme-default div {
    color: #f1f5f9 !important;
  }
}

/* Nature Green Theme - Light Mode */
body.color-scheme-nature {
  --primary-color: #166534;
  --secondary-color: #15803d;
  --accent-color: #22c55e;
  --success-color: #16a34a;
  --warning-color: #ea580c;
  --error-color: #dc2626;
  --text-primary: #14532d;
  --text-secondary: #166534;
  --text-muted: #6b7280;
  --white: #ffffff;
  --gray-50: #f0fdf4;
  --gray-100: #dcfce7;
  --gray-200: #bbf7d0;
  --gray-300: #86efac;
  --shadow-sm: 0 1px 3px rgba(22, 101, 52, 0.1);
  --shadow-md: 0 4px 6px rgba(22, 101, 52, 0.1);
  --shadow-lg: 0 10px 15px rgba(22, 101, 52, 0.1);
  --focus-ring: 0 0 0 3px rgba(34, 197, 94, 0.1);
  
  /* Text on colored backgrounds */
  --text-on-primary: #ffffff;
  --text-on-secondary: #ffffff;
  --text-on-accent: #ffffff;
}

/* Nature Green Theme - Dark Mode */
@media (prefers-color-scheme: dark) {
  body.color-scheme-nature {
    --primary-color: #48cc6c;
    --secondary-color: #34d399;
    --accent-color: #6ee79a;
    --success-color: #34d399;
    --warning-color: #fbbf24;
    --error-color: #f87171;
    --text-primary: #f0fdf4;
    --text-secondary: #d1fae5;
    --text-muted: #a1e3cb;
    --white: #2d4a35;
    --gray-50: #1a2e21;
    --gray-100: #234a2f;
    --gray-200: #2d4a35;
    --gray-300: #3a5a41;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.20);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.30);
    --focus-ring: 0 0 0 3px rgba(110, 231, 154, 0.25);
    
    /* Text on colored backgrounds */
    --text-on-primary: #ffffff;
    --text-on-secondary: #ffffff;
    --text-on-accent: #ffffff;
    
    background: #1a2e21;
  }
  
  /* Force white text on nature theme in dark mode */
  body.color-scheme-nature h1,
  body.color-scheme-nature h2, 
  body.color-scheme-nature h3,
  body.color-scheme-nature h4,
  body.color-scheme-nature h5,
  body.color-scheme-nature h6,
  body.color-scheme-nature .entry-content,
  body.color-scheme-nature .content-card,
  body.color-scheme-nature .entry-title,
  body.color-scheme-nature .hero-title,
  body.color-scheme-nature .hero-subtitle,
  body.color-scheme-nature .contact-focus h2,
  body.color-scheme-nature .contact-focus h3,
  body.color-scheme-nature .services-focus h2,
  body.color-scheme-nature .services-focus h3,
  body.color-scheme-nature .content-minimal h1,
  body.color-scheme-nature .content-minimal h2,
  body.color-scheme-nature .content-minimal h3 {
    color: #ffffff !important;
  }
  
  body.color-scheme-nature .entry-content p,
  body.color-scheme-nature .content-card p,
  body.color-scheme-nature p,
  body.color-scheme-nature .contact-focus p,
  body.color-scheme-nature .services-focus p,
  body.color-scheme-nature .content-minimal p,
  body.color-scheme-nature .hero-content p,
  body.color-scheme-nature span,
  body.color-scheme-nature div {
    color: #f1f5f9 !important;
  }
}

/* Professional Gray Theme - Light Mode */
body.color-scheme-professional {
  --primary-color: #374151;
  --secondary-color: #4b5563;
  --accent-color: #6b7280;
  --success-color: #059669;
  --warning-color: #d97706;
  --error-color: #dc2626;
  --text-primary: #1f2937;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --shadow-sm: 0 1px 3px rgba(55, 65, 81, 0.1);
  --shadow-md: 0 4px 6px rgba(55, 65, 81, 0.1);
  --shadow-lg: 0 10px 15px rgba(55, 65, 81, 0.1);
  --focus-ring: 0 0 0 3px rgba(107, 114, 128, 0.1);
  
  /* Text on colored backgrounds */
  --text-on-primary: #ffffff;
  --text-on-secondary: #ffffff;
  --text-on-accent: #ffffff;
}

/* Professional Gray Theme - Dark Mode */
@media (prefers-color-scheme: dark) {
  body.color-scheme-professional {
    --primary-color: #718096;
    --secondary-color: #5a6271;
    --accent-color: #a0aec0;
    --success-color: #34d399;
    --warning-color: #fbbf24;
    --error-color: #f87171;
    --text-primary: #f7fafc;
    --text-secondary: #edf2f7;
    --text-muted: #cbd5e0;
    --white: #4a5568;
    --gray-50: #2a2e39;
    --gray-100: #374151;
    --gray-200: #4a5568;
    --gray-300: #5a6a7a;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.20);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.25);
    --focus-ring: 0 0 0 3px rgba(160, 174, 192, 0.30);
    
    /* Text on colored backgrounds */
    --text-on-primary: #ffffff;
    --text-on-secondary: #ffffff;
    --text-on-accent: #ffffff;
    
    background: #2a2e39;
  }
  
  /* Force white text on professional theme in dark mode */
  body.color-scheme-professional h1,
  body.color-scheme-professional h2, 
  body.color-scheme-professional h3,
  body.color-scheme-professional h4,
  body.color-scheme-professional h5,
  body.color-scheme-professional h6,
  body.color-scheme-professional .entry-content,
  body.color-scheme-professional .content-card,
  body.color-scheme-professional .entry-title,
  body.color-scheme-professional .hero-title,
  body.color-scheme-professional .hero-subtitle,
  body.color-scheme-professional .contact-focus h2,
  body.color-scheme-professional .contact-focus h3,
  body.color-scheme-professional .services-focus h2,
  body.color-scheme-professional .services-focus h3,
  body.color-scheme-professional .content-minimal h1,
  body.color-scheme-professional .content-minimal h2,
  body.color-scheme-professional .content-minimal h3 {
    color: #ffffff !important;
  }
  
  body.color-scheme-professional .entry-content p,
  body.color-scheme-professional .content-card p,
  body.color-scheme-professional p,
  body.color-scheme-professional .contact-focus p,
  body.color-scheme-professional .services-focus p,
  body.color-scheme-professional .content-minimal p,
  body.color-scheme-professional .hero-content p,
  body.color-scheme-professional span,
  body.color-scheme-professional div {
    color: #f1f5f9 !important;
  }
}

/* ========== PREMIUM COLOR SCHEMES ========== */

/* Rose Gold/Luxury Theme - Light Mode */
body.color-scheme-rosegold {
  --primary-color: #be185d;
  --secondary-color: #db2777;
  --accent-color: #f472b6;
  --success-color: #059669;
  --warning-color: #d97706;
  --error-color: #dc2626;
  --text-primary: #831843;
  --text-secondary: #be185d;
  --text-muted: #6b7280;
  --white: #ffffff;
  --gray-50: #fdf2f8;
  --gray-100: #fce7f3;
  --gray-200: #fbcfe8;
  --gray-300: #f9a8d4;
  --shadow-sm: 0 1px 3px rgba(190, 24, 93, 0.1);
  --shadow-md: 0 4px 6px rgba(190, 24, 93, 0.15);
  --shadow-lg: 0 10px 15px rgba(190, 24, 93, 0.20);
  --focus-ring: 0 0 0 3px rgba(244, 114, 182, 0.3);
  
  --text-on-primary: #ffffff;
  --text-on-secondary: #ffffff;
  --text-on-accent: #ffffff;
}

/* Rose Gold Theme - Dark Mode */
@media (prefers-color-scheme: dark) {
  body.color-scheme-rosegold {
    --primary-color: #f472b6;
    --secondary-color: #ec4899;
    --accent-color: #f9a8d4;
    --success-color: #34d399;
    --warning-color: #fbbf24;
    --error-color: #f87171;
    --text-primary: #fdf2f8;
    --text-secondary: #fce7f3;
    --text-muted: #d1d5db;
    --white: #831843;
    --gray-50: #4c1d3c;
    --gray-100: #581c45;
    --gray-200: #7c2d5e;
    --gray-300: #9d174d;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.20);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.25);
    --focus-ring: 0 0 0 3px rgba(249, 168, 212, 0.40);
    
    --text-on-primary: #ffffff;
    --text-on-secondary: #ffffff;
    --text-on-accent: #831843;
    
    background: #4c1d3c;
  }
  
  body.color-scheme-rosegold h1,
  body.color-scheme-rosegold h2, 
  body.color-scheme-rosegold h3,
  body.color-scheme-rosegold h4,
  body.color-scheme-rosegold h5,
  body.color-scheme-rosegold h6,
  body.color-scheme-rosegold .entry-content,
  body.color-scheme-rosegold .content-card,
  body.color-scheme-rosegold .entry-title,
  body.color-scheme-rosegold .hero-title,
  body.color-scheme-rosegold .hero-subtitle,
  body.color-scheme-rosegold .contact-focus h2,
  body.color-scheme-rosegold .contact-focus h3,
  body.color-scheme-rosegold .services-focus h2,
  body.color-scheme-rosegold .services-focus h3,
  body.color-scheme-rosegold .content-minimal h1,
  body.color-scheme-rosegold .content-minimal h2,
  body.color-scheme-rosegold .content-minimal h3 {
    color: #ffffff !important;
  }
  
  body.color-scheme-rosegold .entry-content p,
  body.color-scheme-rosegold .content-card p,
  body.color-scheme-rosegold p,
  body.color-scheme-rosegold .contact-focus p,
  body.color-scheme-rosegold .services-focus p,
  body.color-scheme-rosegold .content-minimal p,
  body.color-scheme-rosegold .hero-content p,
  body.color-scheme-rosegold span,
  body.color-scheme-rosegold div {
    color: #fce7f3 !important;
  }
}

/* Deep Forest/Premium Green Theme - Light Mode */
body.color-scheme-forest {
  --primary-color: #064e3b;
  --secondary-color: #065f46;
  --accent-color: #059669;
  --success-color: #10b981;
  --warning-color: #d97706;
  --error-color: #dc2626;
  --text-primary: #064e3b;
  --text-secondary: #065f46;
  --text-muted: #6b7280;
  --white: #ffffff;
  --gray-50: #f0fdf4;
  --gray-100: #dcfce7;
  --gray-200: #bbf7d0;
  --gray-300: #86efac;
  --shadow-sm: 0 1px 3px rgba(6, 78, 59, 0.1);
  --shadow-md: 0 4px 6px rgba(6, 78, 59, 0.15);
  --shadow-lg: 0 10px 15px rgba(6, 78, 59, 0.20);
  --focus-ring: 0 0 0 3px rgba(5, 150, 105, 0.3);
  
  --text-on-primary: #ffffff;
  --text-on-secondary: #ffffff;
  --text-on-accent: #ffffff;
}

/* Deep Forest Theme - Dark Mode */
@media (prefers-color-scheme: dark) {
  body.color-scheme-forest {
    --primary-color: #34d399;
    --secondary-color: #10b981;
    --accent-color: #6ee7b7;
    --success-color: #34d399;
    --warning-color: #fbbf24;
    --error-color: #f87171;
    --text-primary: #ecfdf5;
    --text-secondary: #d1fae5;
    --text-muted: #d1d5db;
    --white: #064e3b;
    --gray-50: #1a2e1a;
    --gray-100: #1e3a1e;
    --gray-200: #2d4a2d;
    --gray-300: #3a5a3a;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.20);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.25);
    --focus-ring: 0 0 0 3px rgba(110, 231, 183, 0.40);
    
    --text-on-primary: #064e3b;
    --text-on-secondary: #064e3b;
    --text-on-accent: #064e3b;
    
    background: #1a2e1a;
  }
  
  body.color-scheme-forest h1,
  body.color-scheme-forest h2, 
  body.color-scheme-forest h3,
  body.color-scheme-forest h4,
  body.color-scheme-forest h5,
  body.color-scheme-forest h6,
  body.color-scheme-forest .entry-content,
  body.color-scheme-forest .content-card,
  body.color-scheme-forest .entry-title,
  body.color-scheme-forest .hero-title,
  body.color-scheme-forest .hero-subtitle,
  body.color-scheme-forest .contact-focus h2,
  body.color-scheme-forest .contact-focus h3,
  body.color-scheme-forest .services-focus h2,
  body.color-scheme-forest .services-focus h3,
  body.color-scheme-forest .content-minimal h1,
  body.color-scheme-forest .content-minimal h2,
  body.color-scheme-forest .content-minimal h3 {
    color: #ffffff !important;
  }
  
  body.color-scheme-forest .entry-content p,
  body.color-scheme-forest .content-card p,
  body.color-scheme-forest p,
  body.color-scheme-forest .contact-focus p,
  body.color-scheme-forest .services-focus p,
  body.color-scheme-forest .content-minimal p,
  body.color-scheme-forest .hero-content p,
  body.color-scheme-forest span,
  body.color-scheme-forest div {
    color: #d1fae5 !important;
  }
}

/* Midnight Blue/Premium Dark Theme - Light Mode */
body.color-scheme-midnight {
  --primary-color: #0f172a;
  --secondary-color: #1e293b;
  --accent-color: #3b82f6;
  --success-color: #059669;
  --warning-color: #d97706;
  --error-color: #dc2626;
  --text-primary: #0f172a;
  --text-secondary: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.1);
  --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.15);
  --shadow-lg: 0 10px 15px rgba(15, 23, 42, 0.20);
  --focus-ring: 0 0 0 3px rgba(59, 130, 246, 0.3);
  
  --text-on-primary: #ffffff;
  --text-on-secondary: #ffffff;
  --text-on-accent: #ffffff;
}

/* Midnight Blue Theme - Dark Mode */
@media (prefers-color-scheme: dark) {
  body.color-scheme-midnight {
    --primary-color: #3b82f6;
    --secondary-color: #6366f1;
    --accent-color: #8b5cf6;
    --success-color: #34d399;
    --warning-color: #fbbf24;
    --error-color: #f87171;
    --text-primary: #f8fafc;
    --text-secondary: #f1f5f9;
    --text-muted: #d1d5db;
    --white: #1e293b;
    --gray-50: #0c1220;
    --gray-100: #111827;
    --gray-200: #1f2937;
    --gray-300: #374151;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.20);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.30);
    --focus-ring: 0 0 0 3px rgba(139, 92, 246, 0.40);
    
    --text-on-primary: #ffffff;
    --text-on-secondary: #ffffff;
    --text-on-accent: #ffffff;
    
    background: #0c1220;
  }
  
  body.color-scheme-midnight h1,
  body.color-scheme-midnight h2, 
  body.color-scheme-midnight h3,
  body.color-scheme-midnight h4,
  body.color-scheme-midnight h5,
  body.color-scheme-midnight h6,
  body.color-scheme-midnight .entry-content,
  body.color-scheme-midnight .content-card,
  body.color-scheme-midnight .entry-title,
  body.color-scheme-midnight .hero-title,
  body.color-scheme-midnight .hero-subtitle,
  body.color-scheme-midnight .contact-focus h2,
  body.color-scheme-midnight .contact-focus h3,
  body.color-scheme-midnight .services-focus h2,
  body.color-scheme-midnight .services-focus h3,
  body.color-scheme-midnight .content-minimal h1,
  body.color-scheme-midnight .content-minimal h2,
  body.color-scheme-midnight .content-minimal h3 {
    color: #ffffff !important;
  }
  
  body.color-scheme-midnight .entry-content p,
  body.color-scheme-midnight .content-card p,
  body.color-scheme-midnight p,
  body.color-scheme-midnight .contact-focus p,
  body.color-scheme-midnight .services-focus p,
  body.color-scheme-midnight .content-minimal p,
  body.color-scheme-midnight .hero-content p,
  body.color-scheme-midnight span,
  body.color-scheme-midnight div {
    color: #f1f5f9 !important;
  }
}

/* =============================================================================
   Cookie Consent Banner - Dark Mode
   ============================================================================= */

/* Base Dark Mode for Cookie Banner */
@media (prefers-color-scheme: dark) {
  .bcc-banner {
    background: rgba(30, 41, 59, 0.95);
    border-top: 1px solid var(--gray-300);
  }
  
  .bcc-banner span {
    color: #cbd5e1;
  }
  
  .bcc-modal {
    background: var(--gray-100);
    color: #f1f5f9;
  }
  
  .bcc-modal h3 {
    color: #ffffff;
  }
  
  .bcc-toggle {
    border-bottom: 1px solid var(--gray-300);
  }
  
  .bcc-toggle strong {
    color: #ffffff;
  }
  
  .bcc-toggle small {
    color: #94a3b8;
  }
  
  .bcc-toggle label {
    color: #cbd5e1;
  }
  
  .bcc-toggle input[type="checkbox"] {
    background: var(--gray-200);
    border-color: var(--gray-300);
  }
  
  .bcc-btn-secondary {
    border-color: var(--gray-300);
    color: #cbd5e1;
  }
  
  .bcc-btn-secondary:hover {
    background: var(--gray-200);
    color: #ffffff;
  }
  
  .bcc-manage-link {
    color: #94a3b8;
  }
  
  .bcc-manage-link:hover {
    color: #cbd5e1;
  }
  
  .bcc-backdrop {
    background: rgba(0, 0, 0, 0.8);
  }
}

/* Purple Theme Dark Mode */
@media (prefers-color-scheme: dark) {
  body.color-scheme-purple .bcc-banner {
    background: rgba(55, 48, 107, 0.95);
  }
  
  body.color-scheme-purple .bcc-badgelike {
    background: var(--primary-color);
  }
}

/* Sunset Theme Dark Mode */
@media (prefers-color-scheme: dark) {
  body.color-scheme-sunset .bcc-banner {
    background: rgba(120, 53, 15, 0.95);
  }
  
  body.color-scheme-sunset .bcc-badgelike {
    background: var(--primary-color);
  }
}

/* Ocean Theme Dark Mode */
@media (prefers-color-scheme: dark) {
  body.color-scheme-ocean .bcc-banner {
    background: rgba(19, 78, 74, 0.95);
  }
  
  body.color-scheme-ocean .bcc-badgelike {
    background: var(--primary-color);
  }
}

/* Nature Theme Dark Mode */
@media (prefers-color-scheme: dark) {
  body.color-scheme-nature .bcc-banner {
    background: rgba(20, 83, 45, 0.95);
  }
  
  body.color-scheme-nature .bcc-badgelike {
    background: var(--primary-color);
  }
}

/* Professional Theme Dark Mode */
@media (prefers-color-scheme: dark) {
  body.color-scheme-professional .bcc-banner {
    background: rgba(74, 85, 104, 0.95);
  }
  
  body.color-scheme-professional .bcc-badgelike {
    background: var(--primary-color);
  }
}

/* Rose Gold Theme Dark Mode */
@media (prefers-color-scheme: dark) {
  body.color-scheme-rosegold .bcc-banner {
    background: rgba(131, 24, 67, 0.95);
  }
  
  body.color-scheme-rosegold .bcc-badgelike {
    background: var(--primary-color);
  }
}

/* Forest Theme Dark Mode */
@media (prefers-color-scheme: dark) {
  body.color-scheme-forest .bcc-banner {
    background: rgba(6, 95, 70, 0.95);
  }
  
  body.color-scheme-forest .bcc-badgelike {
    background: var(--primary-color);
  }
}

/* Midnight Theme Dark Mode */
@media (prefers-color-scheme: dark) {
  body.color-scheme-midnight .bcc-banner {
    background: rgba(12, 18, 32, 0.95);
    border-top: 1px solid #374151;
  }
  
  body.color-scheme-midnight .bcc-badgelike {
    background: var(--primary-color);
  }
  
  body.color-scheme-midnight .bcc-modal {
    background: #111827;
  }
}

/* ========== POST TEMPLATES ========== */

/* Single post content wrapper */
.post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Post articles styling */
.post-list > article,
.post-content > article {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  margin-bottom: 0;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

/* Single post content keeps margin for spacing */
.post-content > article {
  margin-bottom: 2rem;
}

.post-list > article:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Entry title styling */
.entry-title {
  margin: 0 0 1rem 0;
  font-weight: 700;
  line-height: 1.2;
}

.entry-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

.entry-title a:hover {
  color: var(--accent-color);
}

/* Clickable card styling */
.clickable-card {
  cursor: pointer;
  position: relative;
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.card-link:hover,
.card-link:focus {
  text-decoration: none;
  color: inherit;
}

/* Remove default link styles inside card */
.card-link .entry-title {
  color: var(--text-primary);
}

.card-link:hover .entry-title {
  color: var(--accent-color);
}

/* Read more link styling - now as span inside clickable card */
.clickable-card .read-more-link {
  display: inline-block;
  background: var(--accent-color);
  color: var(--text-on-accent);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: 1rem;
  transition: var(--transition);
}

/* Hover effect for entire card */
.clickable-card:hover .read-more-link {
  background: var(--primary-color);
  transform: translateY(-1px);
}

/* Focus styles for accessibility */
.card-link:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: var(--border-radius);
}

/* Excerpt content spacing */
.excerpt-content {
  margin: 1rem 0;
}

/* Fix layout for cards without featured images */
.clickable-card .card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
}

.clickable-card .entry-header {
  flex-shrink: 0;
}

.clickable-card .entry-meta {
  flex-shrink: 0;
  margin-bottom: 1rem;
}

.clickable-card .post-thumbnail {
  flex-shrink: 0;
  margin-bottom: 1rem;
}

.clickable-card .post-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.clickable-card .excerpt-content {
  flex-grow: 1;
  margin: 0 0 1rem 0;
}

.clickable-card .read-more-link {
  margin-top: auto;
  align-self: flex-start;
}

/* Entry meta styling */
.entry-meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.entry-meta .author,
.entry-meta .categories {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

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

.entry-meta a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Entry content styling */
.entry-content {
  line-height: 1.7;
  font-size: 1.1rem;
}

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

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

.entry-content h1 { font-size: 2.5rem; }
.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content h4 { font-size: 1.25rem; }
.entry-content h5 { font-size: 1.125rem; }
.entry-content h6 { font-size: 1rem; }

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

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

.entry-content blockquote {
  border-left: 4px solid var(--accent-color);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: var(--gray-50);
  color: var(--text-muted);
  font-style: italic;
}

.entry-content code {
  background: var(--gray-100);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

.entry-content pre {
  background: var(--gray-100);
  padding: 1rem;
  border-radius: var(--border-radius);
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.entry-content pre code {
  background: none;
  padding: 0;
}

/* Entry footer styling */
.entry-footer {
  border-top: 1px solid var(--gray-200);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.entry-tags .tags-title {
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 0.5rem;
}

.entry-tags a {
  background: var(--gray-100);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.entry-tags a:hover {
  background: var(--accent-color);
  color: var(--text-on-accent);
}

/* Page links for paginated content */
.page-links {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.page-links a {
  background: var(--accent-color);
  color: var(--text-on-accent);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: var(--transition);
}

.page-links a:hover {
  background: var(--primary-color);
}

/* Responsive design for posts */
@media (max-width: 768px) {
  .post-content {
    padding: 1rem;
  }
  
  .post-list > article,
  .post-content > article {
    padding: 1.5rem;
  }
  
  .entry-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .entry-content {
    font-size: 1rem;
  }
  
  .entry-content h1 { font-size: 2rem; }
  .entry-content h2 { font-size: 1.75rem; }
  .entry-content h3 { font-size: 1.5rem; }
}

/* Continue reading link styling */
.entry-content a[href*="continue-reading"] {
  display: inline-block;
  background: var(--accent-color);
  color: var(--text-on-accent);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: var(--transition);
}

.entry-content a[href*="continue-reading"]:hover {
  background: var(--primary-color);
  transform: translateY(-1px);
}

/* ========== IMAGE GALLERY STYLING ========== */

/* Post image gallery */
.post-image-gallery {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  justify-items: center;
}

.post-image-item {
  margin: 0;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.post-image-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.post-image-item a {
  display: block;
  text-decoration: none;
  border: none;
  outline: none;
}

.post-image-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.post-image-item:hover img {
  transform: scale(1.05);
}

.post-image-item figcaption {
  padding: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  background: var(--gray-50);
}

/* Single image in gallery */
.post-image-gallery .post-image-item:only-child {
  max-width: 600px;
  width: 100%;
  grid-column: 1 / -1;
}

.post-image-gallery .post-image-item:only-child img {
  height: auto;
  max-height: 400px;
  object-fit: contain;
}

/* ========== GENERAL IMAGE STYLING ========== */

/* WordPress standard image classes */
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  margin: 1rem 0;
}

/* WordPress image alignments */
.entry-content .aligncenter {
  display: block;
  margin: 1.5rem auto;
  text-align: center;
}

.entry-content .alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}

.entry-content .alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}

.entry-content .alignnone {
  margin: 1rem 0;
}

/* WordPress captions */
.entry-content .wp-caption {
  max-width: 100%;
  margin: 1rem 0;
  text-align: center;
}

.entry-content .wp-caption img {
  margin: 0;
  display: block;
}

.entry-content .wp-caption-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0.5rem 0 0 0;
  padding: 0.5rem;
  background: var(--gray-50);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* WordPress galleries */
.entry-content .wp-block-gallery {
  margin: 2rem 0;
}

.entry-content .wp-block-gallery .wp-block-image {
  margin: 0;
}

.entry-content .wp-block-gallery .wp-block-image img {
  margin: 0;
  border-radius: var(--border-radius);
}

/* Featured image */
.entry-content .post-thumbnail {
  margin: 0 0 2rem 0;
  text-align: center;
}

.entry-content .post-thumbnail img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

/* ========== RESPONSIVE IMAGE STYLING ========== */

@media (max-width: 768px) {
  .post-image-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .post-image-item img {
    height: 250px;
  }
  
  .post-image-gallery .post-image-item:only-child img {
    height: auto;
    max-height: 300px;
  }
  
  .entry-content .alignleft,
  .entry-content .alignright {
    float: none;
    margin: 1rem auto;
    display: block;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .post-image-gallery {
    margin: 1rem 0;
  }
  
  .post-image-item img {
    height: 200px;
  }
  
  .post-image-item figcaption {
    padding: 0.75rem;
  }
}

/* ========== LIGHTBOX STYLING ========== */

.rtsb-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rtsb-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(2px);
}

.rtsb-lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10000;
}

.rtsb-lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}

.rtsb-lightbox-caption {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-top: 1rem;
  text-align: center;
  max-width: 100%;
  font-size: 0.9rem;
}

.rtsb-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.rtsb-lightbox-close:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.rtsb-lightbox-prev,
.rtsb-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.rtsb-lightbox-prev {
  left: -60px;
}

.rtsb-lightbox-next {
  right: -60px;
}

.rtsb-lightbox-prev:hover,
.rtsb-lightbox-next:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}

.rtsb-lightbox-open {
  overflow: hidden;
}

/* Responsive lightbox */
@media (max-width: 768px) {
  .rtsb-lightbox-content {
    max-width: 95%;
    max-height: 95%;
  }
  
  .rtsb-lightbox-image {
    max-height: 70vh;
  }
  
  .rtsb-lightbox-close {
    top: -35px;
    right: -5px;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
  
  .rtsb-lightbox-prev,
  .rtsb-lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .rtsb-lightbox-prev {
    left: -45px;
  }
  
  .rtsb-lightbox-next {
    right: -45px;
  }
}

@media (max-width: 480px) {
  .rtsb-lightbox-prev {
    left: 10px;
  }
  
  .rtsb-lightbox-next {
    right: 10px;
  }
  
  .rtsb-lightbox-close {
    top: 10px;
    right: 10px;
  }
}

/* Plugin Popup Styling - Fix for post-to-wordpress plugin popups */
div[class*="popup-wf_"],
.popup-wf_post_edit,
.popup-wf_product_edit,
.popup-wf_event_edit,
.popup-wf_place_edit,
#popup-wf_post_edit,
#popup-wf_product_edit,
#popup-wf_event_edit,
#popup-wf_place_edit {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: var(--text-primary) !important;
  background: var(--white) !important;
}

/* Override popup container styles */
div[class*="popup-wf_"] > div,
.popup-wf_post_edit > div,
.popup-wf_product_edit > div,
.popup-wf_event_edit > div,
.popup-wf_place_edit > div {
  background: var(--white) !important;
  color: var(--text-primary) !important;
}

div[class*="popup-wf_"] *,
.popup-wf_post_edit *,
.popup-wf_product_edit *,
.popup-wf_event_edit *,
.popup-wf_place_edit *,
#popup-wf_post_edit *,
#popup-wf_product_edit *,
#popup-wf_event_edit *,
#popup-wf_place_edit * {
  font-family: inherit !important;
}

/* Plugin form styling within popups */
div[class*="popup-wf_"] .wf-form-form,
.popup-wf_post_edit .wf-form-form,
.popup-wf_product_edit .wf-form-form,
.popup-wf_event_edit .wf-form-form,
.popup-wf_place_edit .wf-form-form,
#popup-wf_post_edit .wf-form-form,
#popup-wf_product_edit .wf-form-form,
#popup-wf_event_edit .wf-form-form,
#popup-wf_place_edit .wf-form-form {
  background: var(--white) !important;
  color: var(--text-primary) !important;
  border-radius: var(--border-radius) !important;
  padding: 20px !important;
}

/* Force override any popup background colors */
div[class*="popup-wf_"] .wf-form-form,
div[class*="popup-wf_"] .wf-form,
div[class*="popup-wf_"] .wf-fieldset,
div[class*="popup-wf_"] fieldset {
  background-color: var(--white) !important;
  background: var(--white) !important;
}

.popup-wf_post_edit .wf-input input,
.popup-wf_post_edit .wf-input textarea,
.popup-wf_post_edit .wf-input select,
.popup-wf_product_edit .wf-input input,
.popup-wf_product_edit .wf-input textarea,
.popup-wf_product_edit .wf-input select,
.popup-wf_event_edit .wf-input input,
.popup-wf_event_edit .wf-input textarea,
.popup-wf_event_edit .wf-input select,
.popup-wf_place_edit .wf-input input,
.popup-wf_place_edit .wf-input textarea,
.popup-wf_place_edit .wf-input select {
  background: var(--white) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--gray-300) !important;
  border-radius: var(--border-radius);
  padding: 12px 16px;
  font-size: 16px;
  font-family: inherit !important;
  transition: var(--transition);
}

.popup-wf_post_edit .wf-input input:focus,
.popup-wf_post_edit .wf-input textarea:focus,
.popup-wf_post_edit .wf-input select:focus,
.popup-wf_product_edit .wf-input input:focus,
.popup-wf_product_edit .wf-input textarea:focus,
.popup-wf_product_edit .wf-input select:focus,
.popup-wf_event_edit .wf-input input:focus,
.popup-wf_event_edit .wf-input textarea:focus,
.popup-wf_event_edit .wf-input select:focus,
.popup-wf_place_edit .wf-input input:focus,
.popup-wf_place_edit .wf-input textarea:focus,
.popup-wf_place_edit .wf-input select:focus {
  outline: none;
  border-color: var(--accent-color) !important;
  box-shadow: var(--focus-ring);
}

.popup-wf_post_edit .wf-input label,
.popup-wf_product_edit .wf-input label,
.popup-wf_event_edit .wf-input label,
.popup-wf_place_edit .wf-input label {
  color: var(--text-primary) !important;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}

.popup-wf_post_edit .action-button,
.popup-wf_product_edit .action-button,
.popup-wf_event_edit .action-button,
.popup-wf_place_edit .action-button {
  background: var(--primary-color) !important;
  color: var(--text-on-primary) !important;
  border: none !important;
  border-radius: var(--border-radius);
  padding: 12px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit !important;
}

.popup-wf_post_edit .action-button:hover,
.popup-wf_product_edit .action-button:hover,
.popup-wf_event_edit .action-button:hover,
.popup-wf_place_edit .action-button:hover {
  background: var(--accent-color) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* WordPress editor styling within popups */
.popup-wf_post_edit .wp-editor-container,
.popup-wf_product_edit .wp-editor-container,
.popup-wf_event_edit .wp-editor-container,
.popup-wf_place_edit .wp-editor-container {
  border: 1px solid var(--gray-300) !important;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.popup-wf_post_edit .wp-editor-area,
.popup-wf_product_edit .wp-editor-area,
.popup-wf_event_edit .wp-editor-area,
.popup-wf_place_edit .wp-editor-area {
  background: var(--white) !important;
  color: var(--text-primary) !important;
  font-family: inherit !important;
}

/* Additional aggressive override for plugin popup styling */
body div[class*="popup"]:not([class*="rtsb-lightbox"]) {
  background: var(--white) !important;
  color: var(--text-primary) !important;
}

body div[class*="popup"]:not([class*="rtsb-lightbox"]) * {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Target the popup content container more specifically */
body [class*="popup-wf_"] > div:first-child {
  background: var(--white) !important;
  color: var(--text-primary) !important;
}

/* Override any dark backgrounds in the popup */
body [class*="popup-wf_"] div,
body [class*="popup-wf_"] form,
body [class*="popup-wf_"] fieldset {
  background: var(--white) !important;
  color: var(--text-primary) !important;
}

/* Force white background on all popup elements */
[class*="popup-wf_"] {
  background-color: var(--white) !important;
  background-image: none !important;
  background: var(--white) !important;
}

[class*="popup-wf_"] > * {
  background-color: var(--white) !important;
  background: var(--white) !important;
}

/* Target the specific plugin form classes */
.wf-form-form.wf-standard-form,
.wf-form-form,
.wf-standard-form {
  background: var(--white) !important;
  background-color: var(--white) !important;
  color: var(--text-primary) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Target all elements within the form */
.wf-form-form.wf-standard-form *,
.wf-form-form *,
.wf-standard-form * {
  background: var(--white) !important;
  background-color: var(--white) !important;
  color: var(--text-primary) !important;
  font-family: inherit !important;
}

/* Specific targeting for form sections */
.wf-form-form .wf-fieldset,
.wf-form-form fieldset,
.wf-standard-form .wf-fieldset,
.wf-standard-form fieldset {
  background: var(--white) !important;
  background-color: var(--white) !important;
  border: none !important;
}

/* Form inputs within the plugin form */
.wf-form-form input,
.wf-form-form textarea,
.wf-form-form select,
.wf-standard-form input,
.wf-standard-form textarea,
.wf-standard-form select {
  background: var(--white) !important;
  background-color: var(--white) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--gray-300) !important;
  border-radius: var(--border-radius) !important;
  padding: 12px 16px !important;
  font-size: 16px !important;
  font-family: inherit !important;
}

/* Form labels */
.wf-form-form label,
.wf-standard-form label {
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  font-family: inherit !important;
}

/* Form buttons */
.wf-form-form .action-button,
.wf-form-form button,
.wf-standard-form .action-button,
.wf-standard-form button {
  background: var(--primary-color) !important;
  color: var(--text-on-primary) !important;
  border: none !important;
  border-radius: var(--border-radius) !important;
  padding: 12px 24px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  cursor: pointer !important;
}

/* WordPress Editor styling within plugin forms */
.wf-form-form .wp-editor-tools,
.wf-standard-form .wp-editor-tools,
.wp-editor-tools {
  background: var(--gray-100) !important;
  background-color: var(--gray-100) !important;
  border: 1px solid var(--gray-300) !important;
  border-bottom: none !important;
}

.wf-form-form .wp-editor-container,
.wf-standard-form .wp-editor-container {
  border: 1px solid var(--gray-300) !important;
  border-radius: var(--border-radius) !important;
  overflow: hidden !important;
  background: var(--white) !important;
}

.wf-form-form .wp-editor-area,
.wf-standard-form .wp-editor-area {
  background: var(--white) !important;
  background-color: var(--white) !important;
  color: var(--text-primary) !important;
  font-family: inherit !important;
  border: none !important;
}

/* WordPress editor toolbar buttons */
.wp-editor-tools .wp-media-buttons .button,
.wp-editor-tools .wp-switch-editor,
.wp-editor-tools button {
  background: var(--white) !important;
  background-color: var(--white) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--gray-300) !important;
  border-radius: var(--border-radius) !important;
  font-family: inherit !important;
}

.wp-editor-tools .wp-media-buttons .button:hover,
.wp-editor-tools .wp-switch-editor:hover,
.wp-editor-tools button:hover {
  background: var(--gray-100) !important;
  background-color: var(--gray-100) !important;
}

/* Active editor tab */
.wp-editor-tools .wp-switch-editor.switch-html,
.wp-editor-tools .wp-switch-editor.switch-tmce {
  background: var(--gray-100) !important;
  background-color: var(--gray-100) !important;
}

.wp-editor-tools .wp-switch-editor.switch-html.active,
.wp-editor-tools .wp-switch-editor.switch-tmce.active {
  background: var(--white) !important;
  background-color: var(--white) !important;
  color: var(--primary-color) !important;
}

/* TinyMCE editor iframe content */
.wf-form-form .mce-content-body,
.wf-standard-form .mce-content-body {
  background: var(--white) !important;
  color: var(--text-primary) !important;
  font-family: inherit !important;
}

/* WordPress Editor Icons - Ensure dashicons are loaded and visible */
.wp-editor-tools .wp-media-buttons .button:before,
.wp-editor-tools .button:before {
  font-family: dashicons !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Specific WordPress editor button icons */
.wp-editor-tools .wp-media-buttons .insert-media:before {
  content: "\f104" !important;
}

/* Import WordPress dashicons from WordPress admin */
@import url('/wp-includes/css/dashicons.min.css');

/* Fallback dashicons font loading */
@font-face {
  font-family: 'dashicons';
  src: url('/wp-includes/fonts/dashicons.woff2') format('woff2'),
       url('/wp-includes/fonts/dashicons.woff') format('woff'),
       url('/wp-includes/fonts/dashicons.ttf') format('truetype'),
       url('/wp-includes/fonts/dashicons.svg#dashicons') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* TinyMCE toolbar button icons */
.mce-btn button {
  font-family: 'tinymce', Arial !important;
  position: relative !important;
}

/* TinyMCE specific icon fixes */
.mce-i-bold:before { content: "B" !important; font-weight: bold !important; }
.mce-i-italic:before { content: "I" !important; font-style: italic !important; }
.mce-i-underline:before { content: "U" !important; text-decoration: underline !important; }
.mce-i-strikethrough:before { content: "S" !important; text-decoration: line-through !important; }
.mce-i-bullist:before { content: "•" !important; }
.mce-i-numlist:before { content: "1." !important; }
.mce-i-blockquote:before { content: '"' !important; }
.mce-i-hr:before { content: "—" !important; }
.mce-i-alignleft:before { content: "⟲" !important; }
.mce-i-aligncenter:before { content: "⟷" !important; }
.mce-i-alignright:before { content: "⟳" !important; }
.mce-i-link:before { content: "🔗" !important; }
.mce-i-unlink:before { content: "⚠" !important; }
.mce-i-wp_more:before { content: "···" !important; }
.mce-i-spellchecker:before { content: "✓" !important; }
.mce-i-fullscreen:before { content: "⛶" !important; }
.mce-i-wp_help:before { content: "?" !important; }

/* Fix WordPress editor toolbar button display */
.wp-editor-tools .wp-media-buttons .button,
.wp-editor-tools .button {
  display: inline-block !important;
  vertical-align: top !important;
  text-decoration: none !important;
  font-size: 13px !important;
  line-height: 26px !important;
  height: 28px !important;
  margin: 0 !important;
  padding: 0 10px 1px !important;
  cursor: pointer !important;
  border-width: 1px !important;
  border-style: solid !important;
  border-radius: 3px !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}

.wp-editor-tools .wp-media-buttons .insert-media {
  background: var(--white) !important;
  border-color: var(--gray-300) !important;
  color: var(--text-primary) !important;
  padding-left: 30px !important;
  position: relative !important;
}

.wp-editor-tools .wp-media-buttons .insert-media:before {
  position: absolute !important;
  left: 8px !important;
  top: 2px !important;
  font-size: 16px !important;
  color: var(--text-primary) !important;
}

/* Additional TinyMCE toolbar styling */
.mce-toolbar .mce-btn,
.mce-toolbar .mce-btn button {
  background: var(--white) !important;
  border: 0.5px solid var(--gray-200) !important;
  color: var(--text-primary) !important;
  font-size: 13px !important;
  line-height: 1 !important;
  min-width: 28px !important;
  min-height: 28px !important;
  margin: 1px !important;
}

.mce-toolbar .mce-btn:hover,
.mce-toolbar .mce-btn button:hover {
  background: var(--gray-100) !important;
  border-color: var(--gray-300) !important;
}

.mce-toolbar .mce-btn.mce-active,
.mce-toolbar .mce-btn.mce-active button {
  background: var(--primary-color) !important;
  color: var(--text-on-primary) !important;
  border-color: var(--primary-color) !important;
}

/* Ensure TinyMCE container has proper background */
.mce-tinymce,
.mce-panel {
  background: var(--white) !important;
  border: 0.5px solid var(--gray-200) !important;
}

.mce-toolbar-grp {
  background: var(--gray-50) !important;
  border-bottom: 0.5px solid var(--gray-200) !important;
  padding: 4px !important;
}

/* Make sure all TinyMCE elements inherit theme styling */
.mce-container,
.mce-container *,
.mce-widget,
.mce-widget * {
  font-family: inherit !important;
}

/* Specific fix for empty icon buttons - add text fallbacks */
.mce-btn[aria-label="Bold"] button:empty:after { content: "B"; font-weight: bold; }
.mce-btn[aria-label="Italic"] button:empty:after { content: "I"; font-style: italic; }
.mce-btn[aria-label="Underline"] button:empty:after { content: "U"; text-decoration: underline; }
.mce-btn[aria-label="Bulleted list"] button:empty:after { content: "•"; }
.mce-btn[aria-label="Numbered list"] button:empty:after { content: "1."; }
.mce-btn[aria-label="Blockquote"] button:empty:after { content: '"'; }
.mce-btn[aria-label="Insert/edit link"] button:empty:after { content: "🔗"; }
.mce-btn[aria-label="Remove link"] button:empty:after { content: "⚠"; }

/* ========== LANDING PAGE LAYOUTS ========== */

/* Minimal Layout Styles */

.hero-minimal .hero-phone-icon,
.hero-minimal .hero-email-icon {
  display: none;
}

.content-minimal {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.content-card-single {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 3rem;
  margin: 2rem auto;
  max-width: 600px;
}

/* Services Layout Styles */

.services-focus {
  padding: 4rem 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-2xl);
  max-width: 1200px;
  margin: 0 auto var(--space-3xl) auto;
}

.service-card {
  background: var(--white);
  backdrop-filter: blur(20px);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  padding: var(--space-2xl);
  text-align: center;
  transition: var(--transition);
  border-left: 4px solid var(--accent-color);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  opacity: 0.6;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px) scale(1.03);
  border-color: var(--gray-300);
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-2xl);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: var(--letter-spacing-tight);
}

.contact-cta {
  text-align: center;
  background: var(--gray-50);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-top: 3rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.cta-phone-link {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-on-primary);
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
}

.cta-phone-link:hover {
  background: var(--accent-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Contact Layout Styles */

.contact-focus {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  background: var(--gray-50);
  border-radius: var(--border-radius);
  padding: 2rem;
}

.contact-info h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-link {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--primary-color);
}

.contact-address {
  line-height: 1.5;
  color: var(--text-secondary);
}

.contact-content {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}

.contact-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Responsive Design for Landing Page Layouts */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .content-minimal,
  .services-focus,
  .contact-focus {
    padding: 2rem 1rem;
  }
  
  .content-card-single {
    padding: 2rem;
    margin: 1rem;
  }
  
  .contact-cta {
    margin: 2rem 1rem;
  }
  
  .contact-method {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-icon {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .hero-section,
  .hero-minimal,
  .hero-services,
  .hero-contact {
    padding: 2rem 0;
    height: 240px;
  }
  
  .service-card,
  .contact-info,
  .contact-content {
    padding: 1.5rem;
  }
  
  .services-grid {
    gap: 1rem;
  }
  
  .contact-methods {
    gap: 1rem;
  }
}

/* Startup Layout Styles */
.hero-startup {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin: 0;
  margin-left: calc(-50vw + 50%);
  margin-top: 0;
}



.hero-startup-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  width: 100%;
  padding: 0 2rem;
  z-index: 3;
  position: relative;
  text-align: center;
}

.hero-startup-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-image {
  width: 100%;
  height: auto;
  max-width: none;
  border-radius: var(--border-radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  object-fit: cover;
}

.hero-main-image:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.hero-startup-text {
  color: white;
  text-align: center;
}

.hero-startup-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6), 0 4px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 4;
}

.hero-startup-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5), 0 2px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 4;
}

.hero-startup-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 4;
}

.cta-button {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
  min-width: 140px;
}

.cta-primary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-primary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.startup-features {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  width: 100vw;
  margin: 0;
  margin-left: calc(-50vw + 50%);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius-xl);
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Dark mode styling for feature cards */
@media (prefers-color-scheme: dark) {
  .feature-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  }
  
  .feature-card:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
  }
  
  .feature-card::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  }
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.3));
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.feature-card p {
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.startup-metrics {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
  padding: 4rem 2rem;
  color: white;
  width: 100vw;
  margin: 0;
  margin-left: calc(-50vw + 50%);
}

.metrics-container {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.metric-item {
  padding: 1.5rem;
}

.metric-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 1rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Responsive Styles for Startup Layout */
@media (max-width: 768px) {
  .hero-startup-content {
    padding: 0 1rem;
  }
  
  .hero-startup-text {
    text-align: center;
  }
  
  .hero-startup-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero-startup-cta {
    justify-content: center;
  }
  
  .startup-features {
    padding: 3rem 1rem;
  }
  
  .feature-card {
    padding: 2rem;
  }
  
  .startup-metrics {
    padding: 3rem 1rem;
  }
  
  .metrics-container {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-startup {
    min-height: 100vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }
  
  .hero-startup-content {
    gap: 2rem;
    padding: 0 1rem;
    width: 100%;
  }
  
  .cta-button {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .features-container,
  .metrics-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .metric-number {
    font-size: 2.5rem;
  }
}

/* Metrics Section Styles for All Templates */
.metrics-section {
  padding: 4rem 2rem;
  width: 100vw;
  margin: 0;
  margin-left: calc(-50vw + 50%);
}

.metrics-default {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
  color: white;
}

.metrics-minimal {
  background: var(--gray-50);
  color: var(--text-primary);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.metrics-services {
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
}

.metrics-contact {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  color: white;
}

/* Shared metrics container and items */
.metrics-section .metrics-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.metrics-section .metric-item {
  padding: 1.5rem;
}

.metrics-section .metric-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.metrics-section .metric-label {
  font-size: 1rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Gradient text for default, services, and contact */
.metrics-default .metric-number,
.metrics-services .metric-number,
.metrics-contact .metric-number {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

/* Special styling for minimal layout */
.metrics-minimal .metric-number {
  color: var(--primary-color);
  background: none;
  -webkit-text-fill-color: unset;
}

.metrics-minimal .metric-label {
  color: var(--text-secondary);
  opacity: 1;
}

/* Responsive Styles for Metrics */
@media (max-width: 768px) {
  .metrics-section {
    padding: 3rem 1rem;
  }
  
  .metrics-section .metrics-container {
    gap: 2rem;
  }
  
  .metrics-section .metric-number {
    font-size: 2.5rem;
  }
  
  .metrics-section .metric-label {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .metrics-section {
    padding: 2rem 1rem;
  }
  
  .metrics-section .metrics-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .metrics-section .metric-number {
    font-size: 2rem;
  }
  
  .metrics-section .metric-item {
    padding: 1rem;
  }
}

/* Footer Login Button Styles */
.footer-login {
  margin-top: 1rem;
}

.login-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: var(--text-on-primary);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.login-button:hover {
  background: var(--primary-hover);
  color: var(--text-on-primary);
  text-decoration: none;
}

.login-button.logout-button {
  background: var(--secondary-color);
  color: var(--text-on-secondary);
}

.login-button.logout-button:hover {
  background: var(--accent-color);
  color: var(--text-on-accent);
}

/* Responsive adjustments for login button */
@media (max-width: 768px) {
  .footer-login {
    text-align: center;
  }
}
