.notimupa-container {
    max-width: 1200px;
    margin: 0 auto;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.notimupa-carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.notimupa-carousel-track {
    display: flex;
    gap: 20px;
}

.notimupa-carousel-track:hover {
    animation-play-state: paused !important;
}

.notimupa-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.notimupa-card-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notimupa-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
	object-position:top;
	transition: transform 0.3s ease;
}

.notimupa-card:hover .notimupa-card-image {
    transform: scale(1.05);
}

.notimupa-card-content {
    padding: 15px;
    height: 220px;
    display: flex;
    flex-direction: column;
}

.notimupa-card-title {
    font-size: 1.1rem;
    padding-bottom: 50px;
	
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.notimupa-card-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.notimupa-card-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notimupa-read-more {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: auto;
}

.notimupa-read-more:hover {
    text-decoration: underline;
}

.notimupa-loading,
.notimupa-error {
    text-align: center;
    padding: 20px;
    color: #666;
}

.notimupa-error {
    color: #d32f2f;
    background-color: #ffebee;
    border-radius: 8px;
}

/* Vista detallada */
.notimupa-detail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f8f8;
	border-radius:45px;
    z-index: 1000;
    overflow-y: auto;
    padding: 40px;
}

.notimupa-header {
    max-width: 1000px;
    margin: 0 auto 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.notimupa-back-button {
    display: inline-flex;
    align-items: center;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 1rem;
}

.notimupa-back-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.notimupa-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.notimupa-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.notimupa-featured-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
}

.notimupa-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
	object-position:top;
    border-radius: 8px;
}

.notimupa-content {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.1rem;
    color: #444;
}

.notimupa-content img {
    display: none !important;
}

.notimupa-content p {
    margin-bottom: 20px;
    word-wrap: break-word;
}

.notimupa-gallery {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
}

.notimupa-gallery h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.notimupa-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.notimupa-gallery-item {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.notimupa-gallery-item:hover {
    transform: scale(1.05);
}

.notimupa-gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block !important;
}

/* Modal */
.notimupa-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    display: flex;
}

.notimupa-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.notimupa-modal-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

.notimupa-modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.notimupa-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
}

.notimupa-modal-prev {
    left: 20px;
}

.notimupa-modal-next {
    right: 20px;
}

/* Animación del carrusel */
@keyframes notimupa-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 10 - 20px * 10));
    }
}

/* Responsive */
@media (max-width: 768px) {
    .notimupa-card {
        flex: 0 0 250px;
    }
    
    .notimupa-title {
        font-size: 1.5rem;
    }
    
    .notimupa-content {
        font-size: 1rem;
    }
    
    .notimupa-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .notimupa-gallery-item img {
        height: 120px;
    }
    
    @keyframes notimupa-scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-250px * 10 - 20px * 10));
        }
    }
}

@media (max-width: 480px) {
    .notimupa-card {
        flex: 0 0 200px;
    }
    
    .notimupa-card-content {
        height: 240px;
    }
    
    .notimupa-title {
        font-size: 1.3rem;
    }
    
    .notimupa-content {
        font-size: 0.95rem;
    }
    
    .notimupa-gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    @keyframes notimupa-scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 10 - 20px * 10));
        }
    }
}