/*
Theme Name: ADB Technologies Blog
Theme URI: https://adbtech.ai/blog
Author: ADB Technologies
Author URI: https://adbtech.ai
Description: Medium-style WordPress theme for ADB Technologies - optimized for reading experience
Version: 2.0.0
License: Proprietary
Text Domain: adb-theme
*/

/* ============================================
   CSS VARIABLES - ADB Design System
   ============================================ */
:root {
  /* Colors */
  --adb-background: #000000;
  --adb-foreground: #ffffff;
  --adb-accent: #76B900;
  --adb-accent-hover: #8ed100;
  --adb-text-primary: rgba(255, 255, 255, 0.95);
  --adb-text-secondary: rgba(255, 255, 255, 0.75);
  --adb-text-muted: rgba(255, 255, 255, 0.5);
  --adb-border: rgba(255, 255, 255, 0.1);
  --adb-card-bg: rgba(255, 255, 255, 0.03);
  --adb-card-hover: rgba(255, 255, 255, 0.06);
  
  /* Typography - Medium-style */
  --font-serif: 'Charter', 'Georgia', 'Cambria', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Fira Code', 'Monaco', monospace;
  
  /* Spacing */
  --content-width: 680px;
  --wide-width: 1000px;
  --full-width: 100%;
  
  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px; /* Back to normal base size */
}

body {
  font-family: var(--font-sans);
  background-color: var(--adb-background);
  color: var(--adb-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--adb-accent);
  color: var(--adb-background);
}

a {
  color: var(--adb-accent);
  text-decoration: none;
  transition: all 0.2s ease;
}

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

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

/* ============================================
   READING PROGRESS BAR
   ============================================ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--adb-accent), #9ed92b);
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* ============================================
   HEADER - Minimal Medium-style
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--adb-border);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  padding: 0;
}

.site-header.scrolled .header-inner {
  padding: 0.75rem 1.5rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.site-logo img {
  height: 1.25rem;
  width: auto;
  transition: height 0.3s ease;
}

.site-header.scrolled .site-logo img {
  height: 1rem;
}

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

.main-navigation a {
  color: var(--adb-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  position: relative;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--adb-foreground);
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--adb-foreground);
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Navigation - Hidden by default */
.mobile-navigation {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.98);
  padding: 2rem;
  z-index: 999;
}

.mobile-navigation.open {
  display: block;
}

.mobile-navigation ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-navigation a {
  color: var(--adb-text-primary);
  font-size: 1.25rem;
  font-weight: 500;
}

.mobile-navigation a:hover {
  color: var(--adb-accent);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.site-main {
  padding-top: 80px;
  min-height: 100vh;
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: var(--wide-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   BLOG INDEX - Card Grid
   ============================================ */
.blog-hero {
  padding: 3rem 0 2rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.blog-hero h1 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--adb-foreground);
}

.blog-hero p {
  font-size: 1rem;
  color: var(--adb-text-secondary);
  line-height: 1.6;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  padding: 3rem 1.5rem;
  max-width: var(--wide-width);
  margin: 0 auto;
}

.post-card {
  background: var(--adb-card-bg);
  border: 1px solid var(--adb-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover {
  background: var(--adb-card-hover);
  border-color: rgba(118, 185, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.post-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.3));
}

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

.post-card:hover .post-card-image img {
  transform: scale(1.08);
}

.post-card-content {
  padding: 1.5rem;
}

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

.post-card-meta span::after {
  content: '·';
  margin-left: 0.75rem;
}

.post-card-meta span:last-child::after {
  display: none;
}

.post-card-title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.post-card-title a {
  color: var(--adb-foreground);
  transition: color 0.2s ease;
}

.post-card-title a:hover {
  color: var(--adb-accent);
}

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

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--adb-accent);
  font-size: 0.875rem;
  font-weight: 600;
  transition: gap 0.2s ease;
}

.read-more:hover {
  gap: 0.75rem;
}

/* ============================================
   SINGLE POST - Medium-style
   ============================================ */
.single-post-header {
  padding: 4rem 1.5rem 2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.single-post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--adb-text-muted);
  margin-bottom: 1.5rem;
}

.single-post-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.single-post-meta span::after {
  content: '·';
  margin: 0 0.5rem;
  color: var(--adb-text-muted);
}

.single-post-meta span:last-child::after {
  display: none;
}

.single-post-title {
  font-family: var(--font-sans);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--adb-foreground);
}

.single-post-subtitle {
  font-size: 1.125rem;
  color: var(--adb-text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Featured Image - Full Bleed */
.single-post-featured-image {
  max-width: var(--wide-width);
  margin: 2rem auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.single-post-featured-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}

/* Article Content - Serif Typography */
.single-post-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.single-post-content h2 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--adb-border);
  color: var(--adb-foreground);
}

.single-post-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.single-post-content h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--adb-foreground);
}

.single-post-content h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: var(--adb-foreground);
}

.single-post-content p {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  color: var(--adb-text-secondary);
}

.single-post-content ul,
.single-post-content ol {
  font-family: var(--font-sans);
  margin: 1.25rem 0;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--adb-text-secondary);
}

.single-post-content li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
}

.single-post-content li::marker {
  color: var(--adb-accent);
}

/* Blockquotes */
.single-post-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--adb-text-secondary);
  border-left: 3px solid var(--adb-accent);
  background: var(--adb-card-bg);
}

/* Code Blocks */
.single-post-content pre {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--adb-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 2rem 0;
}

.single-post-content code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(118, 185, 0, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  color: var(--adb-accent);
}

.single-post-content pre code {
  background: none;
  padding: 0;
  color: var(--adb-text-primary);
}

/* Links in content */
.single-post-content a {
  color: var(--adb-accent);
  text-decoration: underline;
  text-decoration-color: rgba(118, 185, 0, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.single-post-content a:hover {
  text-decoration-color: var(--adb-accent);
}

/* Inline Images in Post Content */
.single-post-content figure {
  margin: 3rem 0;
}

.single-post-content figure.alignwide {
  margin-left: -10%;
  margin-right: -10%;
  max-width: 120%;
}

.single-post-content figure img,
.single-post-content .wp-block-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--adb-border);
}

.single-post-content figcaption {
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--adb-text-muted);
  text-align: center;
}

/* Horizontal Rule */
.single-post-content hr {
  border: none;
  text-align: center;
  margin: 3rem 0;
}

.single-post-content hr::before {
  content: '• • •';
  color: var(--adb-text-muted);
  letter-spacing: 1rem;
}

/* ============================================
   FLOATING SHARE BUTTONS
   ============================================ */
.floating-share {
  position: fixed;
  left: calc(50% - 420px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.floating-share.visible {
  opacity: 1;
}

.floating-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--adb-card-bg);
  border: 1px solid var(--adb-border);
  border-radius: 50%;
  color: var(--adb-text-secondary);
  transition: all 0.2s ease;
}

.floating-share a:hover {
  background: var(--adb-accent);
  border-color: var(--adb-accent);
  color: var(--adb-background);
  transform: scale(1.1);
}

.floating-share svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   AUTHOR BOX - Medium Style
   ============================================ */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2rem;
  margin: 3rem 0;
  background: var(--adb-card-bg);
  border: 1px solid var(--adb-border);
  border-radius: var(--radius-lg);
}

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

.author-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--adb-accent);
}

.author-info h4 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--adb-foreground);
}

.author-info .author-title {
  font-size: 0.875rem;
  color: var(--adb-accent);
  margin-bottom: 0.75rem;
}

.author-info p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--adb-text-secondary);
  margin: 0;
}

.author-follow {
  margin-top: 1rem;
}

.author-follow a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--adb-accent);
  color: var(--adb-background);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: background 0.2s ease;
}

.author-follow a:hover {
  background: var(--adb-accent-hover);
}

/* ============================================
   CATEGORIES & TAGS
   ============================================ */
.category-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.875rem;
  background: rgba(118, 185, 0, 0.1);
  border: 1px solid rgba(118, 185, 0, 0.3);
  border-radius: 100px;
  color: var(--adb-accent);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.category-badge:hover {
  background: var(--adb-accent);
  color: var(--adb-background);
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--adb-border);
}

.tag-link {
  padding: 0.35rem 0.75rem;
  background: var(--adb-card-bg);
  border: 1px solid var(--adb-border);
  border-radius: var(--radius-md);
  color: var(--adb-text-secondary);
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.tag-link:hover {
  border-color: var(--adb-accent);
  color: var(--adb-accent);
}

/* ============================================
   RELATED POSTS
   ============================================ */
.related-posts {
  padding: 3rem 0;
  background: var(--adb-card-bg);
  margin-top: 3rem;
}

.related-posts h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--adb-foreground);
}

.related-posts .posts-grid {
  padding: 0 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================
   FOOTER - Exact Match to Main ADB Website
   ============================================ */
.site-footer {
  background: #000000 !important;
  border-top: 1px solid rgba(128, 128, 128, 0.3);
  padding: 4rem 0;
}

.footer-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* Footer Brand Column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 2rem !important;
  width: auto !important;
}

.footer-company,
.footer-address {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.875rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin: 0 0 0.25rem 0 !important;
  line-height: 1.5;
}

.footer-address {
  margin-bottom: 1.5rem !important;
}

.footer-office {
  margin-bottom: 1rem;
}

.footer-office-title {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 0 0.125rem 0 !important;
}

.footer-office-name {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.875rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin: 0 0 0.125rem 0 !important;
}

.footer-office-address {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.75rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin: 0 !important;
}

.footer-email {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.875rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-top: 0.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-email:hover {
  color: #76B900 !important;
}

/* Footer Link Columns */
.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600;
  color: #ffffff !important;
  margin: 0 0 1rem 0 !important;
}

.footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-links li {
  margin-bottom: 0.75rem !important;
  list-style: none !important;
}

.footer-links li::before,
.footer-links li::marker {
  display: none !important;
  content: none !important;
}

.footer-links a {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.875rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #76B900 !important;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(128, 128, 128, 0.3);
}

.footer-copyright {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.875rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin: 0 !important;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-social-label {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.875rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

.footer-social a {
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-size: 0.875rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #76B900 !important;
}

/* Footer Responsive */
@media (max-width: 1024px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
  }
}

@media (max-width: 768px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-social-label {
    display: none;
  }
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 3rem 0;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--adb-border);
  border-radius: var(--radius-md);
  color: var(--adb-text-secondary);
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.pagination a:hover {
  border-color: var(--adb-accent);
  color: var(--adb-accent);
}

.pagination .current {
  background: var(--adb-accent);
  border-color: var(--adb-accent);
  color: var(--adb-background);
  font-weight: 600;
}

/* ============================================
   NO POSTS STATE
   ============================================ */
.no-posts {
  text-align: center;
  padding: 6rem 2rem;
}

.no-posts h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.no-posts p {
  color: var(--adb-text-secondary);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--adb-accent-hover);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  border-color: var(--adb-accent);
  color: var(--adb-accent);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .floating-share {
    display: none;
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .main-navigation {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .posts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .blog-hero {
    padding: 2rem 0 1.5rem;
  }
  
  .blog-hero h1 {
    font-size: 1.75rem;
  }
  
  .single-post-title {
    font-size: 1.5rem;
  }
  
  .single-post-content {
    padding: 1.5rem 1rem 2rem;
  }
  
  .single-post-content figure.alignwide {
    margin-left: -1rem;
    margin-right: -1rem;
    max-width: calc(100% + 2rem);
  }
  
  .author-box {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .related-posts .posts-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-accent { color: var(--adb-accent); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

.post-card {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

.post-card:nth-child(1) { animation-delay: 0.1s; }
.post-card:nth-child(2) { animation-delay: 0.2s; }
.post-card:nth-child(3) { animation-delay: 0.3s; }
.post-card:nth-child(4) { animation-delay: 0.4s; }
