/* Modern SaaS-style CSS for Circuits Page */
:root {
  --primary-color: #d97706;
  --accent-color: #f59e0b;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --border-color: #e5e7eb;
  --success: #10b981;
  --error: #ef4444;
  --warning: #ea580c;
  --border-radius: 12px;
  --border-radius-lg: 16px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Filters Section */
.filters-section {
    background-color: var(--white);
    padding: 2rem 0;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 10;
}

.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.filter-group {
    position: relative;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

#article-search {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

#article-search:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.filter-dropdown {
    position: relative;
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.filter-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-top: 0.5rem;
    box-shadow: var(--shadow-md);
    z-index: 100;
    padding: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.filter-dropdown.active .filter-options {
    display: block;
}

.filter-option {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.filter-option:hover {
    background-color: var(--gray-50);
}

.filter-option input[type="checkbox"] {
    margin-right: 0.75rem;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    white-space: nowrap;
}

#sort-articles {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--white);
    font-size: 0.95rem;
    cursor: pointer;
}

#sort-articles:focus {
    outline: none;
    border-color: var(--primary-color);
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    min-height: 2.5rem;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    background: var(--gray-100);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.active-filter-tag .remove-filter {
    margin-left: 0.5rem;
    cursor: pointer;
    color: var(--gray-500);
}

.active-filter-tag .remove-filter:hover {
    color: var(--error);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sort-options {
        margin-left: 0;
        justify-content: flex-end;
    }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(253, 230, 138, 0.1) 0%, rgba(254, 243, 199, 0.1) 100%);
  color: var(--text-primary);
  padding: 30px 0 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  text-align: center;
}

.hero-content-wrapper {
  flex: 1;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
  padding: 0 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.1) 0%, rgba(217, 119, 6, 0.05) 100%);
  border: 1px solid rgba(217, 119, 6, 0.2);
  padding: 8px 16px;
  border-radius: 50px;
  margin: 0 auto 24px;
  font-size: 14px;
  font-weight: 500;
  max-width: fit-content;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  transition: all 0.3s ease;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.title-highlight {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0 auto 20px;
  opacity: 0.9;
  max-width: 700px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 0 auto 30px;
  flex-wrap: wrap;
}

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

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

.stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 4px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  opacity: 0.8;
  flex-wrap: wrap;
  padding: 0 10px;
}

.breadcrumb-link {
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.breadcrumb-link:hover {
  opacity: 1;
}

.breadcrumb-separator {
  opacity: 0.5;
}

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

/* Travel Guides Section */
.travel-guides-section {
  padding: 80px 0;
  background-color: var(--gray-50);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.guide-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

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

.guide-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.guide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.guide-category {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tag {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-tag.tips {
  background: rgba(217, 119, 6, 0.1);
  color: var(--primary-color);
  border-color: rgba(217, 119, 6, 0.2);
}

.category-tag.essentials {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.2);
}

.category-tag.travel-guide {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  border-color: rgba(59, 130, 246, 0.2);
}

.category-tag.itinerary {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
  border-color: rgba(168, 85, 247, 0.2);
}

.category-tag.things-to-do {
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
  border-color: rgba(236, 72, 153, 0.2);
}

.guide-content {
  padding: 24px;
}

.guide-meta {
  margin-bottom: 12px;
}

.guide-date {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.guide-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-excerpt {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.guide-link:hover {
  color: var(--accent-color);
  gap: 8px;
}

.guide-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.guide-link:hover::after {
  transform: translateX(2px);
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
  background: var(--white);
}

.pagination-link:hover {
  background: var(--gray-100);
  color: var(--text-primary);
}

.pagination-link.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.pagination-link.next {
  width: auto;
  padding: 0 16px;
}

/* Main Article Layout */
.main-article {
  padding: 40px 0 80px;
  background-color: var(--white);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Article Content */
.article-content {
  max-width: 100%;
}

.article-hero-image {
  width: 100%;
  height: 400px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}

.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-image {
  width: 45px;
  height: 35px;
  min-width: 45px;
  margin-right: 8px;
  border-radius: 3px;
  overflow: hidden;
  background-color: var(--gray-100);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.article-categories {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.article-categories .category-tag {
  background: transparent;
  color: #dc2626;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0;
  border: none;
}

.article-categories .category-tag.travel-guide {
  color: #dc2626;
}

.article-categories .category-tag.tips {
  color: #dc2626;
}

.article-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: 14px;
}

/* Style for article title link */
.article-title a {
  color: #2c3e50;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.3s ease;
  display: block;
  margin: 1rem 0;
}

.article-title a:hover {
  color: #d4a017; /* Gold color on hover */
  text-decoration: none;
}

/* Responsive styles */
@media (max-width: 768px) {
  .article-title a {
      font-size: 1.3rem;
  }
}
.article-excerpt {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* Sidebar */
.sidebar {
  width: 300px;
  height: fit-content;
  position: sticky;
  top: 20px; /* Adjust this value based on your header height */
  max-height: 100vh;
  overflow-y: auto;
  padding-bottom: 20px;
}

.sidebar-section {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 0;
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 0.25rem;
}

.sidebar-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
}

.recent-posts {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.recent-post {
  display: flex;
  margin-bottom: 0.4rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8em;
}

.recent-post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-post-title {
  font-size: 0.7rem;
  font-weight: 500;
  margin: 0 0 0.05rem 0;
  color: var(--text-primary);
  line-height: 1.1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-post-date {
  font-size: 0.65rem;
  color: var(--gray-500);
  line-height: 1.1;
  opacity: 0.9;
}

/* Blog Categories */
.categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-list li {
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85em;
}

.categories-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.categories-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 2px 0;
  font-size: 0.8rem;
  line-height: 1.2;
}

.categories-list a:hover {
  color: var(--primary-color);
  transform: translateX(4px);
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 3rem 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;
  border-radius: var(--border-radius);
  background-color: var(--white);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.pagination a:hover:not(.disabled) {
  background-color: var(--gray-50);
  border-color: var(--gray-300);
  color: var(--primary-color);
}

.pagination .active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.pagination .disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination .prev-next {
  min-width: auto;
  padding: 0 1rem;
}

.pagination .ellipsis {
  background: transparent;
  border: none;
  pointer-events: none;
}

/* Responsive Pagination */
@media (max-width: 640px) {
  .pagination a,
  .pagination span {
    min-width: 36px;
    height: 36px;
    padding: 0 0.5rem;
    font-size: 0.9rem;
  }
  
  .pagination .prev-next {
    padding: 0 0.75rem;
  }
}

.categories-list a span {
  background-color: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.categories-list a:hover span {
  background-color: var(--primary-color);
  color: white;
}

/* View More Link Styles */
.read-more {
  margin-top: 2rem;
  text-align: left;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: white;
  color: var(--primary-color);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 2px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
}

.read-more-link i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.read-more-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.read-more-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  color: white;
  border-color: transparent;
}

.read-more-link:hover i {
  transform: translateX(4px);
}

.read-more-link:hover::before {
  opacity: 1;
}

.read-more-link:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.pagination-link,
.pagination-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: var(--white);
  color: var(--gray-600);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.pagination-link:hover:not(.active),
.pagination-next:hover {
  background-color: var(--gray-50);
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.pagination-link.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  border-color: transparent;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.pagination-next {
  width: auto;
  padding: 0 1.25rem;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  border: none;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.pagination-next::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.pagination-next:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-md);
}

.pagination-next:hover::before {
  opacity: 1;
}

.pagination-next i {
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.pagination-next:hover i {
  transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .pagination {
    gap: 0.5rem;
  }
  
  .pagination-link,
  .pagination-next {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  
  .pagination-next {
    padding: 0 0.75rem;
  }
}

/* Responsive Design for Mobile */
@media (max-width: 1024px) {
  .guides-grid {
    grid-template-columns: 1fr 280px;
    gap: 40px;
  }

  .section-title {
    font-size: 2rem;
  }

  .article-layout {
    grid-template-columns: 1fr 280px;
    gap: 40px;
  }

  .article-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .guides-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero {
    min-height: 40vh;
  }

  .hero-content {
    padding: 0 10px;
  }

  .hero-badge {
    margin: 0 auto 16px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.875rem;
  }

  .breadcrumb {
    padding: 0 5px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sidebar {
    position: static;
    order: -1;
  }

  .article-hero-image {
    height: 300px;
  }

  .article-title {
    font-size: 1.75rem;
  }

  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .travel-guides-section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .guides-grid {
    gap: 20px;
  }

  .guide-card {
    border-radius: var(--border-radius);
  }

  .guide-image {
    height: 200px;
  }

  .guide-content {
    padding: 20px;
  }

  .guide-title {
    font-size: 1.1rem;
  }

  .main-article {
    padding: 20px 0 60px;
  }

  .article-hero-image {
    height: 250px;
    margin-bottom: 20px;
  }

  .article-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }

  .recent-post {
    gap: 12px;
  }

  .recent-post-image {
    width: 60px;
    height: 60px;
  }

  .recent-post-title {
    font-size: 0.875rem;
  }
}

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

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
/* Styles pour les catégories */
.categories-widget {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 10px;
}

.widget-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #e7b13c;
}

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

.category-item {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.category-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s ease;
    font-size: 15px;
}

.category-link:hover, .category-link.active {
    color: #e7973c;
    padding-left: 8px;
}

.category-count {
    background: #f5f5f5;
    color: #777;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.category-link:hover .category-count,
.category-link.active .category-count {
    background: #e7973c;
    color: #fff;
}

/* Style pour la liste des articles */
.article-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.article-card {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.article-image {
    flex: 0 0 300px;
    max-height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.article-content {
    padding: 25px;
    flex: 1;
}

.article-meta {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #777;
}

.article-date {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.article-date i {
    margin-right: 5px;
    color: #e7b93c;
}

.article-categories {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
}

.article-category {
    display: inline-block;
    background: #f5f5f5;
    color: #555;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 3px;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.article-category:hover {
    background: #e74c3c;
    color: #fff;
    text-decoration: none;
}

/* Style responsive */
@media (max-width: 768px) {
    .article-card {
        flex-direction: column;
    }
    
    .article-image {
        flex: 0 0 200px;
        width: 100%;
    }
}
