/*
 * Morris Opazo - Carousel de Blog Externo
 * Estilos principales del carousel
 */
.external-blog-carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 20px auto;
}

.carousel-container {
    overflow: hidden;
    border-radius: 8px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
    height: auto;
    display: flex;
    align-items: stretch;
}

/* Responsive: Mostrar múltiples slides */
@media (min-width: 768px) {
    .carousel-slide {
        min-width: 50%; /* 2 slides en tablet */
    }
}

@media (min-width: 1024px) {
    .carousel-slide {
        min-width: 33.333%; /* 3 slides en desktop */
    }
}
.padding-ce{
	padding:2em;
}
.external-post-item {
    display: block;
    text-decoration: none !important;
    color: inherit;
    border: 1px solid #FFFFFF2B;
    border-radius: 8px;
    padding: 0px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 98%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    margin-top: 8px;	
}

.external-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
}

.post-image {
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
}

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: transform 0.3s ease;
}

.external-post-item:hover .post-image img {
    transform: scale(1.05);
}

.post-image-placeholder {
    font-style: italic;
    font-size: 14px;
    color: #999;
    width: 100%;
    height: 200px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #dee2e6;
    margin-bottom: 15px;
}

.post-title {
    color: #333;
    margin: 10px 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
}

.external-post-item:hover .post-title {
    color: #0073aa;
}

.post-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.post-date {
    font-size: 12px;
    margin-top: 10px;
    color: #999;
    font-weight: 500;
}

/* Botones de navegación */
.carousel-btn {
    position: absolute;
    top: 26%;
    transform: translateY(-50%);
    background: #FF9900 !important;
    color: white;
    border: none;
    font-size: 25px !important;
    padding: 10px 10px !important;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
    line-height: 1;
}
.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

.carousel-prev {
    left: -10px !important;
}

.carousel-next {
    right: 0px;
}

/* Dots indicadores */
.carousel-dots {
    text-align: center;
    margin-top: 15px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    border: none;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: #999;
    transform: scale(1.1);
}

.dot.active {
    background-color: #0073aa;
    transform: scale(1.2);
}

.dot:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .carousel-btn {
        font-size: 20px;
        padding: 8px 12px;
    }
    
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }
    
    .post-title {
        font-size: 16px;
    }
    
    .external-post-item {
        padding: 12px;
    }
    
    .post-image img {
        height: 180px;
    }
    
    .post-image-placeholder {
        height: 180px;
    }
}