.mc-carrusel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.mc-carrusel-track-container {
    overflow: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

.mc-carrusel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease-in-out;
}

/* Tarjeta individual */
.mc-carrusel-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    flex: 0 0 100%; /* Por defecto móvil: 1 elemento */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto Hover elegante */
.mc-carrusel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Miniatura por defecto (Desktop y Tablet) */
.mc-card-img img {
    width: 200px;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin: 0 auto 12px auto;
}

/* Contenido de texto */
.mc-card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mc-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.mc-card-title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s;
}

.mc-card-title a:hover {
    color: #3182ce;
}

.mc-card-excerpt {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 15px;
}

/* Footer de la tarjeta para alinear el botón al final */
.mc-card-footer {
    margin-top: auto;
}

.mc-btn-ver-mas {
    display: inline-block;
    background-color: #ff431e;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
}

.mc-btn-ver-mas:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Flechas de navegación */
.mc-carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffffff;
    border: 1px solid #cbd5e0;
    color: #2d3748;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.2s, color 0.2s;
}

.mc-carrusel-btn:hover {
    background-color: #2b6cb0;
    color: #ffffff;
    border-color: #2b6cb0;
}

.mc-prev { left: 0; }
.mc-next { right: 0; }

/* Responsive MÓVIL (Pantallas menores a 768px): Ajustar miniatura al ~80% o ancho fluido */
@media (max-width: 767px) {
    .mc-card-img img {
        width: 80%;           /* Ocupa el 80% del ancho de la tarjeta */
        max-width: 280px;     /* Límite máximo para que no se deforme en pantallas grandes de móvil */
        height: 180px;        /* Altura proporcional y atractiva */
        margin: 0 auto 12px auto;
    }
}

/* Responsive TABLET: Mostrar 3 elementos */
@media (min-width: 768px) and (max-width: 1023px) {
    .mc-carrusel-card {
        flex: 0 0 calc((100% - (20px * 2)) / 3);
    }
}

/* Responsive DESKTOP: Mostrar 4 elementos */
@media (min-width: 1024px) {
    .mc-carrusel-card {
        flex: 0 0 calc((100% - (20px * 3)) / 4);
    }
}