.mcs-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.mcs-main-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #2b2b2b;
    margin-bottom: 40px;
}

/* --- LÍNEA DE TIEMPO --- */
.mcs-timeline-nav {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 50px;
    padding: 0 10px;
}

.mcs-timeline-line {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #3f5229;
    z-index: 1;
}

.mcs-month-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    z-index: 2;
    flex: 1;
    text-align: center;
    user-select: none;
}

.mcs-month-item span {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.mcs-month-item.active span {
    color: #000;
    font-weight: 700;
    font-size: 1.05rem;
}

.mcs-dot {
    width: 10px;
    height: 10px;
    background-color: #3f5229;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mcs-month-item.active .mcs-dot {
    background-color: #fff;
    border: 3px solid #3f5229;
    transform: scale(1.3);
}

/* --- CONTENEDOR BASE GRID --- */
.mcs-grid-tours {
    display: grid;
    gap: 20px;
    margin-bottom: 50px;
    transition: all 0.3s ease;
}

/* ==========================================
   CORRECCIÓN INTEGRAL DE COLUMNAS (ESCRITORIO)
   ========================================== */
.mcs-columns-2 .mcs-grid-tours { grid-template-columns: repeat(2, 1fr) !important; }
.mcs-columns-3 .mcs-grid-tours { grid-template-columns: repeat(3, 1fr) !important; }
.mcs-columns-4 .mcs-grid-tours { grid-template-columns: repeat(4, 1fr) !important; }

/* Estilización adaptativa vertical para 3 y 4 columnas */
.mcs-columns-3 .mcs-tour-card, 
.mcs-columns-4 .mcs-tour-card {
    flex-direction: column !important; 
    align-items: center !important;
    text-align: center !important;
}

.mcs-columns-3 .mcs-card-content,
.mcs-columns-4 .mcs-card-content {
    margin-left: 0 !important;
    margin-top: 15px !important;
    align-items: center !important;
}

.mcs-columns-3 .mcs-btn,
.mcs-columns-4 .mcs-btn {
    align-self: center !important;
}

/* --- TARJETA BASE --- */
.mcs-tour-card {
    display: flex;
    background-color: #f8f6f0;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mcs-tour-card:hover {
    transform: translateY(-5px);
}

.mcs-card-img {
    flex-shrink: 0;
    display: block;
}

.mcs-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.mcs-card-content {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mcs-card-content h3 { margin: 0 0 5px 0; line-height: 1.2; }
.mcs-date { margin: 0 0 4px 0; }
.mcs-days { margin: 0 0 15px 0; }

.mcs-btn {
    align-self: flex-start;
    background-color: #3f5229;
    color: #fff;
    text-decoration: none;
    padding: 8px 22px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.mcs-btn:hover { background-color: #2b381b; }

/* --- FILTROS DE ABAJO --- */
.mcs-bottom-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.mcs-filter-btn {
    background: none;
    background-color: #fff;
    border: 2px solid #3f5229;
    color: #3f5229;
    padding: 10px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mcs-filter-btn.active, .mcs-filter-btn:hover {
    background-color: #3f5229;
    color: #fff;
}

/* --- MEDIA QUERIES (TABLETS) --- */
@media (max-width: 1024px) {
    .mcs-columns-tablet-2 .mcs-grid-tours { grid-template-columns: repeat(2, 1fr) !important; }
    .mcs-columns-tablet-3 .mcs-grid-tours { grid-template-columns: repeat(3, 1fr) !important; }
    .mcs-columns-tablet-4 .mcs-grid-tours { grid-template-columns: repeat(4, 1fr) !important; }
}

/* --- MEDIA QUERIES (MÓVILES) --- */
@media (max-width: 768px) {
    .mcs-grid-tours { 
        grid-template-columns: 1fr !important; 
    }
    .mcs-tour-card {
        flex-direction: row !important;
        text-align: left !important;
    }
    .mcs-card-content {
        margin-left: 20px !important;
        margin-top: 0 !important;
        align-items: flex-start !important;
    }
    .mcs-btn { align-self: flex-start !important; }
    .mcs-timeline-nav { overflow-x: auto; padding-bottom: 15px; gap: 20px; }
    .mcs-month-item { min-width: 85px; }
}