/* VCON News Cards Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&family=Roboto:wght@300;400;500;700&display=swap');

.vuh-news-cards {
    width: 100%;
    padding: 40px;
    padding-top: 60px;
    background-color: #F2F2F2;
    font-family: 'Roboto', sans-serif;
}

/* News Header Title */
.vuh-news-header {
    margin-bottom: 50px;
}

.vuh-news-header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vuh-news-main-title {
    font-size: 48px;
    margin: 0;
    color: #54595F;
    letter-spacing: 2px;
    font-family: 'Inter', sans-serif;
}

.vuh-news-main-title .text-light {
    font-weight: 300;
}

.vuh-news-main-title .text-semibold {
    font-weight: 600;
    color: #252aa5;
}

.vuh-news-explore-link {
    font-size: 18px;
    font-weight: 500;
    color: #252aa5;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #252aa5;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.vuh-news-explore-link:hover {
    background: #252aa5;
    color: #ffffff;
    transform: translateX(5px);
}

.vuh-news-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.vuh-news-card {
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vuh-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.vuh-news-card:hover .vuh-news-arrow {
    background: #252aa5;
}

.vuh-news-card:hover .vuh-news-arrow::after {
    color: #ffffff;
}

.vuh-news-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

.vuh-news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vuh-news-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #252aa5 0%, #3C48CB 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    text-align: center;
    padding: 20px;
}

.vuh-news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #7A7A7A;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vuh-news-badge::before {
    color: #252aa5;
    font-size: 14px;
}

.vuh-news-content {
    padding: 30px 25px 70px 25px;
    background: #ffffff;
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vuh-news-title {
    font-size: 18px;
    font-weight: 700;
    color: #54595F;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    font-family: 'Inter', sans-serif;
}

.vuh-news-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #7A7A7A;
    margin: 0;
}

.vuh-news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.vuh-news-date {
    font-size: 14px;
    color: #999;
}

.vuh-news-arrow {
    width: 32px;
    height: 32px;
    background: #ffffff;
    border: 2px solid #252aa5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    position: absolute;
    bottom: 25px;
    right: 25px;
}

.vuh-news-arrow::after {
    content: '›';
    font-size: 20px;
    color: #252aa5;
    font-weight: 300;
    transition: color 0.3s ease;
    line-height: 1;
    display: block;
}

/* No posts message */
.vuh-news-no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #7A7A7A;
    font-size: 18px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .vuh-news-container {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .vuh-news-cards {
        padding: 20px;
    }

    .vuh-news-header {
        margin-bottom: 30px;
    }

    .vuh-news-header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .vuh-news-main-title {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .vuh-news-explore-link {
        font-size: 16px;
        padding: 8px 16px;
    }

    .vuh-news-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vuh-news-content {
        padding: 25px 20px 60px 20px;
    }

    .vuh-news-title {
        font-size: 16px;
    }

    .vuh-news-excerpt {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .vuh-news-cards {
        padding: 15px;
    }

    .vuh-news-header {
        margin-bottom: 25px;
    }

    .vuh-news-main-title {
        font-size: 24px;
        letter-spacing: 0.5px;
    }

    .vuh-news-explore-link {
        font-size: 14px;
        padding: 6px 14px;
    }
    
    .vuh-news-content {
        padding: 20px 15px 55px 15px;
    }

    .vuh-news-title {
        font-size: 14px;
    }

    .vuh-news-excerpt {
        font-size: 12px;
    }

    .vuh-news-badge {
        font-size: 12px;
        padding: 4px 10px;
    }

    .vuh-news-arrow {
        width: 28px;
        height: 28px;
        bottom: 20px;
        right: 20px;
    }
}

/* News Archive Grid - 3 columnas fijas */
.vuh-news-archive-container {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 1024px) {
    .vuh-news-archive-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .vuh-news-archive-container {
        grid-template-columns: 1fr !important;
    }
}

/* Paginación */
.vuh-news-pagination {
    max-width: 1400px;
    margin: 50px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0 40px;
}

.vuh-pagination-link,
.vuh-pagination-current,
.vuh-pagination-dots {
    min-width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.vuh-pagination-link {
    background: #ffffff;
    color: #54595F;
    border: 2px solid #E5E5E5;
}

.vuh-pagination-link:hover {
    background: #252aa5;
    color: #ffffff;
    border-color: #252aa5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 42, 165, 0.3);
}

.vuh-pagination-current {
    background: #252aa5;
    color: #ffffff;
    border: 2px solid #252aa5;
    box-shadow: 0 4px 12px rgba(37, 42, 165, 0.3);
}

.vuh-pagination-dots {
    background: transparent;
    color: #7A7A7A;
    border: none;
    cursor: default;
}

.vuh-pagination-prev,
.vuh-pagination-next {
    padding: 0 20px;
    font-weight: 600;
}

.vuh-pagination-prev:hover,
.vuh-pagination-next:hover {
    background: #252aa5;
    color: #ffffff;
}

@media (max-width: 768px) {
    .vuh-news-pagination {
        padding: 0 20px;
        gap: 5px;
    }

    .vuh-pagination-link,
    .vuh-pagination-current,
    .vuh-pagination-dots {
        min-width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .vuh-pagination-prev,
    .vuh-pagination-next {
        padding: 0 15px;
    }
}