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

:root {
  --primary: #2c3e50;
  --secondary: #3498db;
  --accent: #e74c3c;
  --light: #f8f9fa;
  --dark: #2c3e50;
  --gray: #7f8c8d;
  --light-gray: #ecf0f1;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --max-width: 1200px;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--primary);
  color: white;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;
}

.btn:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

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

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

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--dark);
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
}

.section-subtitle {
  color: var(--gray);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Header & Navigation */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--secondary);
}

.logo i {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

.nav-links a:hover {
  color: var(--secondary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  visibility: hidden;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
}

.search-btn:hover {
  color: var(--secondary);
}
/* 
 .mobile-toggle {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
} */
/* Hero Section */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ecf0f1 100%);
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--dark);
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Featured Posts */
.featured-posts {
  padding: 80px 0;
  background-color: white;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.post-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background-color: white;
}

.post-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.post-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.post-content {
  padding: 25px;
  cursor: pointer;
}

.post-category {
  display: inline-block;
  padding: 5px 12px;
  background-color: var(--light-gray);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.post-category.tech {
  background-color: #e1f5fe;
  color: #0277bd;
}

.post-category.lifestyle {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.post-category.business {
  background-color: #f3e5f5;
  color: #7b1fa2;
}

.post-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark);
  line-height: 1.4;
}

.post-excerpt {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray);
  padding-top: 15px;
  border-top: 1px solid var(--light-gray);
}

.post-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

/* Main Content & Sidebar */
.main-content {
  padding: 60px 0 80px;
  background-color: #f9f9f9;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

/* Recent Articles */
.recent-articles .post-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  margin-bottom: 30px;
}

.recent-articles .post-image {
  height: 100%;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.recent-articles .post-content {
  padding: 20px;
}

/* Sidebar */
.sidebar {
  padding-left: 30px;
  border-left: 1px solid var(--light-gray);
}

.sidebar-widget {
  background-color: white;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.widget-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--dark);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-gray);
}

.categories-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  justify-content: space-between;
}

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

.category-count {
  background-color: var(--light-gray);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-input {
  padding: 12px 15px;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-size: 1rem;
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary);
}

.popular-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 8px 15px;
  background-color: var(--light-gray);
  border-radius: 20px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.tag:hover {
  background-color: var(--secondary);
  color: white;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: block;
}

.footer-logo span {
  color: var(--secondary);
}

.footer-about p {
  color: #bdc3c7;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary);
  transform: translateY(-5px);
}

.footer-links h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  color: #bdc3c7;
}

.footer-links ul li a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #bdc3c7;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sidebar {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--light-gray);
    padding-top: 30px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

/* Mobile toggle button */
.mobile-toggle {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.mobile-toggle span {
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: all 0.3s ease;
  left: 0;
}

.mobile-toggle span:nth-child(1) {
  top: 0;
}
.mobile-toggle span:nth-child(2) {
  top: 9px;
}
.mobile-toggle span:nth-child(3) {
  top: 18px;
}

/* X animation */
.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* Mobile menu animation */
@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.6rem;
  }

  .hero {
    padding: 60px 0 40px;
  }

  .featured-posts,
  .main-content {
    padding: 50px 0;
  }
}

/* Technology Page - Clean Version */
.tech-header {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
  padding: 80px 0 60px;
  border-bottom: 1px solid #e1e8ed;
}

.tech-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.tech-intro h1 {
  font-size: 3rem;
  color: #2d3748;
  margin-bottom: 1rem;
  font-weight: 700;
}

.tech-intro h1 i {
  color: #4299e1;
  margin-right: 15px;
}

.tech-intro .tagline {
  font-size: 1.3rem;
  color: #718096;
  line-height: 1.5;
}

/* Main Content */
.tech-main {
  padding: 60px 0;
  background: #fff;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* Article Cards */
.tech-article {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #edf2f7;
}

.tech-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: #cbd5e0;
}

.tech-article-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.tech-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #4299e1;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.tech-article-content {
  padding: 25px;
}

.tech-article-content h3 {
  font-size: 1.4rem;
  color: #2d3748;
  margin-bottom: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.tech-excerpt {
  color: #718096;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* Meta Information */
.tech-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #a0aec0;
}

.tech-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tech-meta i {
  font-size: 0.9rem;
}

/* Tags */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background: #edf2f7;
  color: #4a5568;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Footer Link */
.tech-footer {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 24px;
  transition: all 0.3s ease;
}

/* Loading State */
.loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #a0aec0;
}

.loading i {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #4299e1;
}

/* No Articles State */
.no-articles,
.error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: #718096;
}

.no-articles i,
.error i {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #cbd5e0;
}

.no-articles h3,
.error h3 {
  color: #4a5568;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .tech-header {
    padding: 60px 0 40px;
  }

  .tech-intro h1 {
    font-size: 2.2rem;
  }

  .tech-intro .tagline {
    font-size: 1.1rem;
  }

  .tech-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .tech-article-image {
    height: 180px;
  }

  .tech-article-content {
    padding: 20px;
  }

  .tech-article-content h3 {
    font-size: 1.2rem;
  }
}

/* Lifestyle Page - Centered Version */
.lifestyle-hero {
  background: linear-gradient(135deg, #f0fff4 0%, #e6fffa 100%);
  padding: 100px 0 80px;
  text-align: center;
  border-bottom: 1px solid #c6f6d5;
}

.lifestyle-intro {
  max-width: 800px;
  margin: 0 auto;
}

.lifestyle-intro h1 {
  font-size: 3.5rem;
  color: #2f855a;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.lifestyle-intro h1 i {
  color: #38a169;
  margin-right: 15px;
}

.lifestyle-tagline {
  padding: 2px;
  display: inline-block;
}

.lifestyle-tagline p {
  font-size: 1.5rem;
  color: #2f855a;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

/* Lifestyle Article Cards */
.lifestyle-main {
  padding: 60px 0;
  background: #fff;
}

.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.lifestyle-article {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #c6f6d5;
}

.lifestyle-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(56, 161, 105, 0.15);
  border-color: #9ae6b4;
}

.lifestyle-article-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.lifestyle-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #38a169;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lifestyle-article-content {
  padding: 25px;
}

.lifestyle-article-content h3 {
  font-size: 1.4rem;
  color: #2d3748;
  margin-bottom: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.lifestyle-excerpt {
  color: #718096;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* Meta Information */
.lifestyle-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #a0aec0;
}

.lifestyle-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lifestyle-meta i {
  font-size: 0.9rem;
}

/* Tags */
.lifestyle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lifestyle-tag {
  background: #f0fff4;
  color: #2f855a;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #c6f6d5;
}

/* Footer Link */
.lifestyle-footer {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* Loading State */
.loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #a0aec0;
}

.loading i {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #38a169;
}

/* No Articles State */
.no-articles,
.error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: #718096;
}

.no-articles i,
.error i {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.no-articles i {
  color: #9ae6b4;
}

.error i {
  color: #fc8181;
}

.no-articles h3,
.error h3 {
  color: #4a5568;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .lifestyle-hero {
    padding: 80px 0 60px;
  }

  .lifestyle-intro h1 {
    font-size: 2.5rem;
  }

  .lifestyle-tagline {
    padding: 15px;
  }

  .lifestyle-tagline p {
    font-size: 1.2rem;
  }

  .lifestyle-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .lifestyle-article-image {
    height: 180px;
  }

  .lifestyle-article-content {
    padding: 20px;
  }

  .lifestyle-article-content h3 {
    font-size: 1.2rem;
  }
}


/* Newsletter Form Styles */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form .form-input {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.newsletter-message {
  padding: 10px;
  border-radius: 4px;
  font-size: 14px;
}

.newsletter-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.newsletter-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Newsletter Message Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.newsletter-message {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  margin-top: 10px;
  animation: fadeIn 0.3s ease;
}

.newsletter-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.newsletter-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-form .form-input {
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.newsletter-form .form-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.newsletter-form button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Add to your style.css file */

/* Author styling for article cards */
.post-author {
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
  margin-left: 10px;
}

/* Author styling for full article page */
.article-author {
  color: #666;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.article-author i {
  color: #4a90e2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .post-author {
    display: block;
    margin-left: 0;
    margin-top: 5px;
  }
  
  .article-meta {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* Add to your blog.css or style.css file */

/* Related articles author styling */
.related-author {
  color: #666;
  font-size: 0.85rem;
  font-style: italic;
  margin-left: 8px;
}

.related-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 0.85rem;
  margin-top: 8px;
}

/* Responsive adjustments for related articles */
@media (max-width: 768px) {
  .related-meta {
    gap: 6px;
    font-size: 0.8rem;
  }
  
  .related-author {
    margin-left: 0;
    margin-top: 4px;
    display: block;
    width: 100%;
  }
}

/* Optional: Add subtle style to related author */
.related-author:hover {
  color: #4a90e2;
}


/* Health page specific styles */
.health-hero {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.health-intro h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.health-intro i {
    margin-right: 15px;
}

.health-tagline p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 10px;
}

.health-badge {
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    position: absolute;
    top: 15px;
    left: 15px;
}

.health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.health-article {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.health-article:hover {
    transform: translateY(-5px);
}

.health-article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.health-article-content {
    padding: 20px;
}

.health-article-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    color: #1f2937;
}

.health-excerpt {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.health-meta {
    display: flex;
    gap: 15px;
    color: #9ca3af;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.health-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.health-tag {
    background: #f3f4f6;
    color: #4b5563;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.health-footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
}

