* {
    font-family: 'Lufga', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}


  .blog-highlight {
    padding: 150px 0;
    text-align: center;
  }

  .blog-title {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 70px;
    line-height: 150%;
  }

  .featured-post {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: visible;
  }
  .featured-post::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #6545E538;
    border-bottom-right-radius: 40px;
    border-top-left-radius: 40px;
    pointer-events: none;
  }

  .featured-post img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom-right-radius: 40px;
    border-top-left-radius: 40px;
  }

  .featured-post::before{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background: #6545E538;
  }


  .featured-card {
    position: absolute;
    bottom: -40px;
    left: 40px;
    background: white;
    padding: 20px;
    border-bottom-right-radius:24px;
    border-top-left-radius:24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 500px;
    z-index: 2;
  }

  .featured-card .category {
    background-color: #6545E5;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 500;

  }

  .featured-card .post-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 150%;
  }

  .author-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #9D9D9D;
    font-weight: 400;
    line-height: 150%;
  }

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

  .latest-posts {
    padding: 150px 0;
  }

  .latest-posts h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .post-card {
    background-color: #FFFFFF;
    border-top-left-radius: 12px;
    border-bottom-right-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
    padding-bottom: 16px;
    border: 16px solid #FFFFFF;
  }

  .post-card:hover {
    transform: translateY(-5px);
  }

  .post-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
  }

  .post-card .categoria {
    display: inline-block;
    margin: 16px;
    padding: 4px 10px;
    background-color: #F7F5FC;
    color: #6545E5;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 6px;
  }

  .post-card h3 {
    font-size: 1rem;
    color: #343434;
    margin: 0 16px 10px;
    font-weight: 400;
  }

  .post-card p {
    font-size: 0.875rem;
    color: #666;
    margin: 0 16px 16px;
  }

  .post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 16px;
    font-size: 16px;
    color: #9D9D9D;
    font-weight: 500;
  }

  .post-meta .avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
  }

  .post-card a {
    display: block;
    margin: 16px;
    color: #6545E5;
    font-weight: 400;
    font-size: 16px;
    text-decoration: none;
  }

   /* CTA Section */
 .cta {
    background: #7b3aed;
    color: #fff;
    text-align: center;
    padding: 50px 20px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cta p {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #e0e0e0;
    text-align: center;
}

.cta h2 {
    font-size: 48px;
    margin-bottom: 35px;
    color: #fff;
    text-align: center;
    line-height: 150%;
    font-weight: 700;
}


.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta .btn {
    padding: 12px 25px;
    border-radius: 0px;
    border-bottom-right-radius: 16px;
    border-top-left-radius: 16px;
    font-size: 1rem;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.cta .btn.primary {
    background: #fff;
    color: #7b3aed;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
}

.cta .btn.primary:hover {
    background: #e5e5e5;
}

.cta .btn.secondary {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
}

.cta .btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1024px) {
    .featured-post, .posts-grid {
        flex-direction: column;
        align-items: center;
    }

    .blog-title, .latest-posts h2 {
        font-size: 48px;
    }

    .featured-card .post-title, .post-card h3 {
        font-size: 20px;
    }

    .featured-card .category, .post-card .categoria {
        font-size: 12px;
    }

    .cta h2 {
        font-size: 36px;
    }

    .cta p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .blog-title, .latest-posts h2 {
        font-size: xx-large;
        text-align: center;
    }

    .featured-card .post-title, .post-card h3 {
        font-size: 18px;
    }

    .featured-card .category, .post-card .categoria {
        font-size: 10px;
    }

    .cta h2 {
        font-size: x-large;
    }

    .cta p {
        font-size: medium;
    }
}


