/* NOTICIAS CAULP CSS */
body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #1f2933;
    margin: 0;
}

/* HERO */
.noticias-hero {
    height: 80vh;
    background: url('/public/recursos/cards/blog.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.noticias-hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(14, 91, 179, 0.778), rgba(11, 28, 45, 0.608));
}

.hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: .9;
}

/* BLOG CONTAINER */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 0%;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* BLOG CARDS */
.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-image-container {
    overflow: hidden;
    height: 250px;
    background: #f0f0f0;
    position: relative;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .card-image {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #667085;
}

.card-meta i {
    color: #2563eb;
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #101828;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title.highlight {
    color: #2563eb;
}

.card-description {
    font-size: 0.95rem;
    color: #475467;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f2f4f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 10px;
}

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

.tag {
    background: #f2f4f7;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    color: #344054;
    font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.22rem;
    }

    .blog-container {
        padding: 3rem 5%;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}