/*
Theme Name: SEH Marketing Nest
Theme URI: https://searchenginehive.com
Author: Search Engine Hive Team
Author URI: https://searchenginehive.com
Description: A fully SEO-optimized WordPress theme for digital marketing and modern technology blogs. Built with performance, E-E-A-T principles, and comprehensive SEO features. Features Inter font family, professional blue/orange branding, and responsive design optimized for Core Web Vitals.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seh-marketing-nest
Tags: blog, news, magazine, seo, digital-marketing, responsive, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready
*/

/* ==========================================================================
   CSS Custom Properties - Design System Tokens
   ========================================================================== */

:root {
  /* Brand Colors (HSL Format) */
  --brand-blue: 217 91% 60%;
  --brand-orange: 25 95% 53%;
  --brand-gray: 215 15% 58%;

  /* Background Colors */
  --background: 0 0% 100%;
  --surface-elevated: 0 0% 100%;
  --surface-subtle: 210 40% 98%;
  --surface-muted: 210 40% 96%;

  /* Text Colors */
  --content-primary: 215 25% 27%;
  --content-secondary: 215 15% 58%;
  --content-tertiary: 215 10% 71%;
  --primary-foreground: 0 0% 100%;
  --accent-foreground: 0 0% 100%;

  /* Interactive Colors */
  --primary: var(--brand-blue);
  --primary-hover: 217 91% 55%;
  --accent: var(--brand-orange);
  --accent-hover: 25 95% 48%;
  --interactive-hover: 217 91% 97%;
  --interactive-active: 217 91% 95%;

  /* Border Colors */
  --border: 214 32% 91%;
  --input-border: 214 32% 91%;
  --ring-focus: var(--brand-blue);

  /* Other Colors */
  --destructive: 0 84% 60%;
  --destructive-foreground: 210 40% 98%;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Font Sizes */
  --text-h1-desktop: 3.75rem;
  --text-h1-mobile: 2.25rem;
  --text-h2-desktop: 2rem;
  --text-h2-mobile: 1.875rem;
  --text-h3-desktop: 1.75rem;
  --text-h3-mobile: 1.5rem;
  --text-h4-desktop: 1.5rem;
  --text-h4-mobile: 1.25rem;
  --text-h5: 1.25rem;
  --text-h6: 1.125rem;
  --text-body: 1rem;
  --text-large: 1.125rem;
  --text-small: 0.875rem;
  --text-xs: 0.75rem;

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* Spacing */
  --spacing-section: 5rem;
  --spacing-component: 3rem;
  --spacing-element: 1.5rem;
  --spacing-content-gap: 1.5rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 hsl(215 25% 27% / 0.05);
  --shadow-md: 0 4px 6px -1px hsl(215 25% 27% / 0.1), 0 2px 4px -1px hsl(215 25% 27% / 0.06);
  --shadow-lg: 0 10px 15px -3px hsl(215 25% 27% / 0.1), 0 4px 6px -2px hsl(215 25% 27% / 0.05);
  --shadow-brand: 0 4px 14px 0 hsl(217 91% 60% / 0.15);

  /* Container */
  --container-max: 80rem;
  --container-padding: 1rem;

  /* Header */
  --header-height: 4rem;
}

/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */

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

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

body {
  font-family: var(--font-primary);
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  color: hsl(var(--content-primary));
  background-color: hsl(var(--background));
  font-feature-settings: 'cv03', 'cv04', 'cv11';
}

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

a {
  color: hsl(var(--primary));
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
  color: hsl(var(--primary-hover));
}

a:focus-visible {
  outline: 2px solid hsl(var(--ring-focus));
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: -0.025em;
  color: hsl(var(--content-primary));
  margin-bottom: var(--spacing-element);
}

h1 {
  font-size: var(--text-h1-mobile);
}

h2 {
  font-size: var(--text-h2-mobile);
}

h3 {
  font-size: var(--text-h3-mobile);
  line-height: var(--leading-snug);
}

h4 {
  font-size: var(--text-h4-mobile);
  line-height: var(--leading-snug);
}

h5 {
  font-size: var(--text-h5);
  line-height: var(--leading-normal);
  letter-spacing: 0;
}

h6 {
  font-size: var(--text-h6);
  line-height: var(--leading-normal);
  letter-spacing: 0;
}

@media (min-width: 1024px) {
  h1 {
    font-size: var(--text-h1-desktop);
  }

  h2 {
    font-size: var(--text-h2-desktop);
  }

  h3 {
    font-size: var(--text-h3-desktop);
  }

  h4 {
    font-size: var(--text-h4-desktop);
  }
}

p {
  margin-bottom: var(--spacing-content-gap);
}

.text-large {
  font-size: var(--text-large);
  line-height: var(--leading-relaxed);
}

.text-small {
  font-size: var(--text-small);
}

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

/* ==========================================================================
   Layout & Container
   ========================================================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

@media (min-width: 768px) {
  :root {
    --container-padding: 2rem;
  }
}

.section-spacing {
  padding-top: var(--spacing-section);
  padding-bottom: var(--spacing-section);
}

.component-spacing {
  padding-top: var(--spacing-component);
  padding-bottom: var(--spacing-component);
}

.content-spacing > * + * {
  margin-top: var(--spacing-content-gap);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: hsl(var(--background) / 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary-hover)) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.site-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-title-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1.2;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: hsl(var(--content-primary));
  margin: 0;
}

.site-tagline {
  font-size: var(--text-xs);
  color: hsl(var(--content-secondary));
  margin: 0;
}

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

@media (min-width: 1024px) {
  .main-navigation {
    display: flex;
    align-items: center;
  }

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

  .main-navigation a {
    color: hsl(var(--content-secondary));
    font-weight: 500;
    font-size: var(--text-small);
    padding: 0.5rem 0;
    position: relative;
    text-decoration: none;
  }

  .main-navigation a:hover,
  .main-navigation .current-menu-item > a {
    color: hsl(var(--primary));
  }

  .main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: hsl(var(--primary));
    transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .main-navigation a:hover::after,
  .main-navigation .current-menu-item > a::after {
    width: 100%;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: hsl(var(--content-primary));
  font-size: 1.5rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-toggle:hover {
  color: hsl(var(--primary));
}

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

.main-navigation.mobile-active {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-lg);
}

.main-navigation.mobile-active ul {
  flex-direction: column;
  gap: 0;
}

.main-navigation.mobile-active li {
  border-bottom: 1px solid hsl(var(--border));
}

.main-navigation.mobile-active a {
  display: block;
  padding: 1rem var(--container-padding);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: var(--spacing-component) 0;
  background: linear-gradient(180deg, hsl(var(--background)) 0%, hsl(var(--surface-subtle)) 100%);
}

.hero-grid {
  display: grid;
  gap: var(--spacing-component);
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: hsl(var(--surface-muted));
  border-radius: var(--radius-full);
  font-size: var(--text-small);
  font-weight: 500;
  color: hsl(var(--content-secondary));
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.25rem;
  line-height: var(--leading-tight);
  margin-bottom: 1.5rem;
}

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

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

.hero-description {
  font-size: var(--text-large);
  color: hsl(var(--content-secondary));
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: hsl(var(--primary));
  line-height: 1;
}

.stat-label {
  font-size: var(--text-small);
  color: hsl(var(--content-secondary));
  margin-top: 0.5rem;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  height: 40px;
  font-size: var(--text-small);
  font-weight: 500;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, hsl(var(--accent)) 0%, hsl(var(--accent-hover)) 100%);
  color: hsl(var(--accent-foreground));
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 hsl(var(--accent) / 0.25);
}

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

.btn-outline:hover {
  background: hsl(var(--interactive-hover));
  color: hsl(var(--primary));
}

.btn-secondary {
  background: hsl(var(--surface-muted));
  color: hsl(var(--content-secondary));
}

.btn-secondary:hover {
  background: hsl(var(--border));
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--content-primary));
}

.btn-ghost:hover {
  background: hsl(var(--interactive-hover));
}

.btn-lg {
  height: 44px;
  padding: 0.625rem 2rem;
}

.btn-sm {
  height: 36px;
  padding: 0.375rem 0.75rem;
  font-size: var(--text-xs);
}

/* ==========================================================================
   Article Cards
   ========================================================================== */

.blog-grid {
  display: grid;
  gap: 2rem;
}

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

@media (min-width: 1280px) {
  .blog-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-card {
  background: hsl(var(--background));
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

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

.article-card-image {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: hsl(var(--surface-muted));
}

.article-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.article-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.category-default {
  background: hsl(var(--surface-muted));
  color: hsl(var(--content-secondary));
}


.category-seo {
  background: hsl(0, 0%, 100%);
  color: hsl(217 91% 40%);
}

.category-ppc {
  background: hsl(0, 0%, 100%);
  color: hsl(142 71% 35%);
}

.category-social {
  background: hsl(0, 0%, 100%);
  color: hsl(271 71% 40%);
}

.category-content {
  background: hsl(0, 0%, 100%);
  color: hsl(25 95% 40%);
}

.category-analytics {
  background: hsl(0, 0%, 100%);
  color: hsl(330 71% 40%);
}

.article-card-title {
  font-size: 1.25rem;
  line-height: var(--leading-snug);
  margin-bottom: 0.75rem;
}

.article-card-title a {
  color: hsl(var(--content-primary));
  text-decoration: none;
}

.article-card-title a:hover {
  color: hsl(var(--primary));
}

.article-card-excerpt {
  font-size: var(--text-small);
  color: hsl(var(--content-secondary));
  line-height: var(--leading-relaxed);
  margin-bottom: 1rem;
  flex: 1;
}

.article-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: var(--text-xs);
  color: hsl(var(--content-tertiary));
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
  margin-top: auto;
}

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

/* ==========================================================================
   Single Post Layout
   ========================================================================== */

.single-post-layout {
  display: grid;
  gap: 3rem;
  padding: var(--spacing-component) 0;
}

@media (min-width: 1024px) {
  .single-post-layout {
    grid-template-columns: 3fr 1fr;
  }
}

.post-header {
  margin-bottom: 2rem;
}

.post-title {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

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

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
  font-size: var(--text-small);
  color: hsl(var(--content-secondary));
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-featured-image {
  margin-bottom: 2rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

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

.post-content {
  font-size: var(--text-large);
  line-height: var(--leading-relaxed);
  color: hsl(var(--content-primary));
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

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

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

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

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

.post-content img {
  border-radius: var(--radius-xl);
  margin: 2rem 0;
}

.post-content a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-decoration-color: hsl(var(--primary) / 0.3);
  text-underline-offset: 2px;
}

.post-content a:hover {
  text-decoration-color: hsl(var(--primary));
}

/* ==========================================================================
   Author Box
   ========================================================================== */

.author-box {
  background: hsl(var(--surface-subtle));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin: 3rem 0;
}

.author-box-inner {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .author-box-inner {
    flex-direction: column;
    text-align: center;
  }
}

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

.author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 640px) {
  .author-avatar {
    margin: 0 auto;
  }
}

.author-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.author-info h3 a {
  color: hsl(var(--content-primary));
}

.author-info h3 a:hover {
  color: hsl(var(--primary));
}

.author-role {
  display: block;
  font-size: var(--text-small);
  color: hsl(var(--content-secondary));
  margin-bottom: 1rem;
}

.author-bio {
  color: hsl(var(--content-secondary));
  line-height: var(--leading-relaxed);
  margin-bottom: 1rem;
}

.author-social {
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .author-social {
    justify-content: center;
  }
}

.author-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 50%;
  color: hsl(var(--content-secondary));
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.author-social a:hover {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  transform: translateY(-2px);
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.widget {
  background: hsl(var(--surface-subtle));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.widget-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid hsl(var(--primary));
}

.widget ul {
  list-style: none;
}

.widget li {
  padding: 0.75rem 0;
  border-bottom: 1px solid hsl(var(--border));
}

.widget li:last-child {
  border-bottom: none;
}

.widget a {
  color: hsl(var(--content-secondary));
  display: block;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.widget a:hover {
  color: hsl(var(--primary));
  padding-left: 0.5rem;
}

/* ==========================================================================
   Related Posts
   ========================================================================== */

.related-posts {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid hsl(var(--border));
}

.related-posts h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.related-posts-grid {
  display: grid;
  gap: 2rem;
}

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

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

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: hsl(var(--surface-muted));
  border-top: 1px solid hsl(var(--border));
  margin-top: var(--spacing-section);
  padding: var(--spacing-component) 0 1.5rem;
}

.footer-widgets {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

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

.footer-widget h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: hsl(var(--content-primary));
}

.footer-widget ul {
  list-style: none;
}

.footer-widget li {
  margin-bottom: 0.75rem;
}

.footer-widget a {
  color: hsl(var(--content-secondary));
  font-size: var(--text-small);
}

.footer-widget a:hover {
  color: hsl(var(--primary));
}

.footer-brand {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .footer-brand {
    grid-column: span 2;
  }
}

.footer-brand-description {
  color: hsl(var(--content-secondary));
  font-size: var(--text-small);
  line-height: var(--leading-relaxed);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: var(--text-small);
  color: hsl(var(--content-secondary));
  margin-bottom: 1.5rem;
}

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 50%;
  color: hsl(var(--content-secondary));
}

.footer-social a:hover {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border));
  text-align: center;
  font-size: var(--text-small);
  color: hsl(var(--content-tertiary));
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: hsl(var(--content-tertiary));
  font-size: var(--text-small);
}

.footer-links a:hover {
  color: hsl(var(--primary));
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumbs {
  padding: 1rem 0;
  font-size: var(--text-small);
  color: hsl(var(--content-tertiary));
}

.breadcrumbs a {
  color: hsl(var(--content-secondary));
}

.breadcrumbs a:hover {
  color: hsl(var(--primary));
}

.breadcrumbs span {
  margin: 0 0.5rem;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: var(--spacing-component) 0;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-md);
  color: hsl(var(--content-secondary));
  font-size: var(--text-small);
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pagination a:hover {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.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;
}

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

/* ==========================================================================
   Responsive Utilities
   ========================================================================== */

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .hide-desktop {
    display: none !important;
  }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
  .site-header,
  .site-footer,
  .sidebar,
  .related-posts,
  .mobile-menu-toggle,
  .breadcrumbs,
  .pagination {
    display: none;
  }

  .single-post-layout {
    grid-template-columns: 1fr;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
/* ==========================================================================
   HomePage Grid Heading
   ========================================================================== */
.section-intro {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    text-align: center;
}

.section-intro .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color, #111);
    margin-bottom: 0.75rem;
}

.section-intro .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color, #555);
    line-height: 1.6;
    margin: 0 auto;
}
