.blog-section {
    padding: 80px 0;
    /* Cambia a #000 si tu fondo es negro */
    /* background-color: #f9f9f9;  */
    background-color: var(--bkyuls-primary);
    /* font-family: "Inter", sans-serif; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-blog-section {
    width: 1054px;
}
.container-blog-section .main-title {
    color: #000000;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.subtitle {
    color: var(--berry-crush-light);
    font-size: 1.9rem;
    margin: 0;
    font-weight: 600;
}

.main-title {
    font-size: 2.15rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-top: 5px;
}

.view-all-btn {
    padding: 12px 25px;
    border: 1px solid var(--berry-crush-light);
    color: var(--berry-crush-light);
    text-decoration: none;
    border-radius: var(--border-pt);
    font-weight: 600;
    transition: all 500ms ease;
    background: #ffff;
}

.view-all-btn:hover {
    color: #fff;
    background-color: var(--berry-crush-light);
}

.blog-card {
    background: #fff;
    border-radius: var(--border-pt);
    overflow: hidden;
    margin: 25px 0px;
    position: relative;
    transition: transform 0.3s ease;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); */
    box-shadow: rgb(0 1 3 / 54%) 0px 4px 5px;
    width: 330px;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    position: relative;
    height: 400px;
}

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

.date-badge {
    width: 52px;
    background-color: white;
    border-radius: var(--border-pt);
    overflow: hidden;
    display: flex;
    position: absolute;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* font-family: "Inter", sans-serif; */
    top: 30px;
    left: 30px;
    z-index: 2;
}

.date-badge .day {
    background-color: #19375f;
    color: white;
    width: 100%;
    text-align: center;
    padding: 5px 0;
    font-weight: 800;
    font-size: 0.75rem;
}

.date-badge .month {
    color: #19375f;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-content {
    padding: 25px;
    margin-top: -50px;
    background: white;
    margin-left: 23px;
    margin-bottom: 5px;
    border-radius: 20px 0 0 20px;
    bottom: 20px;
    position: absolute;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.post-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0px;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Cambia a 1 si solo quieres una línea */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1.6em;
}

.post-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #777;
}

.post-meta i {
    color: #b73c6f;
}
.post-meta span {
    color: #b73c6f;
}

@media (max-width: 1280px) {
    .container-blog-section {
        width: 1052px;
    }
}

@media (max-width: 1080px) {
    .container-blog-section {
        width: 692px;
    }
}

@media (max-width: 768px) {
    .container-blog-section {
        width: 90%;
        overflow: hidden;
    }
    .blog-carousel {
        margin: auto;
        width: 302px !important;
    }
    .blog-header {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 27px;
        flex-wrap: wrap;
        gap: 30px;
    }
    .blog-card {
        width: 300px;
    }
    .blog-content {
    padding: 20px;
   
    margin-left: 34px;
  
}
}
