/**
 * HomeFix Colors CSS Variables and Styling
 * Tailwind-Compatible Version
 *
 * @package HomeFix_Pro
 * @since 1.0.0
 */

/* CSS Variables Definition */
:root {
  /* Background Colors */
  --homefix-background: #ffffff;
  /* Unified background variable (solid or gradient) */

  /* Theme Colors */
  --homefix-primary-color: #2563EB;
  --homefix-base-color: #ffffff;
  --homefix-light-color: #f8fafc;

  /* Auto-generated color variations - Generated dynamically by customizer */
  --homefix-primary-light: rgba(59, 130, 246, 0.1);
  --homefix-primary-medium: rgba(59, 130, 246, 0.8);
  --homefix-primary-dark: rgba(59, 130, 246, 0.9);

  /* Advanced Colors */
  --homefix-text-color: #1f2937;
  --homefix-heading-color: #000000;
  --homefix-link-color: #2563EB;
  --homefix-link-hover-color: #1d4ed8;
  --homefix-dark-color: #1f2937;

  /* Text colors based on theme colors */
  /* --homefix-text-primary: var(--homefix-primary-color);
  --homefix-text-dark: var(--homefix-text-color);
  --homefix-text-light: #6b7280; */
}

/* Tailwind-Compatible Element Styling */
/* Only applies to elements without specific Tailwind classes */

/* Bloginfo / Site Title */
.bloginfo,
.site-title {
  color: var(--homefix-primary-color);
}

/* Site Branding (title + tagline container) */
.site-branding {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.site-branding.has-tagline {
  margin-top: -2px;
}

/* Site Tagline */
.site-tagline {
  color: var(--homefix-text-color);
  font-weight: 400;
  margin-top: 2px;
}

/* Navigation background - uses base color by default, can be overridden by header section settings */
nav:not(#pagination-nav) {
  background: var(--homefix-base-color);
}

/* Example: Apply background to specific sections you choose */
/* Uncomment and modify these as needed:

.hero-section {
  background: var(--homefix-background);  /* Uses unified background (solid or gradient) 
} */

.homefix-services {
  background: var(--homefix-base-color);
  /* Uses base color (always solid) */
}

.homefix-whyus {
  background: var(--homefix-background);
  /* Uses unified background (solid or gradient) */
}

*/

/* Logo icon - uses CSS variable for customizer compatibility */
.logo-icon {
  background: var(--homefix-primary-color);
}

/* Elements that should respect CSS variables over Tailwind defaults */
/* These rules have lower specificity than Tailwind utilities */
/* body:not([class*="bg-"]) {
  background: var(--homefix-bg-color);
} */

/* Text elements without specific Tailwind text color classes */
body:not([class*="text-"]),
p:not([class*="text-"]) {
  color: var(--homefix-text-color);
}

/* Headings without specific Tailwind text color classes */
h1:not([class*="text-"]),
h2:not([class*="text-"]),
h3:not([class*="text-"]),
h4:not([class*="text-"]),
h5:not([class*="text-"]),
h6:not([class*="text-"]) {
  color: var(--homefix-heading-color);
}

/* Utility classes for explicit color control */
.link-color {
  color: var(--homefix-link-color);
}

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

.primary-color {
  color: var(--homefix-primary-color);
}

/* Use .preserve-tailwind class to prevent customizer from affecting an element */

/* Navigation links that should use link color */
.main-navigation a:not(.btn):not(.button),
.footer-navigation a:not(.btn):not(.button) {
  color: var(--homefix-link-color);
}

.main-navigation a:not(.btn):not(.button):hover,
.footer-navigation a:not(.btn):not(.button):hover {
  color: var(--homefix-link-hover-color);
}

/* Only apply to general links if they don't have Tailwind classes */
/* This rule has lower specificity and won't override Tailwind */
a:not(.btn):not(.button):not([class*="text-"]):not([class*="bg-"]):not(.logo):not(.nav-link):not([href="#"]):not(.footer-social-link):not(.page-numbers):not(.wp-block-navigation-item__content) {
  color: var(--homefix-link-color);
}

a:not(.btn):not(.button):not([class*="text-"]):not([class*="bg-"]):not(.logo):not(.nav-link):not([href="#"]):not(.footer-social-link):not(.page-numbers):not(.wp-block-navigation-item__content):hover {
  color: var(--homefix-link-hover-color);
}

/* Primary Color Applications */
/* .btn-primary,
.button-primary,
.wp-block-button__link,
button[type="submit"],
input[type="submit"],
.homefix-btn-primary {
  background: var(--homefix-primary-color);
  border-color: var(--homefix-primary-color);
} */

/* .btn-primary:hover,
.button-primary:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.homefix-btn-primary:hover {
  background: var(--homefix-primary-medium);
  border-color: var(--homefix-primary-medium);
} */

/* Text Primary Color */
.text-primary,
.homefix-text-primary {
  color: var(--homefix-primary-color);
}

/* Menu */
.dropdown-menu {
  background: var(--homefix-bg-color);
  border: 1px solid var(--homefix-dark-color);
}

/* Submenu */
.submenu {
  color: var(--homefix-link-color);
}

.submenu:hover {
  color: var(--homefix-link-hover-color);
}

/* Logo */
.logo-icon {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color);
}

/* Link Colors */
a:not(.btn):not(.button):not(.footer-social-link):not(.page-numbers):not(.wp-block-navigation-item__content):not(.wp-block-navigation a),
.site-title a,
.entry-title a {
  color: var(--homefix-link-color);
}

a:not(.btn):not(.button):not(.footer-social-link):not(.page-numbers):not(.wp-block-navigation-item__content):not(.wp-block-navigation a):hover,
.site-title a:hover,
.entry-title a:hover {
  color: var(--homefix-link-hover-color);
}

/* Hero */
.hero-title {
  color: var(--homefix-base-color);
}

.hero-subs {
  color: var(--homefix-base-color);
}

/* Book Now Button */
.book-btn {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color);
  border: 1px solid var(--homefix-base-color);
}

.book-btn:hover {
  background: var(--homefix-base-color);
  color: var(--homefix-primary-color);
  border: 1px solid var(--homefix-primary-color);
  box-shadow: 0 0px 4px var(--homefix-primary-medium);
}

.find-btn {
  background: var(--homefix-base-color);
  color: var(--homefix-primary-color);
  border: 1px solid var(--homefix-primary-color);
}

.find-btn:hover {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color);
  border: 1px solid var(--homefix-base-color);
}


/* Background Primary Color */
.bg-primary,
.homefix-bg-primary {
  background: var(--homefix-primary-color);
}

.bg-primary-light,
.homefix-bg-primary-light {
  background: var(--homefix-primary-light);
}

/* Base Color Applications - Only for specific utility classes and content blocks */
/* .bg-white,
.bg-base,
.homefix-bg-base,
.widget,
.sidebar {
  background: var(--homefix-bg-color);
} */

/* Content areas inherit from global background system */
/* main, .content-area, .site-content, .entry-content removed to avoid conflicts */

/* Light Color Applications - Only for specific utility classes */
.bg-light,
.bg-gray-50,
.bg-gray-100,
.homefix-bg-light {
  background: var(--homefix-light-color);
}

/* Section-specific light backgrounds removed to avoid conflicts with global background system */

/* Navigation Menu Styling */
.main-navigation a {
  color: var(--homefix-text-dark);
}

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

/* Form Elements */
/* input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
input[type="url"],
textarea,
select {
  border-color: var(--homefix-border-color);
  background: var(--homefix-base-color);
  color: var(--homefix-text-color);
} */

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
  border-color: var(--homefix-primary-color);
  box-shadow: 0 0 0 1px var(--homefix-primary-light);
}

/* Search Form */
.search-input {
  background: var(--homefix-base-color);
  color: var(--homefix-text-color);
}

.search-submit {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color);
}

.search-submit:hover {
  background: var(--homefix-base-color);
  color: var(--homefix-primary-color);
  border: 2px solid var(--homefix-primary-color);
}

/* Section Backgrounds - REMOVED to avoid conflicts with global background system */
/* All sections now inherit background from body, nav, section rule in style.css */
/* Use .section-override class to override specific sections if needed */

/* Footer */
.site-footer {
  background: var(--homefix-text-dark);
  color: var(--homefix-base-color);
}

.site-footer a:not(.footer-social-link) {
  color: var(--homefix-light-color);
}

.site-footer a:not(.footer-social-link):hover {
  color: var(--homefix-primary-color);
}

/* Header - Background handled by global system, only border styling */
.site-header {
  border-bottom: 1px solid var(--homefix-dark-color);
}

/* Buttons and Interactive Elements */
.btn,
.button,
.wp-block-button__link {
  transition: all 0.3s ease;
}

.btn-outline-primary,
.button-outline-primary {
  color: var(--homefix-primary-color);
  border-color: var(--homefix-primary-color);
  background: transparent;
}

.btn-outline-primary:hover,
.button-outline-primary:hover {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color);
}

/* Cards and Content Blocks */
.card,
.post-card,
.service-card,
.testimonial-card {
  background: var(--homefix-base-color);
  /* border: 1px solid var(--homefix-primary-dark); */
  transition: all 0.3s ease;
}

.card:hover,
.post-card:hover,
.service-card:hover {
  border-color: var(--homefix-primary-light);
  box-shadow: 0 2px 6px var(--homefix-primary-medium);
  transform: translateY(-4px);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: var(--homefix-heading-color);
}

/* Utility Classes */
.text-muted {
  color: var(--homefix-text-color);
}

.border-primary {
  border-color: var(--homefix-primary-color);
}

.border-light {
  border-color: var(--homefix-dark-color);
}

/* Status Color Utility Classes */
.text-success {
  color: #16a34a;
}

.bg-success-light {
  background: rgba(22, 163, 74, 0.1);
}

.text-warning {
  color: #d97706;
}

.bg-warning-light {
  background: rgba(217, 119, 6, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu {
    /* Background inherited from global system */
    border-top: 1px solid var(--homefix-dark-color);
  }

  /* Mobile Menu Navigation Links */
  .mobile-nav-menu a,
  .mobile-menu a {
    /* color: var(--homefix-text-color); */
    border-bottom: 1px solid var(--homefix-dark-color);
    display: block;
    transition: all 0.2s ease;
  }

  /* Hover State */
  .mobile-nav-menu a:hover,
  .mobile-menu a:hover {
    color: var(--homefix-primary-color);
    background: var(--homefix-primary-light);
  }

  /* Focus State - for keyboard navigation */
  .mobile-nav-menu a:focus,
  .mobile-menu a:focus {
    color: var(--homefix-primary-color);
    background: var(--homefix-primary-light);
    outline: 2px solid var(--homefix-primary-color);
    outline-offset: -2px;
  }

  /* Active/Current Page State */
  .mobile-nav-menu a.active,
  .mobile-nav-menu a[aria-current="page"],
  .mobile-menu a.active,
  .mobile-menu a[aria-current="page"],
  .mobile-menu .current-menu-item>a {
    color: var(--homefix-primary-color);
    background: var(--homefix-primary-light);
    font-weight: 600;
    border-left: 3px solid var(--homefix-primary-color);
  }

  /* Focus-visible for better keyboard accessibility */
  .mobile-nav-menu a:focus-visible,
  .mobile-menu a:focus-visible {
    outline: 2px solid var(--homefix-primary-color);
    outline-offset: -2px;
    box-shadow: 0 0 0 4px var(--homefix-primary-light);
  }
}

/* WordPress Core Elements */
.wp-block-quote {
  border-left: 4px solid var(--homefix-primary-color);
  background: var(--homefix-light-color);
}

.wp-block-pullquote {
  border-top: 4px solid var(--homefix-primary-color);
  border-bottom: 4px solid var(--homefix-primary-color);
}

.wp-block-table th {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color);
}

.wp-block-table td {
  border-color: var(--homefix-border-color);
}

/* Services */
.homefix-services {
  background: var(--homefix-background);
}

.homefix-services .service-title {
  color: var(--homefix-heading-color);
}

.homefix-services .service-desc {
  color: var(--homefix-text-color);
}

/* Why US */
.homefix-whyus {
  background: var(--homefix-light-color);
}

.homefix-whyus .feature-icon-container {
  background: var(--homefix-primary-light);
}

.homefix-whyus .feature-icon-container i {
  color: var(--homefix-primary-color);
}

/* Technicians */
.homefix-technicians {
  background: var(--homefix-base-color);
}

.homefix-technicians .technicians-title {
  color: var(--homefix-heading-color);
}

.homefix-technicians .technicians-subtitle {
  color: var(--homefix-text-color);
}

/* Section Title Styling */
.homefix-technicians .technicians-title {
  color: var(--homefix-heading-color, #111827);
}

/* Section Subtitle Styling */
.homefix-technicians .technicians-subtitle {
  color: var(--homefix-text-color, #1f2937);
}

/* Technician Card Styling */
.homefix-technicians .technician-card {
  background: var(--homefix-base-color, #ffffff);
  transition: all 0.3s ease;
}

.homefix-technicians .technician-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px var(--homefix-primary-light),
    0 10px 10px -5px var(--homefix-primary-light);
}

/* Technician Name Styling */
.homefix-technicians .technician-name {
  color: var(--homefix-primary-color);
}

/* Technician Specialty Styling */
.homefix-technicians .technician-specialty {
  color: var(--homefix-text-color, #6b7280);
}

/* Service Area Styling */
.homefix-technicians .technician-service-area {
  color: var(--homefix-text-color, #6b7280);
}

/* Rate Styling */
.homefix-technicians .technician-rate {
  color: var(--homefix-heading-color, #111827);
  font-weight: 700;
}

/* Book Button Styling */
.homefix-technicians .technician-book-btn {
  background: var(--homefix-primary-color);
  transition: all 0.3s ease;
}

.homefix-technicians .technician-book-btn:hover {
  background: var(--homefix-primary-dark);
  transform: translateY(-1px);
}

/* Rating Badge Styling */
.homefix-technicians .technician-card .rating-badge {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color);
  font-weight: 700;
}

/* Default Image Placeholder */
.homefix-technicians .technician-image-placeholder {
  background: var(--homefix-light-color);
  color: var(--homefix-text-color);
}

.homefix-technicians .view-all-btn {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color);
  border: 1px solid var(--homefix-base-color);
}

.homefix-technicians .view-all-btn:hover {
  background: var(--homefix-base-color);
  color: var(--homefix-primary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px var(--homefix-primary-light);
  border: 1px solid var(--homefix-primary-color);
}

.homefix-testimonials {
  background: var(--homefix-light-color);
}

.homefix-footer {
  background: var(--homefix-dark-color);
  color: #ffffff;
}

.homefix-footer h1,
.homefix-footer h2,
.homefix-footer h3,
.homefix-footer h4,
.homefix-footer h5,
.homefix-footer h6 {
  color: #ffffff;
}

.homefix-footer a:not(.footer-social-link) {
  color: rgba(255, 255, 255, 0.8);
}

.homefix-footer a:not(.footer-social-link):hover {
  color: var(--homefix-primary-color);
}

.homefix-footer .newsletter-form [type="email"],
.homefix-footer .newsletter-form [type="text"] {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  width: 100%;
}

.homefix-footer .newsletter-form [type="email"]::placeholder,
.homefix-footer .newsletter-form [type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.homefix-footer .newsletter-form [type="email"]:focus,
.homefix-footer .newsletter-form [type="text"]:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  outline: none;
}

.homefix-cta {
  background: var(--homefix-background);
}

/* Page - services */
.homefix-services-page {
  background: var(--homefix-base-color);
}

.services-emergency {
  background: var(--homefix-primary-light);
}

.homefix-services-page .service-card {
  background: var(--homefix-primary-light);
}

.services-areas {
  background: var(--homefix-base-color);
}

.area-card {
  background: var(--homefix-primary-light);
}

.services-why {
  background: var(--homefix-primary-color);
}

.services-cta {
  background: var(--homefix-primary-light);
}

/* Page - Find Technician */

.find-tech-hero {
  background: var(--homefix-primary-color);
}

/* Blog-Card */
.blog-card {
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-bottom: 3px solid;
  border-bottom-color: #3b82f6;
}

/* Blog-Sidebar - See sidebar-widgets.css for full widget styling */

/* Page - Blog */
.blog-page-title {
  color: var(--homefix-base-color);
}

/* ===== Toast Notification System ===== */
.homefix-toast-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: calc(100% - 40px);
  width: 400px;
  pointer-events: none;
}

.homefix-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
  animation: toastSlideIn 0.35s ease-out;
  backdrop-filter: blur(10px);
}

.homefix-toast.toast-removing {
  animation: toastSlideOut 0.3s ease-in forwards;
}

.homefix-toast-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.homefix-toast-content {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.homefix-toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  font-size: 18px;
  line-height: 1;
}

.homefix-toast-close:hover {
  opacity: 1;
}

/* Toast variants */
.homefix-toast.toast-error {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1px solid #fecaca;
  color: #991b1b;
}

.homefix-toast.toast-error .homefix-toast-icon {
  background: #dc2626;
  color: white;
}

.homefix-toast.toast-warning {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  color: #92400e;
}

.homefix-toast.toast-warning .homefix-toast-icon {
  background: #f59e0b;
  color: white;
}

.homefix-toast.toast-success {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1px solid #bbf7d0;
  color: #166534;
}

.homefix-toast.toast-success .homefix-toast-icon {
  background: #16a34a;
  color: white;
}

.homefix-toast.toast-info {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

.homefix-toast.toast-info .homefix-toast-icon {
  background: #2563eb;
  color: white;
}

/* Toast animations */
@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastSlideOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* Shake animation for invalid clicks */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20%,
  60% {
    transform: translateX(-5px);
  }

  40%,
  80% {
    transform: translateX(5px);
  }
}

.shake {
  animation: shake 0.4s ease-in-out;
}

/* Booking form button states */
#booking-form .next-step:disabled,
#booking-form button[type="submit"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#booking-form .next-step:disabled:hover,
#booking-form button[type="submit"]:disabled:hover {
  opacity: 0.5;
}

/* Mobile responsive toast */
@media (max-width: 480px) {
  .homefix-toast-container {
    bottom: 10px;
    width: calc(100% - 20px);
    left: 10px;
    right: 10px;
    transform: none;
  }

  .homefix-toast {
    padding: 12px 14px;
  }

  .homefix-toast-content {
    font-size: 13px;
  }
}

/* ===== Booking Form Progress Indicator ===== */
.progress-indicator-container {
  padding: 0 20px;
}

.step-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  background: #e5e7eb;
  color: #6b7280;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.step-indicator.active {
  background: var(--homefix-primary-color, #2563eb);
  color: var(--homefix-base-color);
  box-shadow: 0 4px 12px var(--homefix-primary-color);
}

.step-indicator.completed {
  background: var(--homefix-primary-color, #2563eb);
  color: var(--homefix-base-color);
}

.step-indicator.completed::after {
  content: '✓';
  position: absolute;
  font-size: 16px;
  font-weight: bold;
}

.step-indicator.completed span,
.step-indicator.completed:not(:empty)::before {
  display: none;
}

.step-wrapper .step-label {
  transition: color 0.3s ease;
}

.step-wrapper .step-indicator.active+.step-label,
.step-wrapper .step-indicator.completed+.step-label {
  color: #1f2937;
}

/* Progress line animation */
.progress-line {
  transition: width 0.5s ease-out;
}

@media (max-width: 480px) {
  .progress-indicator-container {
    padding: 0 10px;
  }

  .step-indicator {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .step-indicator.completed::after {
    font-size: 14px;
  }

  .step-label {
    font-size: 11px !important;
  }
}

/* ========================================
   Semantic Color Classes
   (Replacing hardcoded Tailwind colors)
   ======================================== */

/* Buttons */
.btn-primary {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color);
}

.btn-primary:hover {
  background: var(--homefix-primary-dark);
}

.btn-secondary {
  background: var(--homefix-base-color);
  color: var(--homefix-primary-color);
  border: 2px solid var(--homefix-primary-color);
}

.btn-secondary:hover {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color);
}

.btn-success {
  background: #22c55e;
  color: #ffffff;
}

.btn-success:hover {
  background: #16a34a;
}

/* Error/404 Page Styles */
.error-404 {
  background: var(--homefix-base-color);
  border: 1px solid #e5e7eb;
}

.error-icon-color {
  color: var(--homefix-primary-color);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

.error-text {
  color: var(--homefix-text-color);
}

/* 404 Section Headings */
.error-404 h2 {
  color: var(--homefix-heading-color);
}

/* 404 Helpful Links Section */
.helpful-links {
  border-color: #e5e7eb;
}

/* 404 Recent Posts Section */
.recent-posts {
  border-color: #e5e7eb;
}

.recent-post-card {
  background: var(--homefix-light-color);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.recent-post-card:hover {
  border-color: var(--homefix-primary-light);
  transform: translateY(-2px);
}

.recent-post-title {
  color: var(--homefix-heading-color);
}

.recent-post-title:hover {
  color: var(--homefix-primary-color);
}

.recent-post-link {
  color: var(--homefix-primary-color);
  font-weight: 500;
}

.recent-post-link:hover {
  color: var(--homefix-link-hover-color);
}

/* 404 Search Form Styling */
.error-404 .search-form {
  display: flex;
  gap: 0.5rem;
}

.error-404 .search-form input[type="search"] {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  background: var(--homefix-base-color);
  color: var(--homefix-text-color);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.error-404 .search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--homefix-primary-color);
  box-shadow: 0 0 0 3px var(--homefix-primary-light);
}

.error-404 .search-form button,
.error-404 .search-form input[type="submit"] {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.error-404 .search-form button:hover,
.error-404 .search-form input[type="submit"]:hover {
  background: var(--homefix-link-hover-color);
}

/* Technician Card Styles */
.technician-avatar-placeholder {
  background: var(--homefix-light-color);
  color: var(--homefix-text-color);
}

.technician-specialty {
  color: var(--homefix-primary-color);
}

.technician-stars {
  color: #fbbf24;
}

.technician-stars-empty {
  color: #d1d5db;
}

.technician-rating-text {
  color: var(--homefix-text-color);
}

.technician-experience {
  color: var(--homefix-text-color);
}

.technician-bio {
  color: var(--homefix-text-color);
}

.technician-btn {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color);
}

.technician-btn:hover {
  background: var(--homefix-base-color);
  color: var(--homefix-primary-color);
  border-color: var(--homefix-primary-color);
}

.technician-btn-outline {
  background: transparent;
  color: var(--homefix-primary-color);
  border-color: var(--homefix-primary-color);
}

.technician-btn-outline:hover {
  background: var(--homefix-primary-light);
}

/* Service Card Styles */
.service-icon-container {
  background: var(--homefix-primary-light);
  color: var(--homefix-primary-color);
}

.service-description {
  color: var(--homefix-text-color);
}

.service-meta {
  color: var(--homefix-text-color);
}

.service-price {
  color: var(--homefix-primary-color);
}

.service-btn {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color);
}

.service-btn:hover {
  background: var(--homefix-base-color);
  color: var(--homefix-primary-color);
  border-color: var(--homefix-primary-color);
}

.service-btn-outline {
  background: transparent;
  color: var(--homefix-primary-color);
  border-color: var(--homefix-primary-color);
}

.service-btn-outline:hover {
  background: var(--homefix-primary-light);
}

/* Blog Card Styles */
.blog-card {
  background: var(--homefix-base-color);
}

.blog-category-badge {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color);
}

.blog-date {
  color: var(--homefix-text-color);
}

.blog-post-title-link {
  color: var(--homefix-heading-color);
}

.blog-post-title-link:hover {
  color: var(--homefix-primary-color);
}

.blog-excerpt {
  color: var(--homefix-text-color);
}

.blog-read-more {
  color: var(--homefix-primary-color);
}

.blog-read-more:hover {
  color: var(--homefix-link-hover-color);
}

.blog-author {
  color: var(--homefix-text-color);
}

/* Content Styles */
.content-meta {
  color: var(--homefix-text-color);
}

.category-link {
  color: var(--homefix-primary-color);
}

.category-link:hover {
  color: var(--homefix-link-hover-color);
}

.sidebar-title {
  color: var(--homefix-heading-color);
}

.sidebar-link {
  color: var(--homefix-text-color);
}

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

/* Single Post Styles */
.single-category-badge {
  background: var(--homefix-primary-light);
  color: var(--homefix-primary-color);
}

.single-post-title {
  color: var(--homefix-heading-color);
}

.single-post-meta {
  color: var(--homefix-text-color);
}

.single-author-name {
  color: var(--homefix-heading-color);
}

.single-share-text {
  color: var(--homefix-text-color);
}

.social-share-link {
  color: var(--homefix-primary-color);
}

.social-share-link:hover {
  color: var(--homefix-link-hover-color);
}

.tags-icon {
  color: var(--homefix-text-color);
}

.tags-label {
  color: var(--homefix-text-color);
}

.post-tag {
  background: var(--homefix-light-color);
  color: var(--homefix-text-color);
}

.post-tag:hover {
  background: var(--homefix-primary-light);
  color: var(--homefix-primary-color);
}

/* Content List Styles */
.content-title-link {
  color: var(--homefix-heading-color);
}

.content-title-link:hover {
  color: var(--homefix-primary-color);
}

.content-excerpt {
  color: var(--homefix-text-color);
}

.content-read-more {
  color: var(--homefix-primary-color);
}

.content-read-more:hover {
  color: var(--homefix-link-hover-color);
}

/* No Results Styles */
.no-results-title {
  color: var(--homefix-heading-color);
}

.no-results-text {
  color: var(--homefix-text-color);
}

.no-results-icon {
  color: #d1d5db;
}

/* Sidebar Styles */
.sidebar-widget {
  background: var(--homefix-light-color);
}

.sidebar-text {
  color: var(--homefix-text-color);
}

.category-chip {
  background: var(--homefix-base-color);
  color: var(--homefix-text-color);
}

.category-chip:hover {
  background: var(--homefix-primary-light);
  color: var(--homefix-primary-color);
}

.sidebar-thumbnail {
  background: var(--homefix-light-color);
}

.sidebar-placeholder {
  background: var(--homefix-light-color);
}

.sidebar-placeholder-icon {
  color: var(--homefix-text-color);
}

.sidebar-post-title {
  color: var(--homefix-heading-color);
}

.group:hover .sidebar-post-title {
  color: var(--homefix-primary-color);
}

.sidebar-post-date {
  color: var(--homefix-text-color);
}

.sidebar-newsletter {
  background: var(--homefix-primary-light);
  border: 1px solid var(--homefix-primary-color);
}

.sidebar-subscribe-btn {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color);
}

.sidebar-subscribe-btn:hover {
  background: var(--homefix-link-hover-color);
}

.sidebar-disclaimer {
  color: var(--homefix-text-color);
}

/* Featured Image Container */
.featured-image-container {
  background: var(--homefix-light-color);
}

/* Blog Author Description */
.blog-author-desc {
  color: var(--homefix-text-color);
}

/* Archive/Category Page Styles */
.archive-page-title {
  color: var(--homefix-heading-color);
}

.archive-description {
  color: var(--homefix-text-color);
}

.archive-info {
  color: var(--homefix-text-color);
}

.archive-category-badge {
  background: var(--homefix-primary-light);
  color: var(--homefix-primary-color);
}

.archive-date {
  color: var(--homefix-text-color);
}

.archive-post-title {
  color: var(--homefix-heading-color);
}

.archive-post-title:hover,
.archive-post-title a:hover {
  color: var(--homefix-primary-color);
}

.archive-excerpt {
  color: var(--homefix-text-color);
}

.archive-author {
  color: var(--homefix-text-color);
}

.archive-reading-time {
  color: var(--homefix-text-color);
}

/* Sidebar Heading */
.sidebar-heading {
  color: var(--homefix-heading-color);
}

.sidebar-count {
  color: var(--homefix-text-color);
}

/* Image Placeholder Styles */
.image-placeholder {
  background: var(--homefix-light-color);
}

.placeholder-icon {
  color: var(--homefix-text-color);
}

/* Search Results Styles */
.search-results-info {
  color: var(--homefix-text-color);
}

.search-result-link {
  color: var(--homefix-heading-color);
}

.search-result-link:hover {
  color: var(--homefix-primary-color);
}

.search-meta {
  color: var(--homefix-text-color);
}

.search-excerpt {
  color: var(--homefix-text-color);
}

.no-results-container {
  background: var(--homefix-light-color);
}

/* Comments Styles */
.comments-closed-notice {
  color: var(--homefix-text-color);
}

/* ===== Semantic Classes for Tailwind Replacement ===== */

/* Breadcrumb Styling */
.breadcrumb-container {
  background: var(--homefix-base-color);
  border-bottom: 1px solid var(--homefix-light-color);
}

.breadcrumb-link {
  color: #6b7280;
  transition: color 0.2s ease;
}

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

.breadcrumb-separator {
  color: #9ca3af;
}

.breadcrumb-current {
  color: var(--homefix-heading-color);
}

/* Card Base Styling */
.card-base {
  background: var(--homefix-base-color);
}

.card-light {
  background: var(--homefix-light-color);
}

/* Text Color Utilities */
.text-heading {
  color: var(--homefix-heading-color);
}

.text-body {
  color: var(--homefix-text-color);
}

/* .text-muted {
  color: #6b7280;
} */

.text-muted-light {
  color: var(--homefix-light-color);
}

/* Link Styling */
.link-primary {
  color: var(--homefix-primary-color);
  transition: color 0.2s ease;
}

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

.link-hover-primary {
  transition: color 0.2s ease;
}

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

/* Border Utilities */
.border-light {
  border-color: #e5e7eb;
}

.border-muted {
  border-color: #d1d5db;
}

/* Form Input Styling */
.form-input {
  border: 1px solid #d1d5db;
  background: var(--homefix-base-color);
  color: var(--homefix-text-color);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  border-color: var(--homefix-primary-color);
  box-shadow: 0 0 0 3px var(--homefix-primary-light);
  outline: none;
}

/* Rating Star Colors */
.star-filled {
  color: #facc15;
}

.star-empty {
  color: #d1d5db;
}

/* Status Colors */
.text-warning {
  color: #ca8a04;
}

.text-success {
  color: #16a34a;
}

.text-error {
  color: #dc2626;
}

.icon-success {
  color: #22c55e;
}

/* Avatar/Placeholder Styling */
.avatar-primary {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color);
}

.avatar-placeholder {
  background: #d1d5db;
  color: #6b7280;
}

/* Pagination Styling - Main styles in homefix-essential.css */
.pagination-btn-active {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color);
  border-color: var(--homefix-primary-color);
}

/* Newsletter Widget */
.newsletter-widget {
  background: var(--homefix-primary-light);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.newsletter-btn {
  background: var(--homefix-base-color);
  color: var(--homefix-primary-color);
  transition: background 0.2s ease;
  border: 1px solid var(--homefix-primary-color);
}

.newsletter-btn:hover {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color);
  border-color: var(--homefix-base-color);
}

/* Selection States */
.selection-border {
  border-color: #d1d5db;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.selection-border:hover {
  border-color: var(--homefix-primary-light);
}

.selection-border.selected,
.selection-active {
  border-color: var(--homefix-primary-color);
  background: var(--homefix-primary-light);
}

/* Service Colors - Dynamic categories */
.service-icon-blue {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.service-icon-yellow {
  background: rgba(234, 179, 8, 0.1);
  color: #ca8a04;
}

.service-icon-red {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.service-icon-green {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

/* FAQ Accordion */
.faq-item-border {
  border-bottom: 1px solid #e5e7eb;
}

/* Edit Link Styling */
.edit-link {
  color: var(--homefix-primary-color);
  transition: color 0.2s ease;
}

.edit-link:hover {
  color: var(--homefix-link-hover-color);
}

/* Hero Section Styling */
.hero-text-light {
  color: #ffffff;
}

.hero-overlay {
  background: #000000;
  z-index: 2;
}

/* Technician/Service Card Styling */
.technician-card,
.service-card {
  background: var(--homefix-base-color);
}

.category-link {
  color: var(--homefix-primary-color);
  font-weight: 600;
}

.category-link-muted {
  color: var(--homefix-text-color);
  transition: color 0.2s ease;
}

.category-link-muted:hover {
  color: var(--homefix-primary-color);
}

/* Category Badge */
.category-badge {
  background: var(--homefix-primary-light);
  color: var(--homefix-primary-color);
}

/* Image Placeholder */
.img-placeholder {
  background: #e5e7eb;
}

.img-placeholder-icon {
  color: #9ca3af;
}

/* FAQ Category Button Styling */
.faq-category-btn {
  background: #e5e7eb;
  color: #374151;
  transition: all 0.2s ease;
}

.faq-category-btn:hover {
  background: #d1d5db;
}

.faq-category-btn.active {
  background: var(--homefix-primary-color);
  color: #ffffff;
}

/* FAQ Item Styling */
.faq-item {
  background: var(--homefix-base-color);
}

.faq-question {
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: var(--homefix-light-color);
}

.faq-question span {
  color: var(--homefix-heading-color);
}

.faq-question i {
  color: #9ca3af;
}

.faq-answer p {
  color: var(--homefix-text-color);
}

/* ===== New Semantic Classes for Tailwind Color Replacement ===== */

/* Newsletter Box - replaces bg-blue-600, text-white, text-blue-100 */
.newsletter-box {
  color: #ffffff;
}

.newsletter-title {
  color: #ffffff;
}

.newsletter-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.newsletter-input {
  background: #ffffff;
  color: #1f2937;
}

/* Breadcrumb Links - replaces hover:text-white and text-white */
.breadcrumb-link-hover {
  color: inherit;
  transition: color 0.2s ease;
}

.breadcrumb-link-hover:hover {
  color: #ffffff;
}

/* Hero Text Contrast - for text on primary/dark backgrounds */
.hero-text {
  color: #ffffff;
}

.hero-text-muted {
  color: rgba(255, 255, 255, 0.8);
}

/* Overlay - replaces bg-black for overlay elements */
.overlay-dark {
  background: #000000;
}

/* Button Contrast - for buttons on primary backgrounds */
.btn-contrast {
  background: #ffffff;
  color: var(--homefix-primary-color);
}

.btn-contrast:hover {
  background: #f3f4f6;
}

/* Section Background Light - replaces bg-white for sections */
.section-bg-light {
  background: var(--homefix-base-color);
}

/* Text on Primary Background */
.text-on-primary {
  color: #ffffff;
}

/* Time Type Button - booking page */
.time-type-btn {
  background: var(--homefix-base-color);
  border-color: #d1d5db;
  color: var(--homefix-text-color);
}

.time-type-btn:hover {
  border-color: var(--homefix-primary-light);
}

.time-type-btn.active {
  background: var(--homefix-primary-color);
  border-color: var(--homefix-primary-color);
  color: #ffffff;
}

/* Contact Card Icon Background */
.contact-icon-primary {
  background: var(--homefix-primary-color);
  color: #ffffff;
}

.contact-icon-success {
  background: var(--homefix-success-color, #10b981);
  color: #ffffff;
}

.contact-icon-danger {
  background: var(--homefix-danger-color, #ef4444);
  color: #ffffff;
}

/* Footer Semantic Classes - replaces text-white, bg-white, hover:text-opacity-70 */
.footer-social-link {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color, #ffffff);
}

.footer-social-link:hover {
  background: var(--homefix-base-color);
  color: var(--homefix-primary-color);
}

.footer-heading {
  color: #ffffff;
}

.footer-text-muted {
  color: rgba(255, 255, 255, 0.8);
}

.footer-newsletter-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.footer-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter-input:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

/* page Booking */
.booking-hero-title {
  color: var(--homefix-base-color);
}

.booking-hero-subtitle {
  color: var(--homefix-base-color);
}

/* Sidebar Related */

.homefix-page-main .sidebar-inner .newsletter-widget h3,
.homefix-home .sidebar-inner .newsletter-widget h3 {
  color: var(--homefix-base-color);
  font-weight: 700;
}

.homefix-home .sidebar-inner .newsletter-widget p {
  color: var(--homefix-base-color);
}

/* ===== Comments Section Styling ===== */

/* Comments Container */
.comments-area {
  background: var(--homefix-base-color);
  border: 1px solid #e5e7eb;
}

/* Comments Title */
.comments-title {
  color: var(--homefix-heading-color);
  border-bottom: 2px solid var(--homefix-primary-color);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

/* Comment List */
.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Individual Comment Item */
.comment-item {
  background: var(--homefix-light-color);
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.comment-item:hover {
  border-color: var(--homefix-primary-light);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Nested Comments */
.comment-list .children {
  list-style: none;
  margin-left: 2rem;
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--homefix-primary-light);
}

.comment-list .children .comment-item {
  background: var(--homefix-base-color);
}

/* Comment Author Avatar */
.comment-author-avatar img {
  border: 3px solid var(--homefix-primary-light);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Comment Author Name */
.comment-author.vcard {
  color: var(--homefix-heading-color);
}

.comment-author.vcard a {
  color: var(--homefix-heading-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Comment Date/Time */
.comment-metadata a {
  color: #6b7280;
  text-decoration: none;
}

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

/* Comment Text Content */
.comment-text {
  color: var(--homefix-text-color);
  line-height: 1.7;
}

.comment-text p {
  margin-bottom: 0.75rem;
}

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

/* Reply Link */
.comment-reply-link {
  color: var(--homefix-primary-color);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease;
}

.comment-reply-link:hover {
  color: var(--homefix-link-hover-color);
}

.comment-reply-link::before {
  content: "\f3e5";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.75rem;
}

/* Comment Form */
.comment-form {
  margin-top: 2rem;
}

/* Comment Form Title */
.comment-reply-title {
  color: var(--homefix-heading-color);
  border-bottom: 2px solid var(--homefix-primary-color);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

/* Comment Form Labels */
.comment-form label {
  display: block;
  font-weight: 600;
  color: var(--homefix-heading-color);
  margin-bottom: 0.5rem;
}

.comment-form .required {
  color: #dc2626;
}

/* Comment Form Inputs */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  background: var(--homefix-base-color);
  color: var(--homefix-text-color);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--homefix-primary-color);
  box-shadow: 0 0 0 3px var(--homefix-primary-light);
}

.comment-form input[type="text"]::placeholder,
.comment-form input[type="email"]::placeholder,
.comment-form input[type="url"]::placeholder,
.comment-form textarea::placeholder {
  color: #9ca3af;
}

/* Comment Textarea */
.comment-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Comment Form Notes */
.comment-notes {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Logged In As */
.logged-in-as {
  color: var(--homefix-text-color);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

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

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

/* Submit Button */
.comment-form .submit,
.comment-form .form-submit input[type="submit"] {
  background: var(--homefix-primary-color);
  color: var(--homefix-base-color);
  border: none;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.comment-form .submit:hover,
.comment-form .form-submit input[type="submit"]:hover {
  background: var(--homefix-link-hover-color);
  transform: translateY(-1px);
}

.comment-form .submit:active,
.comment-form .form-submit input[type="submit"]:active {
  transform: translateY(0);
}

/* Comment Cookies Consent */
.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.comment-form-cookies-consent input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--homefix-primary-color);
}

.comment-form-cookies-consent label {
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--homefix-text-color);
}

/* Cancel Reply Link */
#cancel-comment-reply-link {
  color: #dc2626;
  font-size: 0.875rem;
  margin-left: 0.5rem;
  text-decoration: none;
}

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

/* Comments Navigation */
.comment-navigation {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  margin: 1.5rem 0;
}

.comment-navigation a {
  color: var(--homefix-primary-color);
  text-decoration: none;
  font-weight: 500;
}

.comment-navigation a:hover {
  color: var(--homefix-link-hover-color);
}

/* No Comments / Comments Closed */
.no-comments,
.comments-closed-notice {
  color: var(--homefix-text-color);
  font-style: italic;
  padding: 1rem;
  background: var(--homefix-light-color);
  border-radius: 0.5rem;
  text-align: center;
}

/* Pingback/Trackback Styling */
.comment-list .pingback,
.comment-list .trackback {
  background: var(--homefix-light-color);
  padding: 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.comment-list .pingback a,
.comment-list .trackback a {
  color: var(--homefix-primary-color);
}

/* ===== Archive & Category Page Styling ===== */

/* Archive Page Header */
.homefix-blog-archive .archive-info,
.homefix-blog-category .archive-info {
  color: var(--homefix-text-color);
}

/* Archive Post Cards */
.homefix-blog-archive .blog-card,
.homefix-blog-category article {
  background: var(--homefix-base-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.homefix-blog-archive .blog-card:hover,
.homefix-blog-category article:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Post Title Link Hover */
.archive-post-title a {
  color: var(--homefix-heading-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.archive-post-title a:hover {
  color: var(--homefix-primary-color);
}

/* WordPress Pagination - Consolidated styles in all-sections.css */

/* Category Hero Section */
.category-hero {
  background: var(--homefix-background);
  border-bottom-width: 1px;
  box-shadow: 0 10px 25px -5px var(--homefix-light-color);
}

/* Category Hero Text */
.category-hero h1 {
  color: var(--homefix-heading-color);
}

.category-hero-text-muted {
  color: var(--homefix-text-color);
}

/* Category Hero Breadcrumb */
.category-hero .breadcrumb-link-hover {
  color: var(--homefix-text-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.category-hero .breadcrumb-current {
  color: var(--homefix-text-color);
  font-weight: 500;
}

/* Category Hero Icon */
.category-hero .fas {
  color: var(--homefix-text-color);
}

/* Archive/Category Read More Link */
.homefix-blog-archive a.link-primary,
.homefix-blog-category a.link-primary {
  color: var(--homefix-primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.homefix-blog-archive a.link-primary:hover,
.homefix-blog-category a.link-primary:hover {
  color: var(--homefix-link-hover-color);
}

.homefix-blog-category .sidebar-inner .newsletter-widget p,
.homefix-page-main .sidebar-inner .newsletter-widget p {
  color: var(--homefix-base-color);
}