/*
Theme Name: Zensor Solutions
Theme URI: https://zensor.com
Author: Zensor Solutions
Author URI: https://zensor.com
Description: A modern WordPress theme for Zensor Solutions - AI-driven reporting platform for agencies. Clean, enterprise-focused design with responsive layout.
Version: 1.0.1
License: MIT
License URI: https://opensource.org/licenses/MIT
Text Domain: zensor
Tags: modern, responsive, business, agency, clean
*/

/* ============================================================================
   CSS Structure:
   1. Reset and Base Styles
   2. CSS Variables (Design Tokens)
   3. Typography
   4. Layout & Container
   5. Header & Navigation
   6. Buttons
   7. Hero Section
   8. Sections & Components
   9. Features Grid
   10. Benefits Section
   11. How It Works
   12. Roadmap Section
   13. Footer
   14. Page Templates
   15. Blog & Archive Styles
   16. Single Post Styles
   17. Comments
   18. Forms
   19. Utilities
   20. Accessibility
   21. Print Styles
   ============================================================================ */

/* ============================================================================
   1. Reset and Base Styles
   ============================================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ============================================================================
   2. CSS Variables (Design Tokens)
   ============================================================================ */
:root {
  /* Border Radius */
  --radius: 0.5rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  
  /* Base Colors */
  --background: #f7f9fc;
  --foreground: #2d3748;
  
  /* Primary Colors */
  --primary: #0d9488;
  --primary-foreground: #ffffff;
  
  /* Secondary Colors */
  --secondary: #f0f9f9;
  --secondary-foreground: #0d9488;
  
  /* Accent Colors */
  --accent: #bef264;
  --accent-foreground: #2d3748;
  
  /* UI Elements */
  --card: #ffffff;
  --card-foreground: #2d3748;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --destructive: #ef4444;
  --destructive-foreground: #f7f9fc;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --ring: #0d9488;
  
  /* Typography */
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
}

/* ============================================================================
   3. Typography
   ============================================================================ */
html {
  overflow-x: hidden;
  border: none;
  outline: none;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  border: none;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

/* ============================================================================
   4. Layout & Container
   ============================================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: rgba(247, 249, 252, 0.8);
  backdrop-filter: blur(12px);
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--foreground);
}

.logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--primary);
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px -1px rgba(13, 148, 136, 0.2);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

/* Navigation */
.main-navigation {
  display: none;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.main-navigation a:hover,
.main-navigation a:focus {
  color: var(--primary);
}

.main-navigation .current-menu-item a {
  color: var(--primary);
  font-weight: 600;
}

@media (min-width: 768px) {
  .main-navigation {
    display: block;
  }
}

/* ============================================================================
   6. Buttons
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  line-height: 1.5;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: #0f766e;
}

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

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

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* ============================================================================
   7. Hero Section
   ============================================================================ */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--background);
  padding-top: 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(247, 249, 252, 0.5), rgba(247, 249, 252, 0.8), var(--background));
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background-color: rgba(13, 148, 136, 0.1);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid rgba(13, 148, 136, 0.2);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

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

.hero-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
  
  .hero-title {
    font-size: 3.75rem;
  }
  
  .hero-description {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-tagline {
  margin-top: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================================
   8. Sections & Components
   ============================================================================ */
.section {
  padding: 5rem 0;
}

.section-muted {
  background-color: rgba(241, 245, 249, 0.3);
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.section-title h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.section-title p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* ============================================================================
   9. Features Grid
   ============================================================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

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

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

.feature-card {
  background-color: var(--card);
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: box-shadow 0.3s;
}

.feature-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background-color: rgba(13, 148, 136, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

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

.feature-card p {
  color: var(--muted-foreground);
}

/* ============================================================================
   10. Benefits Section
   ============================================================================ */
.benefits-section {
  padding: 6rem 0;
  background-color: var(--primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.benefits-decorative {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.1;
  pointer-events: none;
}

.benefits-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .benefits-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

.benefits-content h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  color: white;
}

.benefits-content p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.benefits-box {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefits-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

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

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.benefits-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* ============================================================================
   11. How It Works
   ============================================================================ */
.how-it-works-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .how-it-works-content {
    flex-direction: row;
  }
}

.how-it-works-steps {
  flex: 1;
}

.how-it-works-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgba(13, 148, 136, 0.2);
}

.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--muted-foreground);
  line-height: 1.75;
}

.how-it-works-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.how-it-works-image img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ============================================================================
   12. Roadmap Section
   ============================================================================ */
.roadmap-section {
  padding: 6rem 0;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.roadmap-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  background-color: rgba(13, 148, 136, 0.1);
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.roadmap-cta {
  padding: 0.25rem;
  border-radius: 1rem;
  background: linear-gradient(to right, var(--primary), var(--accent), var(--primary));
  background-size: 200% auto;
  margin-top: 2.5rem;
}

.roadmap-cta-inner {
  background-color: var(--background);
  border-radius: 0.75rem;
  padding: 2rem;
}

@media (min-width: 640px) {
  .roadmap-cta-inner {
    padding: 3rem;
  }
}

/* ============================================================================
   13. Footer
   ============================================================================ */
.site-footer {
  background-color: var(--foreground);
  color: var(--background);
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

.footer-brand .logo-text {
  color: white;
}

.footer-brand p {
  color: var(--muted-foreground);
  max-width: 24rem;
  margin-top: 1rem;
}

.footer-section h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

/* ============================================================================
   14. Page Templates
   ============================================================================ */
.page-header {
  padding: 5rem 0;
  background-color: rgba(241, 245, 249, 0.3);
  position: relative;
  overflow: hidden;
  margin-top: 64px;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .page-header h1 {
    font-size: 3rem;
  }
}

.page-content {
  padding: 5rem 0;
}

/* Entry Content Styles - for WordPress editor content */
.entry-content {
  max-width: 100%;
  line-height: 1.75;
  color: var(--foreground);
}

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

.entry-content h2 {
  font-size: 1.875rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.entry-content h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.entry-content h4 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

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

.entry-content ul {
  list-style-type: disc;
}

.entry-content ol {
  list-style-type: decimal;
}

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

.entry-content a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.2s;
}

.entry-content a:hover {
  color: var(--primary);
  opacity: 0.8;
}

.entry-content strong {
  font-weight: 600;
}

.entry-content em {
  font-style: italic;
}

.entry-content blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--muted-foreground);
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 2rem 0;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.entry-content table th,
.entry-content table td {
  padding: 0.75rem;
  border: 1px solid var(--border);
  text-align: left;
}

.entry-content table th {
  background-color: var(--muted);
  font-weight: 600;
}

.entry-content code {
  background-color: var(--muted);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
  font-family: 'Courier New', monospace;
  font-size: 0.875em;
}

.entry-content pre {
  background-color: var(--muted);
  padding: 1rem;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 2rem 0;
}

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

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

.entry-content .wp-block-quote {
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--muted-foreground);
}

.entry-content .wp-block-button {
  margin: 1.5rem 0;
}

.entry-content .wp-block-button__link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background-color 0.2s;
}

.entry-content .wp-block-button__link:hover {
  background-color: #0f766e;
}

.page-links {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-weight: 500;
}

.page-links a {
  color: var(--primary);
  text-decoration: none;
  margin: 0 0.25rem;
}

.page-links a:hover {
  text-decoration: underline;
}

/* About Page Specific Styles */
.about-header {
  position: relative;
  overflow: hidden;
  margin-top: 64px;
  padding: 5rem 0;
  background-color: rgba(241, 245, 249, 0.3);
}

.about-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
}

.about-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-header-content {
  position: relative;
  z-index: 10;
}

.about-header-inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.about-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.75;
  margin-top: 1rem;
  margin-bottom: 0;
}

.about-content-section {
  padding: 5rem 0;
  background-color: var(--background);
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-text-content {
  line-height: 1.75;
}

.about-section-title {
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.about-image-placeholder {
  background-color: var(--muted);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.placeholder-content {
  aspect-ratio: 16/9;
  background-color: var(--background);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
}

/* Blog Styles */
.site-main {
  min-height: 100vh;
}

.archive-header {
  position: relative;
  padding: 5rem 0;
  background-color: rgba(241, 245, 249, 0.2);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  margin-top: 64px;
}

.archive-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.1;
}

.archive-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-header-content {
  position: relative;
  z-index: 10;
}

.archive-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.archive-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin: 0;
}

.archive-section {
  padding: 5rem 0;
  background-color: var(--background);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 0;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .archive-title {
    font-size: 3rem;
  }
}

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

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s;
  background-color: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.blog-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0.75rem 0.75rem 0 0;
  margin-bottom: 1rem;
  background-color: var(--muted);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}

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

.blog-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--muted);
}

.blog-placeholder-content {
  color: var(--muted-foreground);
  opacity: 0.5;
}

.blog-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(247, 249, 252, 0.95);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  color: var(--primary);
  z-index: 1;
}

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

.blog-card-meta {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  margin-top: 0;
  transition: color 0.2s;
  line-height: 1.3;
  color: var(--foreground);
}

.blog-card:hover .blog-card-title {
  color: var(--primary);
}

.blog-card-excerpt {
  color: var(--muted-foreground);
  flex-grow: 1;
  margin: 0;
  line-height: 1.6;
}

.blog-card-excerpt p {
  margin: 0;
  font-size: 1rem;
}

.blog-card-excerpt p:first-child {
  margin-top: 0;
}

.blog-card-excerpt p:last-child {
  margin-bottom: 0;
}

/* Pagination */
.pagination-wrapper {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.pagination-wrapper .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination-wrapper .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  color: var(--foreground);
  background-color: var(--card);
  border: 1px solid var(--border);
}

.pagination-wrapper .page-numbers:hover,
.pagination-wrapper .page-numbers:focus {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.pagination-wrapper .page-numbers.current {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.pagination-wrapper .page-numbers.dots {
  border: none;
  background: none;
  cursor: default;
}

.pagination-wrapper .page-numbers.dots:hover {
  background: none;
  color: var(--foreground);
}

/* No Posts Message */
.no-posts {
  text-align: center;
  padding: 4rem 2rem;
}

.no-posts-message {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Single Post */
.single-post-header {
  padding: 6rem 0 2rem;
  margin-top: 64px; /* Account for fixed header */
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background-color: var(--muted);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  color: var(--primary);
  font-weight: 500;
}

.single-post-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .single-post-title {
    font-size: 3rem;
  }
}

.post-featured-image {
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

.post-content {
  max-width: 48rem;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(45, 55, 72, 0.9);
  width: 100%;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.post-content h1 {
  font-size: 2rem;
}

.post-content h2 {
  font-size: 1.75rem;
}

.post-content h3 {
  font-size: 1.5rem;
}

.post-content h4 {
  font-size: 1.25rem;
}

.post-content ul,
.post-content ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

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

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 2rem 0;
}

.post-content blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--muted-foreground);
}

.post-content code {
  background-color: var(--muted);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius);
  font-size: 0.875em;
  font-family: monospace;
}

.post-content pre {
  background-color: var(--muted);
  padding: 1rem;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 2rem 0;
}

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

.post-content a {
  color: var(--primary);
  text-decoration: underline;
  transition: color 0.2s;
}

.post-content a:hover {
  color: var(--primary);
  opacity: 0.8;
}

.post-content.entry-content {
  margin-top: 2rem;
}

/* Entry Footer */
.entry-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.entry-categories,
.entry-tags {
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.entry-footer-label {
  font-weight: 600;
  color: var(--foreground);
  margin-right: 0.5rem;
}

.entry-footer a {
  color: var(--primary);
  text-decoration: none;
  margin-right: 0.5rem;
  transition: color 0.2s;
}

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

/* Post CTA Section */
.post-cta {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.post-cta-inner {
  background-color: rgba(241, 245, 249, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.post-cta-inner h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.post-cta-inner p {
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
  font-size: 1rem;
}

/* Post Navigation (Next/Previous) */
.post-navigation,
.navigation.post-navigation {
  margin-top: 4rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.post-navigation .nav-links,
.navigation.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.post-navigation .nav-links > div:only-child,
.navigation.post-navigation .nav-links > div:only-child {
  grid-column: 1 / -1;
}

.post-navigation .nav-previous,
.post-navigation .nav-next,
.navigation.post-navigation .nav-previous,
.navigation.post-navigation .nav-next {
  padding: 1rem;
  border-radius: var(--radius);
  transition: background-color 0.2s;
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover,
.navigation.post-navigation .nav-previous:hover,
.navigation.post-navigation .nav-next:hover {
  background-color: var(--muted);
}

.post-navigation .nav-subtitle,
.navigation.post-navigation .nav-subtitle {
  display: block;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.post-navigation .nav-title,
.navigation.post-navigation .nav-title {
  display: block;
  font-weight: 600;
  color: var(--foreground);
}

.post-navigation a,
.navigation.post-navigation a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.post-navigation .nav-next,
.navigation.post-navigation .nav-next {
  text-align: right;
}

/* Comments Section */
.comment-respond,
#respond {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.comment-respond h3,
#respond h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.comment-form {
  max-width: 100%;
}

.comment-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.2s;
}

.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.comment-form .form-submit {
  margin-top: 1rem;
}

.comment-form .submit {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.comment-form .submit:hover {
  opacity: 0.9;
}

.logged-in-as {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.logged-in-as a {
  color: var(--primary);
  text-decoration: none;
}

.logged-in-as a:hover {
  text-decoration: underline;
}

/* Comments Section - List */
#comments {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

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

.commentlist .comment {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

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

.comment-body {
  display: flex;
  gap: 1rem;
}

.comment-author {
  flex-shrink: 0;
}

.comment-author .avatar {
  border-radius: 50%;
  display: block;
}

.comment-author .fn {
  display: block;
  font-weight: 600;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.comment-author .fn a {
  color: var(--foreground);
  text-decoration: none;
}

.comment-author .fn a:hover {
  color: var(--primary);
}

.comment-author .says {
  display: none;
}

.comment-metadata {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.comment-metadata a {
  color: var(--muted-foreground);
  text-decoration: none;
}

.comment-metadata a:hover {
  color: var(--primary);
}

.comment-content {
  flex: 1;
  margin-top: 0.5rem;
}

.comment-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

.comment-content a {
  color: var(--primary);
  text-decoration: underline;
}

.comment-content a:hover {
  opacity: 0.8;
}

.comment .reply {
  margin-top: 1rem;
}

.comment-reply-link {
  font-size: 0.875rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.comment-reply-link:hover {
  text-decoration: underline;
}

/* Comment Navigation */
.comments-area .navigation {
  margin: 2rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.comments-area .navigation .alignleft,
.comments-area .navigation .alignright {
  display: inline-block;
}

.comments-area .navigation .alignright {
  float: right;
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  text-decoration: none;
  transition: all 0.2s;
  padding: 0.5rem 0;
}

.back-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

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

.back-link:hover svg {
  transform: translateX(-2px);
}

/* Post Meta Item */
.post-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* ============================================================================
   18. Forms
   ============================================================================ */
/* Contact Page Layout */
.contact-page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-page-layout {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-page-layout > div:first-child {
    order: 1;
  }
  
  .contact-page-layout .contact-form {
    order: 2;
  }
}

.contact-form {
  background-color: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background-color: var(--background);
  color: var(--foreground);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-16 {
  margin-top: 4rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

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

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -9999px;
  left: -9999px;
  background: var(--foreground);
  color: var(--background);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
}

.skip-link:focus {
  top: 0;
  left: 0;
  clip: auto;
  overflow: visible;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: var(--card);
  margin: 5% auto;
  padding: 2rem;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  font-weight: bold;
  color: var(--muted-foreground);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover,
.modal-close:focus {
  color: var(--foreground);
}

.modal-content h2 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.modal-content > p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.waitlist-form {
  margin-top: 1rem;
}

.form-message {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  font-size: 0.875rem;
}

.form-message.success {
  background-color: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
  background-color: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.required {
  color: var(--destructive);
}

/* ============================================================================
   19. Utilities
   ============================================================================ */
.menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

/* ============================================================================
   21. Print Styles
   ============================================================================ */
@media print {
  .site-header,
  .site-footer,
  .btn,
  #waitlist-modal {
    display: none !important;
  }
  
  .site-main {
    padding-top: 0;
  }
}

