
  :root {
    --primary: #2c3e50;
    --secondary: #e74c3c;
    --accent: #3498db;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --text: #333333;
    --text-light: #7f8c8d;
    --background: #ffffff;
    --background-alt: #f9f9f9;
    --border: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.1);
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }

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

  body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    line-height: 1.6;
  }

  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    margin-bottom: 1rem;
  }

  h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
  }

  h2 {
    font-size: 2rem;
    font-weight: 700;
  }

  h3 {
    font-size: 1.5rem;
    font-weight: 600;
  }

  p {
    margin-bottom: 1rem;
  }

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

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

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

  .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.1;
  }

  .section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    font-size: 2.2rem;
  }

  .section-title:after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    margin: 1rem auto 0;
  }

  /* Hero Section */
  .blog-hero {
    background-color: var(--primary);
    color: var(--light);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .blog-hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  }

  .blog-hero .subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
  }

  /* Featured Post */
  .featured-post {
    padding: 4rem 0;
    background-color: var(--background);
  }

  .featured-article {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

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

  .article-content {
    padding: 2rem;
  }

  .article-category {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .article-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .btn-read-more {
    display: inline-flex;
    align-items: center;
    color: var(--secondary);
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
  }

  .btn-read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
  }

  .btn-read-more:hover {
    color: var(--primary);
  }

  .btn-read-more:hover i {
    transform: translateX(5px);
  }

  /* Latest Posts */
  .latest-posts {
    padding: 4rem 0;
    background-color: var(--background-alt);
  }

  .posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .post-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }

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

  .post-content {
    padding: 1.5rem;
  }

  .post-category {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .post-meta {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
  }

  .pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
  }

  .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: white;
    color: var(--text);
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .page-link.active {
    background-color: var(--secondary);
    color: white;
  }

  .page-link:hover:not(.active) {
    background-color: var(--light);
  }

  /* Categories Section */
  .categories-section {
    padding: 4rem 0;
    background-color: var(--background);
    position: relative;
  }

  .categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text);
  }

  .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: var(--secondary);
  }

  .category-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
  }

  .category-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
  }

  .post-count {
    color: var(--text-light);
    font-size: 0.85rem;
  }

  /* Newsletter Section */
  .newsletter-section {
    padding: 4rem 0;
    background-color: var(--primary);
    color: white;
  }

  .newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
  }

  .newsletter-content h2 {
    color: white;
    margin-bottom: 1.5rem;
  }

  .newsletter-form {
    margin-top: 2rem;
    text-align: left;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
  }

  .form-group input[type="email"] {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
  }

  .preference-title {
    margin-bottom: 1rem;
    font-weight: 600;
  }

  .checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .checkbox-item {
    display: flex;
    align-items: center;
  }

  .checkbox-item input {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
  }

  .btn-subscribe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .btn-subscribe i {
    margin-left: 0.5rem;
  }

  .btn-subscribe:hover {
    background-color: #c0392b;
  }

  /* Responsive Styles */
  @media (min-width: 768px) {
    h1 {
      font-size: 3.5rem;
    }

    .featured-article {
      flex-direction: row;
    }

    .article-image {
      width: 50%;
    }

    .article-image img {
      height: 100%;
    }

    .article-content {
      width: 50%;
    }

    .posts-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .checkbox-group {
      grid-template-columns: repeat(4, 1fr);
    }
  }

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

    .categories-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
